Searched refs:num_node_state (Results 1 – 3 of 3) sorted by relevance
430 static __always_inline int num_node_state(enum node_states state) in num_node_state() function452 nr_online_nodes = num_node_state(N_ONLINE); in node_set_online()458 nr_online_nodes = num_node_state(N_ONLINE); in node_set_offline()476 static __always_inline int num_node_state(enum node_states state) in num_node_state() function508 #define num_online_nodes() num_node_state(N_ONLINE)509 #define num_possible_nodes() num_node_state(N_POSSIBLE)
669 if (num_node_state(N_MEMORY) == 1) in fixup_hashdist()2269 atomic_set(&pgdat_init_n_undone, num_node_state(N_MEMORY)); in page_alloc_init_late()
3365 .max_threads = num_node_state(N_MEMORY), in gather_bootmem_prealloc()