GET_BTREE_PTR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to GET_BTREE_PTR(9) from the Kernel API Manual, bestie 🫢 β€” this one is literally β€œGet a pointer to struct bplus_header”. That’s the whole vibe. ✨

🌸 SYNOPSIS 🌸

GET_BTREE_PTR (ptr );

πŸŽ€ ARGUMENTS πŸŽ€

  • ptr β€” a pointer to struct bplus_header_fixed. That’s it, that’s the argument, no cap. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

It’s a wrapper around container_of β€” the way that it works is it gives you back a pointer to struct bplus_header when you hand it a pointer to struct bplus_header_fixed. lowkey iconic, highkey tiny. πŸ˜­πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./fs/hpfs/hpfs.h β€” yes bestie, go look at the kernel file, iykyk. 🌈

mwah πŸ’‹ this little page comes from ./fs/hpfs, dated October 2026, and it’s GET_BTREE_PTR(9) β€” periodt. πŸ’œ

πŸ“¦ where this page comes from