Home
last modified time | relevance | path

Searched refs:num_node_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/include/linux/
Dnodemask.h436 static __always_inline int num_node_state(enum node_states state) in num_node_state() function
461 nr_online_nodes = num_node_state(N_ONLINE); in node_set_online()
467 nr_online_nodes = num_node_state(N_ONLINE); in node_set_offline()
485 static __always_inline int num_node_state(enum node_states state) in num_node_state() function
531 #define num_online_nodes() num_node_state(N_ONLINE)
532 #define num_possible_nodes() num_node_state(N_POSSIBLE)
/linux-6.12.1/mm/
Dmm_init.c646 if (num_node_state(N_MEMORY) == 1) in fixup_hashdist()
2281 atomic_set(&pgdat_init_n_undone, num_node_state(N_MEMORY)); in page_alloc_init_late()
Dhugetlb.c3290 .size = num_node_state(N_MEMORY), in gather_bootmem_prealloc()
3293 .max_threads = num_node_state(N_MEMORY), in gather_bootmem_prealloc()
3426 job.max_threads = num_node_state(N_MEMORY) * 2; in hugetlb_pages_alloc_boot()
3427 job.min_chunk = h->max_huge_pages / num_node_state(N_MEMORY) / 2; in hugetlb_pages_alloc_boot()