raw_atomic_l...turn_relaxed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

raw_atomic_long_dec_return_relaxed β€” atomic decrement with relaxed ordering, bestie. This is your Kernel API Manual page for raw_atomic_long_dec_return_relaxed(9) (the header line squishes it to raw_atomic_l...turn_relaxed(9), which is so real of it). We're so back.

✨ SYNOPSIS ✨

long raw_atomic_long_dec_return_relaxed (atomic_long_t *v );

Copy-paste exactly, bestie β€” spaces and all. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • v β€” pointer to atomic_long_t. That's the atomic long thing getting decremented.

πŸ¦‹ DESCRIPTION πŸ¦‹

Atomically updates v to (v - 1) with relaxed ordering. No cap.

Safe to use in noinstr code; prefer atomic_long_dec_return_relaxed elsewhere. Like, noinstr is the VIP zone for this one, but everywhere else the regular one is the move.

🌸 RETURN 🌸

The updated value of v. That's the post-decrement number, fresh out the function. πŸ’…

πŸ’… SEE ALSO πŸ’…

Kernel file: ./include/linux/atomic/atomic-long.h.

Okay bye bestie πŸ’– β€” official footer energy: source/version ./include/linux/atomic, date October 2026, and the header shorthand raw_atomic_l...turn_relaxed(9). Slay.

πŸ“¦ where this page comes from