eadm_subchannel_sch_event(9)
π
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:schis the subchannel,processis the non-zero-if-in-process-context flag, zero means handled sufficiently,-EAGAINmeans 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
- 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