Searched refs:swap_avail_heads (Results 1 – 1 of 1) sorted by relevance
/mm/ |
D | swapfile.c | 89 static struct plist_head *swap_avail_heads; variable 663 plist_del(&p->avail_lists[nid], &swap_avail_heads[nid]); in __del_from_avail_list() 697 plist_add(&p->avail_lists[nid], &swap_avail_heads[nid]); in add_to_avail_list() 1019 plist_for_each_entry_safe(si, next, &swap_avail_heads[node], avail_lists[node]) { in get_swap_pages() 1021 plist_requeue(&si->avail_lists[node], &swap_avail_heads[node]); in get_swap_pages() 3127 if (!swap_avail_heads) in SYSCALL_DEFINE2() 3759 plist_for_each_entry_safe(si, next, &swap_avail_heads[node], in mem_cgroup_throttle_swaprate() 3775 swap_avail_heads = kmalloc_array(nr_node_ids, sizeof(struct plist_head), in swapfile_init() 3777 if (!swap_avail_heads) { in swapfile_init() 3783 plist_head_init(&swap_avail_heads[nid]); in swapfile_init()
|