Lines Matching defs:lcn
109 unsigned long lcn;
150 unsigned long lcn)
158 lcn * sizeof(struct z_erofs_vle_decompressed_index);
167 m->lcn = lcn;
272 unsigned long lcn)
285 if (lcn >= totalidx)
288 m->lcn = lcn;
300 if (lcn < compacted_4b_initial) {
305 lcn -= compacted_4b_initial;
307 if (lcn < compacted_2b) {
312 lcn -= compacted_2b;
315 pos += lcn * (1 << amortizedshift);
323 unsigned int lcn)
328 return legacy_load_cluster_from_disk(m, lcn);
331 return compacted_load_cluster_from_disk(m, lcn);
342 unsigned long lcn = m->lcn;
345 if (lcn < lookback_distance) {
353 lcn -= lookback_distance;
354 err = z_erofs_load_cluster_from_disk(m, lcn);
372 map->m_la = (lcn << lclusterbits) | m->clusterofs;
376 "unknown type %u @ lcn %lu of nid %llu",
377 m->type, lcn, vi->nid);
413 m.lcn = ofs >> lclusterbits;
416 err = z_erofs_load_cluster_from_disk(&m, m.lcn);
421 end = (m.lcn + 1ULL) << lclusterbits;
430 map->m_la = (m.lcn << lclusterbits) | m.clusterofs;
433 /* m.lcn should be >= 1 if endoff < m.clusterofs */
434 if (!m.lcn) {
441 end = (m.lcn << lclusterbits) | m.clusterofs;