atomic64_dec_return_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… atomic64_dec_return_release(9) β€” Kernel API Manual ✨

πŸŽ€ NAME πŸŽ€

atomic64_dec_return_release β€” atomic decrement with release ordering


🌸 SYNOPSIS 🌸

s64 atomic64_dec_return_release (atomic64_t *v );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • v β€” pointer to atomic64_t

✨ DESCRIPTION ✨

okay so bestie, this one atomically updates v to (v - 1) with release ordering. That's the whole vibe: decrement it, atomically, and the ordering is release.

⚠️ Unsafe to use in noinstr code; use raw_atomic64_dec_return_release there. no cap, respect the noinstr rule πŸ’€

πŸ‘‘ RETURN πŸ‘‘

The updated value of v. periodt πŸ’…


πŸ’« SEE ALSO πŸ’«

Kernel file ./include/linux/atomic/atomic-instrumented.h is the home base, and the whole atomic extended family is here:


source/version: ./include/linux/atomic β€’ date: October 2026 β€’ page: atomic64_dec_return_release(9) β€” mwah πŸ’–βœ¨

πŸ“¦ where this page comes from