efc_sm_post_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a struct efc_sm_ctx *, okay, we stan a typed pointer. 🫢
  • evt β€” the event you're posting. type is enum 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 a void *, 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