Searched refs:MAXNODES (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/mem/include/ |
D | mem.h | 8 #define MAXNODES 256 macro 10 #define MAXNODES 512 macro 28 for (i = 0; i < MAXNODES / BITS_PER_LONG; i++) in clean_node()
|
/external/ltp/testcases/kernel/mem/cpuset/ |
D | cpuset01.c | 51 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_cpuset() 63 if (nodes[i] >= MAXNODES) in test_cpuset() 67 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) in test_cpuset()
|
/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm02.c | 66 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm() 72 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
|
D | ksm04.c | 67 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm() 75 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
|
/external/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 170 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in set_global_mempolicy() 204 if (set_mempolicy(mempolicy, nmask, MAXNODES) == -1) in set_global_mempolicy() 532 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_ksm_merge_across_nodes() 563 ret = mbind(memory[i], length, MPOL_BIND, nmask, MAXNODES, 0); in test_ksm_merge_across_nodes()
|