__mips_change_bit(9)
π __mips_change_bit(9) π
okay so this is a page straight out of the Kernel API Manual, bestie β welcome, come sit with me π«Ά
β¨ NAME β¨
__mips_change_bit β toggle a bit in memory, fr fr. This is what change_bit() calls when it literally cannot find a faster solution π like it tried, it really did, but no cap: this is the fallback.
π¦ SYNOPSIS π¦
void __mips_change_bit (unsigned long nr , volatile unsigned long *addr
);
that's it, that's the whole signature. two args, no drama π
π ARGUMENTS π
nrβ the bit you wanna change π like, which one. that one.addrβ the address to start counting from π§ your starting point, your main character address.
π SEE ALSO π
- kernel file
./arch/mips/lib/bitops.cπ (yes the whole file, go look, it's giving source of truth) __mips_set_bit(9)__mips_clear_bit(9)__mips_test_and_set_bit_lock(9)__mips_test_and_clear_bit(9)__mips_test_and_change_bit(9)
like the whole bitops friend group honestly, they all show up together π
lowkey a reminder: everything above is exactly what the page says β I'm just the messenger with better energy β¨
and that's the vibe check, bestie πΈ this one's from ./arch/mips/lib, dated October 2026 β mwah, slay, 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