Searched refs:num_node_state (Results 1 – 3 of 3) sorted by relevance
422 static __always_inline int num_node_state(enum node_states state) in num_node_state() function447 nr_online_nodes = num_node_state(N_ONLINE); in node_set_online()453 nr_online_nodes = num_node_state(N_ONLINE); in node_set_offline()471 static __always_inline int num_node_state(enum node_states state) in num_node_state() function505 #define num_online_nodes() num_node_state(N_ONLINE)506 #define num_possible_nodes() num_node_state(N_POSSIBLE)
662 if (num_node_state(N_MEMORY) == 1) in fixup_hashdist()2322 atomic_set(&pgdat_init_n_undone, num_node_state(N_MEMORY)); in page_alloc_init_late()
3405 .max_threads = num_node_state(N_MEMORY), in gather_bootmem_prealloc()