Lines Matching refs:avail_lists
683 plist_del(&p->avail_lists[nid], &swap_avail_heads[nid]); in __del_from_avail_list()
716 WARN_ON(!plist_node_empty(&p->avail_lists[nid])); in add_to_avail_list()
717 plist_add(&p->avail_lists[nid], &swap_avail_heads[nid]); in add_to_avail_list()
1071 plist_for_each_entry_safe(si, next, &swap_avail_heads[node], avail_lists[node]) { in get_swap_pages()
1073 plist_requeue(&si->avail_lists[node], &swap_avail_heads[node]); in get_swap_pages()
1078 if (plist_node_empty(&si->avail_lists[node])) { in get_swap_pages()
1116 if (plist_node_empty(&next->avail_lists[node])) in get_swap_pages()
2311 p->avail_lists[i].prio = -p->prio; in setup_swap_info()
2314 p->avail_lists[i].prio = 1; in setup_swap_info()
2316 p->avail_lists[i].prio = -p->prio; in setup_swap_info()
2447 if (si->avail_lists[nid].prio != 1) in SYSCALL_DEFINE1()
2448 si->avail_lists[nid].prio--; in SYSCALL_DEFINE1()
2712 p = kvzalloc(struct_size(p, avail_lists, nr_node_ids), GFP_KERNEL); in alloc_swap_info()
2752 plist_node_init(&p->avail_lists[i], 0); in alloc_swap_info()
3658 avail_lists[nid]) { in __cgroup_throttle_swaprate()