sync_set_bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the sync_set_bit(9) page from the Kernel API Manual β€” and it is literally the atomically set a bit in memory function. πŸŽ€βœ¨

✨ SYNOPSIS ✨

void sync_set_bit (long nr , volatile unsigned long *addr );

πŸŽ€ ARGUMENTS πŸŽ€

  • nr β€” the bit to set. like, which bit is getting the glow-up ✨
  • addr β€” the address to start counting from. that's the starting point, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This function is atomic and may not be reordered. periodt. no cap. If you do not require the atomic guarantees, see __set_bit β€” that's the one for when you don't need the atomic vibe. πŸ’…

Heads up: nr may be almost arbitrarily large; this function is not restricted to acting on a single-word quantity. so yeah, it's not limited to one word, okay? πŸ¦‹

🌈 SEE ALSO 🌈


🫢 that's the whole page, bestie! source/version: ./arch/x86/include/asm Β· date: October 2026 Β· page: sync_set_bit(9) πŸ’…
πŸ“¦ where this page comes from