raw_atomic_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay bestie, welcome to the raw_atomic_set(9) page from the Kernel API Manual πŸ’– This one is raw_atomic_set β€” literally atomic set with relaxed ordering. Periodt. 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

void raw_atomic_set (atomic_t *v , int i );

πŸŽ€ ARGUMENTS πŸŽ€

  • v β€” pointer to atomic_t πŸŽ€
  • i β€” int value to assign ✨

πŸ’… DESCRIPTION πŸ’…

Atomically sets v to i with relaxed ordering. That's it, that's the assignment moment. πŸ’…

It's safe to use in noinstr code; prefer atomic_set elsewhere. Lowkey important: this page is saying raw_atomic_set is the one for that noinstr situation, and atomic_set is the elsewhere girlie. 🫢

🌈 RETURN 🌈

Nothing. Not a single return value. The void is voiding. 😌

πŸ‘‘ SEE ALSO πŸ‘‘

Okay so here's the entire atomic family group chat β€” every single link from the original list, no cap, all still in order:

Source/version ./include/linux/atomic Β· date October 2026 Β· page raw_atomic_set(9). Mwah πŸ’‹βœ¨ Byeee, go be iconic with your atomics! 🫢

πŸ“¦ where this page comes from