Home
last modified time | relevance | path

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

/linux-5.19.10/mm/
Dswapfile.c90 static struct plist_head *swap_avail_heads; variable
679 plist_del(&p->avail_lists[nid], &swap_avail_heads[nid]); in __del_from_avail_list()
713 plist_add(&p->avail_lists[nid], &swap_avail_heads[nid]); in add_to_avail_list()
1068 plist_for_each_entry_safe(si, next, &swap_avail_heads[node], avail_lists[node]) { in get_swap_pages()
1070 plist_requeue(&si->avail_lists[node], &swap_avail_heads[node]); in get_swap_pages()
3008 if (!swap_avail_heads) in SYSCALL_DEFINE2()
3656 plist_for_each_entry_safe(si, next, &swap_avail_heads[nid], in __cgroup_throttle_swaprate()
3671 swap_avail_heads = kmalloc_array(nr_node_ids, sizeof(struct plist_head), in swapfile_init()
3673 if (!swap_avail_heads) { in swapfile_init()
3679 plist_head_init(&swap_avail_heads[nid]); in swapfile_init()