__mips_clear_bit(9)
π NAME π
hey bestie π welcome to __mips_clear_bit(9) from the Kernel API Manual β yes, section 9, we're literally clearing a bit in memory together, slay β¨
Okay so __mips_clear_bit clears a bit in memory. It gets called by clear_bit() if it cannot find a faster solution β like, it's the "bestie, I got you" fallback, no cap π«Ά
β¨ SYNOPSIS β¨
here's the signature, copy it exactly bestie π
void __mips_clear_bit (unsigned long nr , volatile unsigned long *addr );
π ARGUMENTS π
nrβ the bit to clear. Like, which bit we're clearing, periodt π―addrβ the address to start counting from. That's the starting point, bestie π
π¦ SEE ALSO π¦
Kernel file ./arch/mips/lib/bitops.c is the spot π, and the whole bitops squad is:
__mips_set_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)
iykyk π
mwah π that's the page! source/version footer vibes live at ./arch/mips/lib, dated October 2026, and this is __mips_clear_bit(9) signing off. bye bestie π«Ά
π¦ 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