Home
last modified time | relevance | path

Searched refs:BP_GET_COMPRESS (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dblkptr.c139 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF) { in decode_embedded_bp()
145 VERIFY0(zio_decompress_data(BP_GET_COMPRESS(bp), &cabd, in decode_embedded_bp()
H A Ddmu_send.c488 (bp != NULL ? BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF && in dmu_dump_write()
517 ASSERT3U(BP_GET_COMPRESS(bp), !=, ZIO_COMPRESS_OFF); in dmu_dump_write()
522 drrw->drr_compressiontype = BP_GET_COMPRESS(bp); in dmu_dump_write()
544 DDK_SET_COMPRESS(&drrw->drr_key, BP_GET_COMPRESS(bp)); in dmu_dump_write()
576 drrw->drr_compression = BP_GET_COMPRESS(bp); in dump_write_embedded()
627 drrs->drr_compressiontype = BP_GET_COMPRESS(bp); in dump_spill()
807 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in dump_object_range()
841 if ((BP_GET_COMPRESS(bp) >= ZIO_COMPRESS_LEGACY_FUNCTIONS && in send_do_embed()
849 if ((BP_GET_COMPRESS(bp) == ZIO_COMPRESS_ZSTD && in send_do_embed()
H A Dzfs_vnops.c2454 BP_GET_COMPRESS(bi) != BP_GET_COMPRESS(bo) || in zfs_dedupe_bp_provably_equal()
2486 if (BP_GET_COMPRESS(bi) != BP_GET_COMPRESS(bo) || in zfs_dedupe_bp_provably_equal()
2526 if (BP_GET_COMPRESS(bi) != ZIO_COMPRESS_OFF || in zfs_dedupe_bp_provably_unequal()
2527 BP_GET_COMPRESS(bo) != ZIO_COMPRESS_OFF) in zfs_dedupe_bp_provably_unequal()
H A Dzio.c549 int ret = zio_decompress_data(BP_GET_COMPRESS(zio->io_bp), in zio_decompress()
590 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF) { in zio_decrypt()
599 ret = zio_decompress_data(BP_GET_COMPRESS(bp), in zio_decrypt()
1188 if (unlikely(BP_GET_COMPRESS(bp) >= ZIO_COMPRESS_FUNCTIONS)) { in zfs_blkptr_verify()
1191 bp, (longlong_t)BP_GET_COMPRESS(bp)); in zfs_blkptr_verify()
1817 ASSERT(BP_GET_COMPRESS(zio->io_bp) == ZIO_COMPRESS_OFF); in zio_shrink()
1873 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF && in zio_read_bp_init()
3716 BP_GET_COMPRESS(bp) != BP_GET_COMPRESS(bp_orig) || in zio_nop_write()
5469 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in zio_encrypt()
5499 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in zio_encrypt()
H A Dspa_misc.c1680 compress = zio_compress_table[BP_GET_COMPRESS(bp)].ci_name; in snprintf_blkptr()
H A Darc.c5594 BP_GET_COMPRESS(bp)); in arc_hdr_verify()
6155 BP_IS_PROTECTED(bp), BP_GET_COMPRESS(bp), 0, type); in arc_read()
6921 if (BP_GET_COMPRESS(bp) == ZIO_COMPRESS_OFF) in arc_write_ready()
6936 compress = BP_GET_COMPRESS(bp); in arc_write_ready()
H A Ddmu_recv.c1526 if (!rwa->raw && BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF) { in do_corrective_recv()
1530 uint64_t csize = zio_compress_data(BP_GET_COMPRESS(bp), in do_corrective_recv()
H A Ddsl_scan.c2380 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in dsl_scan_recurse()
2514 f = zio_compress_to_feature(BP_GET_COMPRESS(bp)); in dsl_scan_visitbp()
H A Ddmu_objset.c494 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in dmu_objset_open_impl()
H A Dddt.c759 DDK_SET_COMPRESS(ddk, BP_GET_COMPRESS(bp)); in ddt_key_fill()
H A Ddsl_dataset.c176 f = zio_compress_to_feature(BP_GET_COMPRESS(bp)); in dsl_dataset_block_born()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h380 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 7) macro
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h422 #define BP_GET_COMPRESS(bp) \ macro
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c2348 int cpfunc = BP_GET_COMPRESS(bp); in zio_read_impl()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2702 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_ZSTD) in snprintf_zstd_header()
2912 if (dump_opt['Z'] && BP_GET_COMPRESS(bp) == ZIO_COMPRESS_ZSTD) in print_indirect()