Home
last modified time | relevance | path

Searched refs:ci_off (Results 1 – 2 of 2) sorted by relevance

/linux/mm/
H A Dswap_state.c144 unsigned int ci_start, ci_off, ci_end; in __swap_cache_add_folio() local
153 ci_off = ci_start; in __swap_cache_add_folio()
156 VM_WARN_ON_ONCE(swp_tb_is_folio(__swap_table_get(ci, ci_off))); in __swap_cache_add_folio()
157 __swap_table_set(ci, ci_off, new_tb); in __swap_cache_add_folio()
158 } while (++ci_off < ci_end); in __swap_cache_add_folio()
186 unsigned int ci_start, ci_off, ci_end, offset; in swap_cache_add_folio() local
192 ci_off = ci_start; in swap_cache_add_folio()
200 old_tb = __swap_table_get(ci, ci_off); in swap_cache_add_folio()
212 } while (++ci_off < ci_end); in swap_cache_add_folio()
242 unsigned int ci_start, ci_off, ci_end; in __swap_cache_del_folio() local
[all …]
H A Dswapfile.c181 unsigned int ci_off = offset % SWAPFILE_CLUSTER; in swap_only_has_cache() local
187 swp_tb = __swap_table_get(ci, ci_off); in swap_only_has_cache()
191 ++ci_off; in swap_only_has_cache()
451 unsigned int ci_off; in swap_cluster_free_table() local
457 for (ci_off = 0; ci_off < SWAPFILE_CLUSTER; ci_off++) in swap_cluster_free_table()
458 VM_WARN_ON_ONCE(!swp_tb_is_null(__swap_table_get(ci, ci_off))); in swap_cluster_free_table()
851 unsigned int ci_off = start % SWAPFILE_CLUSTER; in swap_cluster_assert_table_empty() local
852 unsigned int ci_end = ci_off + nr; in swap_cluster_assert_table_empty()
857 swp_tb = __swap_table_get(ci, ci_off); in swap_cluster_assert_table_empty()
859 } while (++ci_off < ci_end); in swap_cluster_assert_table_empty()