sbitmap_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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:


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