for_each_set_bitrange_from(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

for_each_set_bitrange_from β€” iterate over all set bit ranges [b; e).

okay so bestie, this is the Kernel API Manual page for for_each_set_bitrange_from(9), and it's literally here to help you walk those set bitranges. πŸ’…βœ¨


✨ SYNOPSIS ✨

for_each_set_bitrange_from (b , e , addr , size );

πŸŽ€ ARGUMENTS πŸŽ€

okay so here's the whole cast, and yes you need to know every one of them:

  • b β€” bit offset of start of current bitrange (first set bit); must be initialized. do not skip the initialized part, bestie 😭
  • e β€” bit offset of end of current bitrange (first unset bit).
  • addr β€” bitmap address to base the search on.
  • size β€” bitmap size in number of bits.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/linux/find.h 🌈 β€” and the whole related-functions group chat is:


mwah πŸ’‹ β€” this cute little sign-off is brought to you by source/version ./include/linux, dated October 2026, all about for_each_set_bitrange_from(9). periodt πŸ’…βœ¨

πŸ“¦ where this page comes from