__ptr_clear_bit(9)
π __ptr_clear_bit(9) β Kernel API Manual π
okay so bestie, this page is from the Kernel API Manual, and it's literally about clearing a bit in a pointer's value. lowkey iconic, highkey specific. β¨
π NAME π
__ptr_clear_bit β clear bit in a pointer's value. That's the vibe: one chosen bit gets cleared inside a pointer's value. π«Ά
β¨ SYNOPSIS β¨
__ptr_clear_bit (nr , addr );
πΈ ARGUMENTS πΈ
nrβ the bit to clear. yes, that exact bit. π―addrβ the address of the pointer variable. exactly that. π
π¦ EXAMPLE π¦
void *p = foo; __ptr_clear_bit(bit, p);
that's the example. one line, main character energy, no notes. π
π SEE ALSO π
Kernel file ./include/linux/bitops.h, plus this whole squad of references: rol64(9), ror64(9), rol32(9), ror32(9), rol16(9), ror16(9), rol8(9), ror8(9), sign_extend32(9), sign_extend64(9), get_count_order_long(9), parity8(9), __ffs64(9), fns(9), assign_bit(9), __ptr_set_bit(9), __ptr_test_bit(9). go read the whole group chat, iykyk π
cute sign-off: this page lives in ./include/linux, and the date on it is October 2026. bye bestie, go clear that bit responsibly πβ¨
π¦ 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