raw_atomic_long_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ raw_atomic_long_set(9) β€” Kernel API Manual πŸ¦‹

✨ NAME ✨

raw_atomic_long_set β€” atomic set with relaxed ordering πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

void raw_atomic_long_set (atomic_long_t *v , long i );

🌸 ARGUMENTS 🌸

  • v β€” pointer to atomic_long_t. The thing getting set, bestie 🫢
  • i β€” long value to assign. The new main character ✨

πŸ’– DESCRIPTION πŸ’–

Okay so raw_atomic_long_set atomically sets v to i with relaxed ordering. That's the whole vibe: atomic, relaxed, no extra ordering drama πŸ’…

It is safe to use in noinstr code; prefer atomic_long_set elsewhere.

πŸ’€ Quick vibe check: noinstr code can use this, but outside of that the preference is atomic_long_set β€” noted, no cap.

πŸ‘‘ RETURN πŸ‘‘

Nothing. Literally Nothing. 🫢

🌈 SEE ALSO 🌈

Kernel file ./include/linux/atomic/atomic-long.h β€” go snoop there if you want the source tea πŸ“

That's the whole squad, iykyk πŸ‘‘


Bestie, this gem lives under ./include/linux/atomic in the source tree, dated October 2026 β€” and that's the raw_atomic_long_set(9) moment. Mwah πŸ’‹

πŸ“¦ where this page comes from