Searched refs:nodemask_size (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages03.c | 59 unsigned long nodemask_size; in setup() local 73 nodemask_size = max_node / 8; in setup() 74 new_nodes[0] = SAFE_MALLOC(nodemask_size); in setup() 75 new_nodes[1] = SAFE_MALLOC(nodemask_size); in setup() 76 memset(new_nodes[0], 0, nodemask_size); in setup() 77 memset(new_nodes[1], 0, nodemask_size); in setup()
|
D | migrate_pages02.c | 95 unsigned long nodemask_size, max_node; in migrate_to_node() local 102 nodemask_size = max_node / 8; in migrate_to_node() 103 old_nodes = SAFE_MALLOC(nodemask_size); in migrate_to_node() 104 new_nodes = SAFE_MALLOC(nodemask_size); in migrate_to_node() 106 memset(old_nodes, 0, nodemask_size); in migrate_to_node() 107 memset(new_nodes, 0, nodemask_size); in migrate_to_node()
|
/external/ltp/testcases/kernel/lib/ |
D | numa_helper.c | 51 unsigned long nodemask_size = max_node / 8; in get_nodemask_allnodes() local 56 memset(nodemask, 0, nodemask_size); in get_nodemask_allnodes() 67 unsigned long nodemask_size = max_node / 8; in filter_nodemask_mem() local 68 memset(nodemask, 0, nodemask_size); in filter_nodemask_mem() 164 unsigned long max_node, nodemask_size; in get_allowed_nodes_arr() local 170 nodemask_size = max_node / 8; in get_allowed_nodes_arr() 172 nodemask = malloc(nodemask_size); in get_allowed_nodes_arr()
|