sbitmap_show(9)
β¨ sbitmap_show β kernel API manual β¨
okay so bestie, you know how sbitmap_show(9) is the page? yeah. this is that. we're in the Kernel API Manual, and it's lowkey a little diagnostic icon. let's get into it π
πΈ NAME πΈ
sbitmap_show β dumps the info from a &struct sbitmap straight into a &struct seq_file. that's the whole job. she's a reporter, not a hero π
β SYNOPSIS β
void sbitmap_show (struct sbitmap *sb , struct seq_file *m );
returns nothing (it's void, she's just here to say things, not to give you a value), takes your bitmap, takes your seq_file. done. periodt π
π¦ ARGUMENTS π¦
sbβ the bitmap to show. this is the star of the show, the main character, the thing you're dumping πmβ thestruct seq_filethis gets written to. it's the notepad, she's the one holding the pen π«Ά
π DESCRIPTION π
so this whole thing is for debugging. that's the vibe check. it's not a stable public API you should build your whole lil architecture on, okay?
β οΈ heads up, bestie: the format may change at any time. no cap. so if you're parsing this output in a script and expecting it to stay the same foreverβ¦ π don't. it's giving "undefined behaviour but for text". it's for eyeballs, not for parsers π
π SEE ALSO π
the whole sbitmap cinematic universe, fr fr π§ β and it lives in the kernel file ./include/linux/sbitmap.h:
struct sbitmap_word(9)struct sbitmap(9)struct sbq_wait_state(9)struct sbitmap_queue(9)sbitmap_init_node(9)sbitmap_free(9)sbitmap_resize(9)sbitmap_get(9)sbitmap_any_bit_set(9)__sbitmap_for_each_set(9)sbitmap_for_each_set(9)sbitmap_weight(9)sbitmap_bitmap_show(9)sbitmap_queue_init_node(9)sbitmap_queue_free(9)sbitmap_queue_recalculate_wake_batch(9)sbitmap_queue_resize(9)__sbitmap_queue_get(9)__sbitmap_queue_get_batch(9)sbitmap_queue_get_shallow(9)sbitmap_queue_get(9)sbitmap_queue_min_shallow_depth(9)sbitmap_queue_clear(9)sbitmap_queue_clear_batch(9)sbq_wait_ptr(9)sbitmap_queue_wake_all(9)sbitmap_queue_wake_up(9)sbitmap_queue_show(9)
and that's the page!! π« this lil beauty came out of ./include/linux and it's dated October 2026. go debug something, bestie β you're gonna slay π₯π
π¦ 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