Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 - 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/mem/include/
H A Dmem.h22 #define BITS_PER_LONG (8 * sizeof(long)) macro
26 array[node / BITS_PER_LONG] |= 1UL << (node % BITS_PER_LONG); in set_node()
33 for (i = 0; i < MAXNODES / BITS_PER_LONG; i++) in clean_node()
/third_party/ltp/testcases/kernel/mce-test/hwpoison/kinclude/linux/
H A Dpercpu.h3 #define BITS_PER_LONG (sizeof(long)*8) macro
4 #define DECLARE_BITMAP(x,y) unsigned long x[((y) + BITS_PER_LONG - 1) / BITS_PER_LONG];
/third_party/ltp/testcases/kernel/mce-test/tsrc/kinclude/linux/
H A Dpercpu.h3 #define BITS_PER_LONG (sizeof(long)*8) macro
4 #define DECLARE_BITMAP(x,y) unsigned long x[((y) + BITS_PER_LONG - 1) / BITS_PER_LONG];
/third_party/eudev/src/udev/
H A Dudev-builtin-input_id.c38 #define BITS_PER_LONG (sizeof(unsigned long) * 8) macro
39 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
40 #define OFF(x) ((x)%BITS_PER_LONG)
42 #define LONG(x) ((x)/BITS_PER_LONG)
135 log_debug(text, i * BITS_PER_LONG, bitmask[i]); in get_cap_mask()
281 for (i = 0; i < BTN_MISC/BITS_PER_LONG; ++i) { in test_key()
283 log_debug("test_key: checking bit block %lu for any keys; found=%i", (unsigned long)i*BITS_PER_LONG, found > 0); in test_key()
/third_party/ltp/testcases/kernel/mem/ksm/
H A Dksm04.c64 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm()
H A Dksm02.c64 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm()
/third_party/ltp/testcases/kernel/mem/cpuset/
H A Dcpuset01.c51 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_cpuset()
/third_party/f2fs-tools/include/
H A Df2fs_fs.h573 #define BITS_PER_LONG 64 macro
575 #define BITS_PER_LONG 32 macro
578 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG))
579 #define BIT_WORD(nr) (nr / BITS_PER_LONG)
/third_party/ltp/testcases/kernel/mem/lib/
H A Dmem.c171 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in set_global_mempolicy()

Completed in 7 milliseconds