bitmap_from_arr32(9)
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 ofunsigned longs, the destination bitmap. this is where the bits are going, the main character destination πbufβ array ofu32(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:
__bitmap_shift_right(9)__bitmap_shift_left(9)bitmap_cut(9)bitmap_find_next_zero_area_off(9)bitmap_pos_to_ord(9)bitmap_remap(9)bitmap_bitremap(9)bitmap_onto(9)bitmap_fold(9)bitmap_to_arr32(9)bitmap_from_arr64(9)bitmap_to_arr64(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms