__mips_set_bit(9)
okay so bestie, welcome to the __mips_set_bit(9) page from the Kernel API Manual β this is lowkey iconic and it's giving "atomic bit energy" β¨π
πΈ NAME πΈ
__mips_set_bit β atomically set a bit in memory. set_bit() calls this if it cannot find a faster solution. no cap, it's the backup plan that still ate π
β¨ SYNOPSIS β¨
void __mips_set_bit (unsigned long nr , volatile unsigned long *addr );
π ARGUMENTS π
nrβ the bit to set. that's the bit getting chosen, bestie π¦addrβ the address to start counting from. this is where the counting starts, fr fr πΈ
π SEE ALSO π
Kernel file ./arch/mips/lib/bitops.c is the spot π β go hang with these icons:
__mips_clear_bit(9)__mips_change_bit(9)__mips_test_and_set_bit_lock(9)__mips_test_and_clear_bit(9)__mips_test_and_change_bit(9)
mwah π β source/version ./arch/mips/lib, dated October 2026, living under the __mips_set_bit(9) title. periodt. π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms