Home
last modified time | relevance | path

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

/external/erofs-utils/lib/
Dcompress.c34 u16 clusterofs; member
53 if (!ctx->clusterofs) in vle_write_indexes_final()
56 di.di_clusterofs = cpu_to_le16(ctx->clusterofs); in vle_write_indexes_final()
67 unsigned int clusterofs = ctx->clusterofs; in vle_write_indexes() local
68 unsigned int d0 = 0, d1 = (clusterofs + count) / EROFS_BLKSIZ; in vle_write_indexes()
73 di.di_clusterofs = cpu_to_le16(ctx->clusterofs); in vle_write_indexes()
87 ctx->clusterofs = 0; in vle_write_indexes()
108 count -= EROFS_BLKSIZ - clusterofs; in vle_write_indexes()
109 clusterofs = 0; in vle_write_indexes()
113 } while (clusterofs + count >= EROFS_BLKSIZ); in vle_write_indexes()
[all …]
Dzmap.c82 u16 clusterofs; member
131 m->clusterofs = 1 << vi->z_logical_clusterbits; in legacy_load_cluster_from_disk()
137 m->clusterofs = le16_to_cpu(di->di_clusterofs); in legacy_load_cluster_from_disk()
187 m->clusterofs = 1 << lclusterbits; in unpack_compacted_index()
204 m->clusterofs = lo; in unpack_compacted_index()
325 map->m_la = (lcn << lclusterbits) | m->clusterofs; in z_erofs_extent_lookback()
373 if (endoff >= m.clusterofs) in z_erofs_map_blocks_iter()
376 if (endoff >= m.clusterofs) { in z_erofs_map_blocks_iter()
377 map->m_la = (m.lcn << lclusterbits) | m.clusterofs; in z_erofs_map_blocks_iter()
387 end = (m.lcn << lclusterbits) | m.clusterofs; in z_erofs_map_blocks_iter()