raw_atomic_l...turn_acquire(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Kernel API Manual, bestie! This page is all about raw_atomic_long_dec_return_acquire(9) β€” atomic decrement with acquire ordering πŸ’…

✨ SYNOPSIS ✨

long raw_atomic_long_dec_return_acquire (atomic_long_t *v );

🌸 ARGUMENTS 🌸

  • v β€” pointer to atomic_long_t; it's the atomic long you're handing over 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea: it atomically updates v to (v - 1) with acquire ordering. Literally decrement plus acquire, no cap ✨

It's safe to use in noinstr code; outside of that, prefer atomic_long_dec_return_acquire πŸ’–

πŸ’– RETURN πŸ’–

The updated value of v β€” that's the whole return, bestie πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/linux/atomic/atomic-long.h πŸ’€


Okay bestie, that's the whole page! Source/version spot: ./include/linux/atomic; date: October 2026; footer title: raw_atomic_l...turn_acquire(9). Bye πŸ’…βœ¨

πŸ“¦ where this page comes from