Searched refs:live_size (Results 1 – 7 of 7) sorted by relevance
347 if (lp.ptr.offset + lp.crc.offset + lp.crc.live_size != in bch2_extent_merge()375 if (lp.crc.offset + lp.crc.live_size + rp.crc.live_size <= in bch2_extent_merge()378 } else if (lp.crc.live_size <= rp.crc.offset) { in bch2_extent_merge()388 if (lp.crc.offset + lp.crc.live_size != lp.crc.compressed_size || in bch2_extent_merge()434 if (crc_l.offset + crc_l.live_size + crc_r.live_size <= in bch2_extent_merge()437 } else if (crc_l.live_size <= crc_r.offset) { in bch2_extent_merge()439 crc_r.offset -= crc_l.live_size; in bch2_extent_merge()513 l.live_size != r.live_size || in bch2_crc_unpacked_cmp()523 u.uncompressed_size > u.live_size && in can_narrow_crc()567 u.live_size == u.uncompressed_size) { in bch2_bkey_narrow_crcs()[all …]
10 u32 live_size; member
267 BUG_ON(DIV_ROUND_UP(crc->live_size, PAGE_SECTORS) > bio->bi_max_vecs); in bch2_bio_uncompress_inplace()292 bio->bi_iter.bi_size = crc->live_size << 9; in bch2_bio_uncompress_inplace()298 crc->compressed_size = crc->live_size; in bch2_bio_uncompress_inplace()299 crc->uncompressed_size = crc->live_size; in bch2_bio_uncompress_inplace()
159 .live_size = k->size in bch2_extent_crc_unpack()165 .live_size = k->size, in bch2_extent_crc_unpack()
309 ? max(pick->crc.compressed_size, pick->crc.live_size) in promote_alloc()783 crc.live_size = bvec_iter_sectors(rbio->bvec_iter); in __bch2_read_endio()1061 bvec_iter_sectors(iter) != pick.crc.live_size || in __bch2_read_extent()1072 pick.crc.live_size = bvec_iter_sectors(iter); in __bch2_read_extent()
854 op->crc.offset, op->crc.live_size, in bch2_write_rechecksum()860 bio->bi_iter.bi_size = op->crc.live_size << 9; in bch2_write_rechecksum()875 if (op->crc.uncompressed_size == op->crc.live_size && in bch2_write_prep_encoded_data()924 if (op->crc.live_size != op->crc.uncompressed_size || in bch2_write_prep_encoded_data()1115 crc.live_size = src_len >> 9; in bch2_write_extent()
389 .live_size = i->len, in bch2_rechecksum_bio()