Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 7 of 7) sorted by relevance

/third_party/ltp/testcases/kernel/mem/include/
Dmem.h23 #define BITS_PER_LONG (8 * sizeof(long)) macro
27 array[node / BITS_PER_LONG] |= 1UL << (node % BITS_PER_LONG); in set_node()
34 for (i = 0; i < MAXNODES / BITS_PER_LONG; i++) in clean_node()
/third_party/ltp/testcases/kernel/mce-test/tsrc/kinclude/linux/
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/mem/ksm/
Dksm04.c66 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm()
Dksm02.c67 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm()
/third_party/ltp/testcases/kernel/mem/cpuset/
Dcpuset01.c53 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_cpuset()
/third_party/f2fs-tools/include/
Df2fs_fs.h569 #define BITS_PER_LONG 64 macro
571 #define BITS_PER_LONG 32 macro
574 #define BIT_MASK(nr) (1 << (nr % BITS_PER_LONG))
575 #define BIT_WORD(nr) (nr / BITS_PER_LONG)
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c173 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in set_global_mempolicy()
531 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_ksm_merge_across_nodes()