Searched refs:num_node_state (Results 1 – 3 of 3) sorted by relevance
423 static __always_inline int num_node_state(enum node_states state) in num_node_state() function 448 nr_online_nodes = num_node_state(N_ONLINE); in node_set_online() 454 nr_online_nodes = num_node_state(N_ONLINE); in node_set_offline() 472 static __always_inline int num_node_state(enum node_states state) in num_node_state() function 506 #define num_online_nodes() num_node_state(N_ONLINE)507 #define num_possible_nodes() num_node_state(N_POSSIBLE)
662 if (num_node_state(N_MEMORY) == 1) in fixup_hashdist() 2389 /* There will be num_node_state(N_MEMORY) threads */ in page_alloc_init_late() 2390 atomic_set(&pgdat_init_n_undone, num_node_state(N_MEMORY)); in page_alloc_init_late()
3475 .max_threads = num_node_state(N_MEMORY), in gather_bootmem_prealloc()