ENUM MHI_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum mhi_flags(9) β€” from the Kernel API Manual, bestie πŸŽ€

okay so picture this: it's section 9 of the Kernel API Manual, and we're talking about enum mhi_flags. That's the transfer-flags enum. That's it. That's the whole vibe. It's giving "small but mighty" and honestly? iconic. ✨


🌸 NAME 🌸

enum mhi_flags β€” Transfer flags. literally just the flags that get moved around during transfers, no cap 🫢


✨ SYNOPSIS ✨

enum mhi_flags {
    MHI_EOB ,
    MHI_EOT ,
    MHI_CHAIN

};

look at her. three little members, all caps, living her best life. not a single one of them has an assigned value in the source, and we are NOT going to invent one, okay? πŸ™ˆ


πŸ’– Constants πŸ’–

  • MHI_EOB β€” End of buffer for bulk transfer. that's the moment the buffer says "okay i'm done bestie, that's all the bulk data you're getting from me" πŸ’€
  • MHI_EOT β€” End of transfer. like the final curtain call, the transfer is OVER over, periodt 🎬
  • MHI_CHAIN β€” Linked transfer. this one's chained up with another transfer, main character energy, they come as a set πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

okay so this is the part where the manpage just. goes off. the whole friend group shows up. it's a group chat and everyone's in it πŸ’…

Kernel file ./include/linux/mhi.h β€” that's the home base, the mothership, the place where it all lives 🏠

and then the full squad, in this exact order because we do not disrespect the order:

like, that's forty-eight entries. FORTY-EIGHT. and yes i counted, because you deserve accuracy even when i'm being extra πŸ’œ

fr fr: if you're gonna go read any of these, start with the ./include/linux/mhi.h file β€” everything here is basically a footnote to it 🌈

and that's the whole page, bestie, no filler, no cap 🧚 source is ./include/linux, dated October 2026 β€” mwah, go slay your transfers πŸ’‹πŸ’–

πŸ“¦ where this page comes from