Lines Matching defs:flag
152 int get_allowed_nodes_arr(int flag, int *num_nodes, int **nodes)
184 if ((flag & NH_MEMS) == NH_MEMS) {
189 if ((flag & NH_CPUS) == NH_CPUS)
215 int get_allowed_nodes(int flag, int count, ...)
223 ret = get_allowed_nodes_arr(flag, &num_nodes, &nodes);
244 static void print_node_info(int flag)
249 ret = get_allowed_nodes_arr(flag, &num_nodes, &allowed_nodes);
250 printf("nodes (flag=%d): ", flag);
273 * @flag: NH_MEMS and/or NH_CPUS
282 int is_numa(void (*cleanup_fn)(void), int flag, int min_nodes)
287 ret = get_allowed_nodes_arr(flag, &numa_nodes, NULL);