Searched refs:num_node_state (Results 1 – 3 of 3) sorted by relevance
442 static __always_inline int num_node_state(enum node_states state) in num_node_state() function467 nr_online_nodes = num_node_state(N_ONLINE); in node_set_online()473 nr_online_nodes = num_node_state(N_ONLINE); in node_set_offline()491 static __always_inline int num_node_state(enum node_states state) in num_node_state() function537 #define num_online_nodes() num_node_state(N_ONLINE)538 #define num_possible_nodes() num_node_state(N_POSSIBLE)
661 if (num_node_state(N_MEMORY) == 1) in fixup_hashdist()2385 atomic_set(&pgdat_init_n_undone, num_node_state(N_MEMORY)); in page_alloc_init_late()
3520 .max_threads = num_node_state(N_MEMORY), in gather_bootmem_prealloc()