Searched refs:swp_cluster_offset (Results 1 – 6 of 6) sorted by relevance
| /linux/mm/ |
| H A D | swap_state.c | 100 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 D | page_io.c | 172 __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 D | swap.h | 99 static inline unsigned int swp_cluster_offset(swp_entry_t entry) in swp_cluster_offset() function
|
| H A D | swapfile.c | 1511 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 D | memcontrol-v1.c | 651 __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 D | memcontrol.c | 5770 __swap_cgroup_set(ci, swp_cluster_offset(folio->swap), nr_pages, in __mem_cgroup_try_charge_swap()
|