sbitmap_get(9)
π NAME π
okay so welcome to the sbitmap_get(9) page from the Kernel API Manual β this one is literally sbitmap_get: try to allocate a free bit from a &struct sbitmap. Thatβs the whole name vibe, bestie. β¨
β¨ SYNOPSIS β¨
int sbitmap_get (struct sbitmap *sb );
π ARGUMENTS π
sbβ the bitmap youβre allocating from. Thatβs it. Thatβs the arg. π«Ά
πΈ DESCRIPTION πΈ
The tea: this operation provides acquire barrier semantics if it succeeds. No cap, thatβs the whole description. π
π₯ RETURN π₯
If itβs successful, you get a non-negative allocated bit number. Otherwise? -1. Boom. π
π SEE ALSO π
Kernel file ./include/linux/sbitmap.h, plus the whole icon crew:
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_any_bit_set(9)__sbitmap_for_each_set(9)sbitmap_for_each_set(9)sbitmap_show(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)
xoxo, this page is from source ./include/linux, dated October 2026, and itβs sbitmap_get(9) β catch you in the kernel, bestie ππ¦
π¦ 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