Searched refs:ci_off (Results 1 – 2 of 2) sorted by relevance
| /linux/mm/ |
| H A D | swap_state.c | 142 unsigned int ci_start, ci_off, ci_end; in swap_cache_add_folio() local 152 ci_off = ci_start; in swap_cache_add_folio() 155 old_tb = __swap_table_xchg(ci, ci_off, new_tb); in swap_cache_add_folio() 159 } while (++ci_off < ci_end); in swap_cache_add_folio() 190 unsigned int ci_start, ci_off, ci_end; in __swap_cache_del_folio() local 201 ci_off = ci_start; in __swap_cache_del_folio() 204 old_tb = __swap_table_xchg(ci, ci_off, new_tb); in __swap_cache_del_folio() 207 } while (++ci_off < ci_end); in __swap_cache_del_folio() 257 unsigned int ci_off = swp_cluster_offset(entry); in __swap_cache_replace_folio() local 258 unsigned int ci_end = ci_off + nr_pages; in __swap_cache_replace_folio() [all …]
|
| H A D | swapfile.c | 470 unsigned int ci_off; in swap_cluster_free_table() local 476 for (ci_off = 0; ci_off < SWAPFILE_CLUSTER; ci_off++) in swap_cluster_free_table() 477 VM_WARN_ON_ONCE(!swp_tb_is_null(__swap_table_get(ci, ci_off))); in swap_cluster_free_table() 854 unsigned int ci_off = start % SWAPFILE_CLUSTER; in swap_cluster_assert_table_empty() local 855 unsigned int ci_end = ci_off + nr; in swap_cluster_assert_table_empty() 860 swp_tb = __swap_table_get(ci, ci_off); in swap_cluster_assert_table_empty() 862 } while (++ci_off < ci_end); in swap_cluster_assert_table_empty()
|