Home
last modified time | relevance | path

Searched refs:__swp_tb_get_count (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dswap_table.h181 static inline unsigned char __swp_tb_get_count(unsigned long swp_tb) in __swp_tb_get_count() function
190 return __swp_tb_get_count(swp_tb); in swp_tb_get_count()
H A Dswap_state.c156 __swap_table_set(ci, ci_off, pfn_to_swp_tb(pfn, __swp_tb_get_count(old_tb))); in __swap_cache_add_folio()
203 if (unlikely(!__swp_tb_get_count(old_tb))) { in swap_cache_add_folio()
257 count = __swp_tb_get_count(old_tb); in __swap_cache_del_folio()
276 if (!__swp_tb_get_count(__swap_table_get(ci, ci_off))) in __swap_cache_del_folio()
336 __swap_table_set(ci, ci_off, pfn_to_swp_tb(pfn, __swp_tb_get_count(old_tb))); in __swap_cache_replace_folio()
H A Dswapfile.c879 if (swp_tb_is_folio(swp_tb) && !__swp_tb_get_count(swp_tb)) { in cluster_scan_range()
1037 if (swp_tb_is_folio(swp_tb) && !__swp_tb_get_count(swp_tb)) { in swap_reclaim_full_clusters()
1508 count = __swp_tb_get_count(swp_tb); in __swap_cluster_put_entry()
1611 count = __swp_tb_get_count(swp_tb); in __swap_cluster_dup_entry()
1885 VM_WARN_ON(!swp_tb_is_shadow(old_tb) || __swp_tb_get_count(old_tb) > 1); in __swap_cluster_free_entries()
1981 if (__swp_tb_get_count(__swap_table_get(ci, ci_off))) { in folio_maybe_swapped()