raw_atomic64_and(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

raw_atomic64_and(9) β€” pulled straight from the Kernel API Manual, and yes bestie we’re getting into it πŸ’…

✨ NAME ✨

raw_atomic64_and β€” atomic bitwise AND with relaxed ordering

🌸 SYNOPSIS 🌸

void raw_atomic64_and (s64 i , atomic64_t *v );

πŸŽ€ ARGUMENTS πŸŽ€

  • i β€” an s64 value. That’s the value, bestie.
  • v β€” pointer to atomic64_t. That’s the atomic thing getting updated.

πŸ’« DESCRIPTION πŸ’«

Atomically updates v to (v & i) with relaxed ordering.

Safe to use in noinstr code; prefer atomic64_and elsewhere.

lowkey important: this one is the raw atomic64 version, and the ordering is relaxed. Also, noinstr code can use it; everywhere else, the page says prefer atomic64_and.

🫢 RETURN 🫢

Nothing. Not a value, not a vibe, literally nothing.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./include/linux/atomic/atomic-arch-fallback.h

okay bestie, here’s the whole extended atomic family β€” every single ref, no cap:


mwah πŸ’‹ β€” this page came from the ./include/linux/atomic source tree, dated October 2026, and raw_atomic64_and(9) is signing off. periodt πŸ¦‹

πŸ“¦ where this page comes from