DECLARE BITMAP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ declare bitmap(9) ✨

okay so bestie, this page is from the Kernel API Manual, section 9, and it is literally a one-macro moment. No cap: the whole page is the iconic declaration plus a SEE ALSO friend group 🫢.

🌸 NAME 🌸

declare bitmap β€” the DECLARE_BITMAP(name,bits) macro, living its best life in linux/types.h πŸ’….

🫢 DESCRIPTION 🫢

The DECLARE_BITMAP(name,bits) macro, in linux/types.h, can be used to declare an array named name of just enough unsigned long entries to contain all bit positions from 0 to bits - 1. That's the whole thing, and it's giving "exactly enough storage, no extra crumbs" ✨.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole see-also squad, in order:


okay bye bestie β€” sourced from ./include/linux, dated October 2026, and filed under declare bitmap(9) in the Kernel API Manual 🫢✨

πŸ“¦ where this page comes from