Home
last modified time | relevance | path

Searched refs:swp_cluster_offset (Results 1 – 6 of 6) sorted by relevance

/linux/mm/
H A Dswap_state.c100 swp_cluster_offset(entry)); in swap_cache_get_folio()
123 swp_cluster_offset(entry)); in swap_cache_has_folio()
140 swp_cluster_offset(entry)); in swap_cache_get_shadow()
180 ci_off = swp_cluster_offset(targ_entry); in __swap_cache_add_check()
212 unsigned int ci_off = swp_cluster_offset(entry), ci_end; in __swap_cache_do_add_folio()
273 ci_start = swp_cluster_offset(entry); in __swap_cache_do_del_folio()
367 unsigned int ci_off = swp_cluster_offset(entry); in __swap_cache_replace_folio()
390 ci_off = swp_cluster_offset(old->swap); in __swap_cache_replace_folio()
H A Dpage_io.c172 __swap_table_set_zero(ci, swp_cluster_offset(entry)); in swap_zeromap_folio_set()
195 __swap_table_clear_zero(ci, swp_cluster_offset(entry)); in swap_zeromap_folio_clear()
402 unsigned int ci_start = swp_cluster_offset(entry); in swap_zeromap_batch()
H A Dswap.h99 static inline unsigned int swp_cluster_offset(swp_entry_t entry) in swp_cluster_offset() function
H A Dswapfile.c1511 ret = swap_extend_table_alloc(si, ci, swp_cluster_offset(entry), gfp); in swap_retry_table_alloc()
1969 unsigned int ci_off = swp_cluster_offset(entry); in __swap_count()
2008 swp_tb = __swap_table_get(ci, swp_cluster_offset(entry)); in swp_swapcount()
2011 count = ci->extend_table[swp_cluster_offset(entry)]; in swp_swapcount()
2040 ci_off = swp_cluster_offset(entry); in folio_maybe_swapped()
2576 swp_cluster_offset(entry)); in unuse_pte_range()
H A Dmemcontrol-v1.c651 __swap_cgroup_set(ci, swp_cluster_offset(folio->swap), nr_entries, in __memcg1_swapout()
721 id = __swap_cgroup_clear(ci, swp_cluster_offset(folio->swap), in memcg1_swapin()
H A Dmemcontrol.c5770 __swap_cgroup_set(ci, swp_cluster_offset(folio->swap), nr_pages, in __mem_cgroup_try_charge_swap()