Home
last modified time | relevance | path

Searched refs:MAXNODES (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/mem/include/
Dmem.h8 #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/
Dcpuset01.c51 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/
Dksm02.c66 unsigned long nmask[MAXNODES / BITS_PER_LONG] = { 0 }; in verify_ksm()
72 if (set_mempolicy(MPOL_BIND, nmask, MAXNODES) == -1) { in verify_ksm()
Dksm04.c67 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/
Dmem.c170 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()