Lines Matching refs:clusterofs
34 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()
115 ctx->clusterofs = clusterofs + count; in vle_write_indexes()
127 ctx->head >= ctx->clusterofs) { in write_uncompressed_block()
128 ctx->head -= ctx->clusterofs; in write_uncompressed_block()
129 *len += ctx->clusterofs; in write_uncompressed_block()
130 ctx->clusterofs = 0; in write_uncompressed_block()
226 u16 clusterofs; member
242 cv->clusterofs = le16_to_cpu(di->di_clusterofs); in parse_legacy_indexes()
285 offset = cv[i].clusterofs; in write_compacted_indexes()
423 ctx.clusterofs = 0; in erofs_write_compressed_file()