Home
last modified time | relevance | path

Searched refs:bitsperlong (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/tools/power/cpupower/utils/helpers/
Dbitmask.c9 #define bitsperlong (8 * sizeof(unsigned long)) macro
15 #define longsperbits(n) howmany(n, bitsperlong)
65 return (bmp->maskp[n/bitsperlong] >> (n % bitsperlong)) & 1; in _getbit()
75 bmp->maskp[n/bitsperlong] |= 1UL << (n % bitsperlong); in _setbit()
77 bmp->maskp[n/bitsperlong] &= in _setbit()
78 ~(1UL << (n % bitsperlong)); in _setbit()
/Linux-v6.6/include/asm-generic/
Dbitsperlong.h19 #error Inconsistent word size. Check asm/bitsperlong.h
/Linux-v6.6/tools/include/asm-generic/
Dbitsperlong.h14 #error Inconsistent word size. Check asm/bitsperlong.h
/Linux-v6.6/include/uapi/asm-generic/
DKbuild7 mandatory-y += bitsperlong.h