bitmap_from_arr64(9)
π bitmap_from_arr64 β Kernel API Manual, bestie edition β¨
okay so picture this: you've got a big ol' array of u64 bits and you need it to become a bitmap. that's it. that's the whole thing. this function is literally the glow-up pipeline for your bits, and she does not miss. π
β¨ NAME β¨
bitmap_from_arr64 β copy the contents of u64 array of bits to bitmap, no cap π«Ά
πΈ SYNOPSIS πΈ
void bitmap_from_arr64 (unsigned long *bitmap , const u64 *buf ,
unsigned int nbits );
three little params, one iconic little job. let's meet them π
π ARGUMENTS π
bitmapβ array ofunsigned longs, the destination bitmap. she's the one getting the makeover, bestie πbufβ array ofu64(in host byte order), the source bitmap. the original queen, being copied from β¨nbitsβ number of bits inbitmap. yes she's counting, and yes it matters π§
π¦ SEE ALSO π¦
okay so the whole friend group showed up, and honestly? obsessed. go read these too:
- Kernel file
./lib/bitmap.c bitmap introduction(9)__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_from_arr32(9)bitmap_to_arr32(9)bitmap_to_arr64(9)
lowkey the entire ./lib directory is main character energy and this function is just one verse in the group chat π«Ά
anyway that's the page, love u, go copy some bits responsibly π
β from ./lib, dated October 2026, still bitmap_from_arr64(9) in the header to this very day βππ
π¦ 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