Lines Matching refs:lcn
79 unsigned long lcn; member
107 unsigned long lcn) in legacy_load_cluster_from_disk() argument
114 lcn * sizeof(struct z_erofs_vle_decompressed_index); in legacy_load_cluster_from_disk()
123 m->lcn = lcn; in legacy_load_cluster_from_disk()
224 unsigned long lcn) in compacted_load_cluster_from_disk() argument
240 if (lcn >= totalidx) in compacted_load_cluster_from_disk()
243 m->lcn = lcn; in compacted_load_cluster_from_disk()
255 if (lcn < compacted_4b_initial) { in compacted_load_cluster_from_disk()
260 lcn -= compacted_4b_initial; in compacted_load_cluster_from_disk()
262 if (lcn < compacted_2b) { in compacted_load_cluster_from_disk()
267 lcn -= compacted_2b; in compacted_load_cluster_from_disk()
270 pos += lcn * (1 << amortizedshift); in compacted_load_cluster_from_disk()
278 unsigned int lcn) in z_erofs_load_cluster_from_disk() argument
283 return legacy_load_cluster_from_disk(m, lcn); in z_erofs_load_cluster_from_disk()
286 return compacted_load_cluster_from_disk(m, lcn); in z_erofs_load_cluster_from_disk()
297 unsigned long lcn = m->lcn; in z_erofs_extent_lookback() local
300 if (lcn < lookback_distance) { in z_erofs_extent_lookback()
308 lcn -= lookback_distance; in z_erofs_extent_lookback()
309 err = z_erofs_load_cluster_from_disk(m, lcn); in z_erofs_extent_lookback()
325 map->m_la = (lcn << lclusterbits) | m->clusterofs; in z_erofs_extent_lookback()
329 m->type, lcn, (unsigned long long)vi->nid); in z_erofs_extent_lookback()
362 m.lcn = ofs >> lclusterbits; in z_erofs_map_blocks_iter()
365 err = z_erofs_load_cluster_from_disk(&m, m.lcn); in z_erofs_map_blocks_iter()
370 end = (m.lcn + 1ULL) << lclusterbits; in z_erofs_map_blocks_iter()
377 map->m_la = (m.lcn << lclusterbits) | m.clusterofs; in z_erofs_map_blocks_iter()
381 if (!m.lcn) { in z_erofs_map_blocks_iter()
387 end = (m.lcn << lclusterbits) | m.clusterofs; in z_erofs_map_blocks_iter()