Home
last modified time | relevance | path

Searched refs:swap_cache_index (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/mm/
Dswap_state.c77 pgoff_t idx = swap_cache_index(entry); in get_shadow_from_swap_cache()
94 pgoff_t idx = swap_cache_index(entry); in add_to_swap_cache()
149 pgoff_t idx = swap_cache_index(entry); in __delete_from_swap_cache()
356 folio = filemap_get_folio(swap_address_space(entry), swap_cache_index(entry)); in swap_cache_get_folio()
426 index = swap_cache_index(swp); in filemap_get_incore_folio()
455 swap_cache_index(entry)); in __read_swap_cache_async()
Dswap.h46 static inline pgoff_t swap_cache_index(swp_entry_t entry) in swap_cache_index() function
123 static inline pgoff_t swap_cache_index(swp_entry_t entry) in swap_cache_index() function
Dmincore.c142 swap_cache_index(entry)); in mincore_pte_range()
Dswapfile.c193 folio = filemap_get_folio(address_space, swap_cache_index(entry)); in __try_to_reclaim_swap()
2441 folio = filemap_get_folio(swap_address_space(entry), swap_cache_index(entry)); in try_to_unuse()
3778 return swap_cache_index(folio->swap); in __folio_swap_cache_index()
Dmemcontrol-v1.c712 page = find_get_page(swap_address_space(ent), swap_cache_index(ent)); in mc_handle_swap_pte()
Dhuge_memory.c3193 offset = swap_cache_index(folio->swap); in __split_huge_page()
Dshmem.c1900 pgoff_t swap_index = swap_cache_index(entry); in shmem_replace_folio()