eadm_subchannel_sch_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… eadm_subchannel_sch_event β€” the Kernel API Manual tea, bestie 🫢

okay so this page lives in the Kernel API Manual (that's the manual name, clocked it ✨) and it's all about one little function that handles subchannel events. let me put you on. πŸ¦‹


🌸 NAME 🌸

eadm_subchannel_sch_event β€” literally processes a subchannel event. that's it, that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

int eadm_subchannel_sch_event (struct subchannel *sch , int process );

that's the whole signature, no cap β€” don't go changing any of it. πŸ‘‘


πŸ’– ARGUMENTS πŸ’–

  • sch β€” the subchannel. like, the actual subchannel struct. that's the whole description, she's short but she's iconic. πŸ’…
  • process β€” non-zero if the function is called in process context. so if it's zero, you're not in process context, and that matters, iykyk. 🫢

πŸ”₯ DESCRIPTION πŸ”₯

so an unspecified event occurred for this subchannel. yep, unspecified β€” the page isn't gonna tell you which one, that's above our pay grade. πŸ™ˆ what you do is adjust the data according to the current operational state of the subchannel. like, current state, current you, adjust accordingly. that's the assignment. πŸ’œ

return zero when the event has been handled sufficiently. πŸŽ€

return -EAGAIN when this function should be called again in process context. not me having to come back for round two, but okay. πŸ”


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/s390/cio/eadm_sch.c β€” go read her, she's the main character energy behind all of this. 🌈


lowkey reminder bestie: sch is the subchannel, process is the non-zero-if-in-process-context flag, zero means handled sufficiently, -EAGAIN means call me again in process context. fr fr, that's the whole tea. πŸ“

and that's a wrap on <pink>September</pink>... jk, it's October 2026 πŸŽ€, coming to you straight from ./drivers/s390/cio in the Kernel API Manual β€” slay, ate, periodt. πŸ’…βœ¨πŸ§š

πŸ“¦ where this page comes from