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 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() 1066 plist_for_each_entry_safe(si, next, &swap_avail_heads[node], avail_lists[node]) { in get_swap_pages() 1068 plist_requeue(&si->avail_lists[node], &swap_avail_heads[node]); in get_swap_pages() 3162 if (!swap_avail_heads) in SYSCALL_DEFINE2() 3814 plist_for_each_entry_safe(si, next, &swap_avail_heads[nid], in __cgroup_throttle_swaprate() 3829 swap_avail_heads = kmalloc_array(nr_node_ids, sizeof(struct plist_head), in swapfile_init() 3831 if (!swap_avail_heads) { in swapfile_init() 3837 plist_head_init(&swap_avail_heads[nid]); in swapfile_init()
|