find_last_bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… find_last_bit(9) β€” kernel API manual, bestie edition πŸŽ€

okay so this is a page from the Kernel API Manual, and it's about find_last_bit, which is honestly such a vibe. let's get into it ✨


🌸 NAME 🌸

find_last_bit β€” find the last set bit in a memory region πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned long find_last_bit (const unsigned long *addr , unsigned long size );

πŸ“ ARGUMENTS πŸ“

  • addr β€” the address to start the search at πŸ‘€ like, this is where you're looking, bestie
  • size β€” the number of bits to search πŸ”’ that's your search radius, no cap

✨ DESCRIPTION ✨

Returns the bit number of the last set bit, or size. periodt πŸ’…

that's it, that's the whole thing. it gives exactly what it says on the tin β€” no plot twists, no hidden lore. 🫢


🌈 SEE ALSO 🌈

okay so this is the friend group, the whole squad, the Kernel file ./include/linux/find.h crew β€” literally all of them live in ./include/linux/find.h, iykyk:

like, twenty-two whole icons. main character energy from every single one of them πŸ‘‘πŸ”₯


🧚 sign-off 🧚

this little masterpiece lives in ./include/linux, and it's dated October 2026 β€” yes, from the future, slay πŸ’œ bye bestie, go find those bits πŸ¦‹βœ¨

πŸ“¦ where this page comes from