bit_map_string_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– bit_map_string_get(9) πŸ’–

Okay so welcome to the Kernel API Manual, bestie β€” today’s main character is bit_map_string_get, and it’s literally here to find and set a bit string in a bit map. Slay.


✨ NAME ✨

bit_map_string_get β€” find and set a bit string in bit map.


🌸 SYNOPSIS 🌸

int bit_map_string_get (struct bit_map *t , int len , int align );

πŸŽ€ ARGUMENTS πŸŽ€

  • t β€” the bit map. That’s the vibe.
  • len β€” requested string length. How much string are we asking for, bestie?
  • align β€” requested alignment. Gotta line it up cute.

πŸ¦‹ DESCRIPTION πŸ¦‹

It returns the offset in the map, or -1 if out of space. Periodt.

⚠️ Not safe to call from an interrupt β€” it uses spin_lock. Like, do not try that, fr fr. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./arch/sparc/lib/bitext.c β€” the receipts are right there, iykyk.

Stay iconic out there in ./arch/sparc/lib, October 2026 edition πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from