raw_atomic64..._add_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 raw_atomic64..._add_release(9) β€” Kernel API Manual

Bestie, welcome to the Kernel API Manual page for raw_atomic64_fetch_add_release πŸ’…βœ¨ (the header shows it as raw_atomic64..._add_release(9), iykyk).

🌸 NAME

raw_atomic64_fetch_add_release β€” atomic add with release ordering, periodt.

✨ SYNOPSIS

s64 raw_atomic64_fetch_add_release (s64 i , atomic64_t *v );

πŸŽ€ ARGUMENTS

  • i β€” the s64 value to add. literally the amount going in πŸ“
  • v β€” pointer to atomic64_t. this is the atomic bestie getting updated πŸ’–

πŸ¦‹ DESCRIPTION

Atomically updates v to (v + i) with release ordering. no cap, it's atomic ✨

Safe to use in noinstr code; prefer atomic64_fetch_add_release elsewhere. okay so like, use this raw one for noinstr, otherwise the non-raw one is the move 🫢.

πŸ’– RETURN

The original value of v. yes bestie, it gives you the old value back β€” main character energy πŸ‘‘

🌈 SEE ALSO

Kernel file: ./include/linux/atomic/atomic-arch-fallback.h

the whole atomic extended universe, all linked, no skips:


mwah πŸ’‹ this page lives in ./include/linux/atomic, dated October 2026, and it's the raw_atomic64..._add_release(9) manual β€” bye bestie! 🫢

πŸ“¦ where this page comes from