raw_atomic_fetch_or_release(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is the raw_atomic_fetch_or_release(9) page from the Kernel API Manual β€” the one and only atomic bitwise OR with release ordering. iconic. πŸ’…

✨ SYNOPSIS ✨

int raw_atomic_fetch_or_release (int i , atomic_t *v );

πŸŽ€ ARGUMENTS πŸŽ€

  • i β€” an int value. 🫢
  • v β€” pointer to atomic_t. πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

Atomically updates v to (v | i) with release ordering. ✨

Safe to use in noinstr code; but elsewhere, prefer atomic_fetch_or_release β€” fr fr. πŸ‘‘

πŸ¦‹ RETURN πŸ¦‹

You get the original value of v back β€” slay. πŸ’–

🌈 SEE ALSO 🌈

Kernel file: ./include/linux/atomic/atomic-arch-fallback.h. the whole atomic group chat pulls up:


mwah πŸ’– source/version slot: ./include/linux/atomic; date: October 2026; page: raw_atomic_fetch_or_release(9) β€” periodt. πŸŽ€

πŸ“¦ where this page comes from