efc_sm_post_event(9)
β¨ efc_sm_post_event(9) β¨
okay so bestie, welcome to the Kernel API Manual β this is efc_sm_post_event, and honestly? she's a little icon. π
π NAME π
efc_sm_post_event β post an event to a context. that's it, that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
int efc_sm_post_event (struct efc_sm_ctx *ctx , enum efc_sm_event evt ,
void *data );
like, look at her signature. int coming back at you, three little args going in. main character energy fr fr. π
π ARGUMENTS π
ctxβ the state machine context. this is the setting, the scene, the where. it's astruct efc_sm_ctx *, okay, we stan a typed pointer. π«Άevtβ the event you're posting. type isenum efc_sm_event, so it's one of a known little family of events β no chaos allowed. πdataβ event-specific data, if any. and yes bestie, "if any" is doing a lot of work here β it's avoid *, so whatever that event needs to know, that's where it goes. literally. π
β SEE ALSO β
- Kernel file
./drivers/scsi/elx/libefc/efc_sm.cβ go read the source, iykyk πβ¨
no cap, that's the whole page. short and slay. don't go inventing extra options, there aren't any. π
okay so that's a wrap, bestie πΈπ¦ this one's from ./drivers/scsi/elx/libefc and it's dated October 2026 β periodt, go post an event. π
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms