Lines Matching refs:next
191 lh = se->list.next; in discard_swap_cluster()
449 cluster->next = cluster_next(&cluster->index) * in scan_swap_map_try_ssd_cluster()
469 tmp = cluster->next; in scan_swap_map_try_ssd_cluster()
482 cluster->next = tmp + 1; in scan_swap_map_try_ssd_cluster()
641 struct swap_info_struct *si, *next; in get_swap_page() local
651 plist_for_each_entry_safe(si, next, &swap_avail_head, avail_list) { in get_swap_page()
692 if (plist_node_empty(&next->avail_list)) in get_swap_page()
906 page = list_entry(page->lru.next, struct page, lru); in swp_swapcount()
1230 unsigned long next; in unuse_pmd_range() local
1235 next = pmd_addr_end(addr, end); in unuse_pmd_range()
1238 ret = unuse_pte_range(vma, pmd, addr, next, entry, page); in unuse_pmd_range()
1241 } while (pmd++, addr = next, addr != end); in unuse_pmd_range()
1250 unsigned long next; in unuse_pud_range() local
1255 next = pud_addr_end(addr, end); in unuse_pud_range()
1258 ret = unuse_pmd_range(vma, pud, addr, next, entry, page); in unuse_pud_range()
1261 } while (pud++, addr = next, addr != end); in unuse_pud_range()
1269 unsigned long addr, end, next; in unuse_vma() local
1285 next = pgd_addr_end(addr, end); in unuse_vma()
1288 ret = unuse_pud_range(vma, pgd, addr, next, entry, page); in unuse_vma()
1291 } while (pgd++, addr = next, addr != end); in unuse_vma()
1493 (p = p->next) != &start_mm->mmlist) { in try_to_unuse()
1603 struct list_head *p, *next; in drain_mmlist() local
1610 list_for_each_safe(p, next, &init_mm.mmlist) in drain_mmlist()
1642 lh = se->list.next; in map_swap_entry()
1667 se = list_entry(sis->first_swap_extent.list.next, in destroy_swap_extents()
2090 .next = swap_next,
2900 page = list_entry(head->lru.next, struct page, lru); in swap_count_continued()
2912 page = list_entry(page->lru.next, struct page, lru); in swap_count_continued()
2918 page = list_entry(page->lru.next, struct page, lru); in swap_count_continued()
2942 page = list_entry(page->lru.next, struct page, lru); in swap_count_continued()
2975 struct list_head *this, *next; in free_swap_count_continuations() local
2976 list_for_each_safe(this, next, &head->lru) { in free_swap_count_continuations()