raw_atomic64_or(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

raw_atomic64_or β€” atomic bitwise OR with relaxed ordering

Okay so this is raw_atomic64_or(9), straight from the Kernel API Manual, and it’s giving β€œtiny atomic helper with main character energy.” ✨


✨ SYNOPSIS ✨

void raw_atomic64_or (s64 i , atomic64_t *v );

πŸŽ€ ARGUMENTS πŸŽ€

  • i β€” an s64 value. That’s the thing getting OR’d in, bestie.
  • v β€” pointer to atomic64_t. This is the atomic value being updated.

🌸 DESCRIPTION 🌸

Atomically updates v to (v | i) with relaxed ordering. No cap. πŸ’…

Safe to use in noinstr code; prefer atomic64_or elsewhere. That’s the tea. πŸ«–

πŸ¦‹ RETURN πŸ¦‹

Nothing. Not a value, not a status, literally nothing gets returned. 😭

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/linux/atomic/atomic-arch-fallback.h, plus the whole iconic friend group:


Cute little sign-off, bestie: source/version is ./include/linux/atomic, date is October 2026, and this whole page is serving Kernel API Manual realness. πŸŽ€βœ¨

πŸ“¦ where this page comes from