bootflag_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ bootflag_store(9) ✨

aka the sysfs setter that lives in the libertas mesh driver πŸ¦‹

okay bestie, so this page is from the Kernel API Manual and it's all about bootflag_store β€” yes that's a kernel function name, no we're not scared of it πŸ’…


🌸 NAME 🌸

bootflag_store β€” the set function for the sysfs attribute bootflag. that's it, that's the whole vibe. it sets the thing. slay.


πŸŽ€ SYNOPSIS πŸŽ€

ssize_t bootflag_store (struct device *dev , struct device_attribute
*attr , const char *buf , size_t count );

like, literally copy that exactly into your brain kthx 🫢 it returns a ssize_t, takes four args, and we're gonna meet every single one of them right now ⬇️


πŸ’– ARGUMENTS πŸ’–

  • dev β€” the struct device. the device in question. the main character, honestly πŸ‘‘
  • attr β€” device attributes. yes plural vibes, it's the attribute situation πŸŽ€
  • buf β€” the buffer that contains the new attribute value. this is where the new value is living rn πŸ“
  • count β€” the size of buffer. how big buf is. gotta know the size bestie, always πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

okay this is the friend group and honestly it's a big one, so buckle up 🌈

like look at all those _show/_store pairs β€” it's giving matching friendship bracelets fr fr πŸ˜­πŸ’–

ngl, there's not a ton of prose on this page β€” it's mostly a signature and a friend list. but every single name above is real and exact, so don't go renaming any of them, iykyk 🌸

and that's the whole page bestie!! this one's from the Kernel API Manual for the file ./drivers/net/wireless/marvell... and it's dated October 2026 β€” periodt πŸ’…βœ¨ πŸŽ€

πŸ“¦ where this page comes from