bitmap_from_arr32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to the bitmap_from_arr32(9) page from the Kernel API Manual, bestie πŸ’– this is your group-chat cheat sheet for copying bits from a u32 array into a bitmap. no cap, it's giving low-level but make it cute ✨

🌸 NAME 🌸

bitmap_from_arr32 β€” copy the contents of u32 array of bits to bitmap. that's the whole main character mission: bits go from the u32 side to the bitmap side, and we're obsessed πŸ’…

✨ SYNOPSIS ✨

here's the exact signature, don't @ me:

void bitmap_from_arr32 (unsigned long *bitmap , const u32 *buf ,
       unsigned int nbits );

πŸŽ€ ARGUMENTS πŸŽ€

three little besties walk into the function:

  • bitmap β€” array of unsigned longs, the destination bitmap. this is where the bits are going, the main character destination πŸ‘‘
  • buf β€” array of u32 (in host byte order), the source bitmap. host byte order is literally right there, bestie 🫢
  • nbits β€” number of bits in bitmap. yes, that many bits, no more no less πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

go read the Kernel file ./lib/bitmap.c bitmap introduction(9) and then these other icons, fr fr:


byeee bestie, this page's source/version is ./lib, it's dated October 2026, and the manual page is bitmap_from_arr32(9) β€” mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from