Home
last modified time | relevance | path

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

/linux/tools/power/cpupower/utils/helpers/
H A 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/include/asm-generic/
H A Dbitsperlong.h19 #error Inconsistent word size. Check asm/bitsperlong.h
/linux/tools/include/asm-generic/
H A Dbitsperlong.h14 #error Inconsistent word size. Check asm/bitsperlong.h
/linux/include/uapi/asm-generic/
H A DKbuild7 mandatory-y += bitsperlong.h