Searched refs:MAXNODES (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/mem/include/ |
D | mem.h | 7 #define MAXNODES 256 macro 9 #define MAXNODES 512 macro 27 for (i = 0; i < MAXNODES / BITS_PER_LONG; i++) in clean_node()
|
/external/ltp/testcases/kernel/mem/cpuset/ |
D | cpuset01.c | 92 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in testcpuset() 106 if (nodes[i] >= MAXNODES) in testcpuset() 110 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) in testcpuset()
|
/external/ltp/testcases/kernel/mem/ksm/ |
D | ksm02.c | 90 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in main() 104 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in main()
|
D | ksm04.c | 90 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in main() 106 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in main()
|
/external/ltp/testcases/kernel/mem/lib/ |
D | mem.c | 174 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in set_global_mempolicy() 209 if (set_mempolicy(mempolicy, nmask, MAXNODES) == -1) in set_global_mempolicy() 584 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in test_ksm_merge_across_nodes() 618 ret = mbind(memory[i], length, MPOL_BIND, nmask, MAXNODES, 0); in test_ksm_merge_across_nodes()
|