Lines Matching refs:i
73 unsigned int i, j, nr; in total_swapcache_pages() local
78 for (i = 0; i < MAX_SWAPFILES; i++) { in total_swapcache_pages()
79 swp_entry_t entry = swp_entry(i, 1); in total_swapcache_pages()
88 nr = nr_swapper_spaces[i]; in total_swapcache_pages()
89 spaces = swapper_spaces[i]; in total_swapcache_pages()
135 unsigned long i, nr = thp_nr_pages(page); in add_to_swap_cache() local
152 for (i = 0; i < nr; i++) { in add_to_swap_cache()
153 VM_BUG_ON_PAGE(xas.xa_index != idx + i, page); in add_to_swap_cache()
160 set_page_private(page + i, entry.val + i); in add_to_swap_cache()
188 int i, nr = thp_nr_pages(page); in __delete_from_swap_cache() local
196 for (i = 0; i < nr; i++) { in __delete_from_swap_cache()
199 set_page_private(page + i, 0); in __delete_from_swap_cache()
351 int i; in free_pages_and_swap_cache() local
354 for (i = 0; i < nr; i++) in free_pages_and_swap_cache()
355 free_swap_cache(pagep[i]); in free_pages_and_swap_cache()
715 unsigned int i, nr; in init_swap_address_space() local
721 for (i = 0; i < nr; i++) { in init_swap_address_space()
722 space = spaces + i; in init_swap_address_space()
845 unsigned int i; in swap_vma_readahead() local
854 for (i = 0, pte = ra_info.ptes; i < ra_info.nr_pte; in swap_vma_readahead()
855 i++, pte++) { in swap_vma_readahead()
870 if (i != ra_info.offset) { in swap_vma_readahead()