Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dswapfile.c94 static struct plist_head *swap_avail_heads; variable
683 plist_del(&p->avail_lists[nid], &swap_avail_heads[nid]); in __del_from_avail_list()
717 plist_add(&p->avail_lists[nid], &swap_avail_heads[nid]); in add_to_avail_list()
1072 plist_for_each_entry_safe(si, next, &swap_avail_heads[node], avail_lists[node]) { in get_swap_pages()
1074 plist_requeue(&si->avail_lists[node], &swap_avail_heads[node]); in get_swap_pages()
3002 if (!swap_avail_heads) in SYSCALL_DEFINE2()
3650 plist_for_each_entry_safe(si, next, &swap_avail_heads[nid], in __cgroup_throttle_swaprate()
3665 swap_avail_heads = kmalloc_array(nr_node_ids, sizeof(struct plist_head), in swapfile_init()
3667 if (!swap_avail_heads) { in swapfile_init()
3673 plist_head_init(&swap_avail_heads[nid]); in swapfile_init()