Lines Matching refs:avail_lists
679 plist_del(&p->avail_lists[nid], &swap_avail_heads[nid]); in __del_from_avail_list()
712 WARN_ON(!plist_node_empty(&p->avail_lists[nid])); in add_to_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()
1075 if (plist_node_empty(&si->avail_lists[node])) { in get_swap_pages()
1114 if (plist_node_empty(&next->avail_lists[node])) in get_swap_pages()
2310 p->avail_lists[i].prio = -p->prio; in setup_swap_info()
2313 p->avail_lists[i].prio = 1; in setup_swap_info()
2315 p->avail_lists[i].prio = -p->prio; in setup_swap_info()
2446 if (si->avail_lists[nid].prio != 1) in SYSCALL_DEFINE1()
2447 si->avail_lists[nid].prio--; in SYSCALL_DEFINE1()
2711 p = kvzalloc(struct_size(p, avail_lists, nr_node_ids), GFP_KERNEL); in alloc_swap_info()
2751 plist_node_init(&p->avail_lists[i], 0); in alloc_swap_info()
3657 avail_lists[nid]) { in __cgroup_throttle_swaprate()