raw_atomic_f..._add_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

This is raw_atomic_f..._add_release(9) from the Kernel API Manual, bestie β€” and the main character is raw_atomic_fetch_add_release, aka atomic add with release ordering. iconic ✨

✨ SYNOPSIS ✨

int raw_atomic_fetch_add_release (int i , atomic_t *v );

πŸŽ€ ARGUMENTS πŸŽ€

  • i β€” int value to add. simple, numeric, cute πŸ’…
  • v β€” pointer to atomic_t. yes, the atomic one 🫢

🌸 DESCRIPTION 🌸

okay so picture this: raw_atomic_fetch_add_release atomically updates v to (v + i) with release ordering. that's the whole plot, no cap ✨

It’s safe to use in noinstr code; prefer atomic_fetch_add_release elsewhere. fr fr, take the note 😌

πŸ¦‹ RETURN πŸ¦‹

The original value of v. like it hands you the before pic, not the after πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, the whole roster pulled up. every single reference, no skips 🫢


okay that’s the page! source/version: ./include/linux/atomic β€’ date: October 2026 β€’ page: raw_atomic_f..._add_release(9) β€” bye bestie, mwah πŸ’‹

πŸ“¦ where this page comes from