Searched refs:nodemask_size (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/lib/ |
D | numa_helper.c | 62 unsigned long nodemask_size = max_node / 8; in get_nodemask_allnodes() local 67 memset(nodemask, 0, nodemask_size); in get_nodemask_allnodes() 78 unsigned long nodemask_size = max_node / 8; in filter_nodemask_mem() local 79 memset(nodemask, 0, nodemask_size); in filter_nodemask_mem() 175 unsigned long max_node, nodemask_size; in get_allowed_nodes_arr() local 181 nodemask_size = max_node / 8; in get_allowed_nodes_arr() 183 nodemask = malloc(nodemask_size); in get_allowed_nodes_arr()
|
/external/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages02.c | 105 unsigned long nodemask_size, max_node; in migrate_to_node() local 112 nodemask_size = max_node / 8; in migrate_to_node() 113 old_nodes = SAFE_MALLOC(NULL, nodemask_size); in migrate_to_node() 114 new_nodes = SAFE_MALLOC(NULL, nodemask_size); in migrate_to_node() 116 memset(old_nodes, 0, nodemask_size); in migrate_to_node() 117 memset(new_nodes, 0, nodemask_size); in migrate_to_node()
|