Searched refs:BP_GET_COMPRESS (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | blkptr.c | 143 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF) { in decode_embedded_bp() 149 VERIFY0(zio_decompress_data(BP_GET_COMPRESS(bp), &cabd, in decode_embedded_bp()
|
H A D | dmu_send.c | 498 (bp != NULL ? BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF && in dmu_dump_write() 527 ASSERT3U(BP_GET_COMPRESS(bp), !=, ZIO_COMPRESS_OFF); in dmu_dump_write() 532 drrw->drr_compressiontype = BP_GET_COMPRESS(bp); in dmu_dump_write() 554 DDK_SET_COMPRESS(&drrw->drr_key, BP_GET_COMPRESS(bp)); in dmu_dump_write() 586 drrw->drr_compression = BP_GET_COMPRESS(bp); in dump_write_embedded() 637 drrs->drr_compressiontype = BP_GET_COMPRESS(bp); in dump_spill() 817 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in dump_object_range() 851 if ((BP_GET_COMPRESS(bp) >= ZIO_COMPRESS_LEGACY_FUNCTIONS && in send_do_embed() 859 if ((BP_GET_COMPRESS(bp) == ZIO_COMPRESS_ZSTD && in send_do_embed()
|
H A D | zio.c | 558 int ret = zio_decompress_data(BP_GET_COMPRESS(zio->io_bp), in zio_decompress() 599 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF) { in zio_decrypt() 608 ret = zio_decompress_data(BP_GET_COMPRESS(bp), in zio_decrypt() 1175 if (unlikely(BP_GET_COMPRESS(bp) >= ZIO_COMPRESS_FUNCTIONS)) { in zfs_blkptr_verify() 1178 bp, (longlong_t)BP_GET_COMPRESS(bp)); in zfs_blkptr_verify() 1759 ASSERT(BP_GET_COMPRESS(zio->io_bp) == ZIO_COMPRESS_OFF); in zio_shrink() 1815 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF && in zio_read_bp_init() 3383 BP_GET_COMPRESS(bp) != BP_GET_COMPRESS(bp_orig) || in zio_nop_write() 4995 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in zio_encrypt() 5025 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in zio_encrypt()
|
H A D | dmu_recv.c | 1455 if (!rwa->raw && BP_GET_COMPRESS(bp) != ZIO_COMPRESS_OFF) { in do_corrective_recv() 1459 uint64_t csize = zio_compress_data(BP_GET_COMPRESS(bp), in do_corrective_recv()
|
H A D | spa_misc.c | 1631 compress = zio_compress_table[BP_GET_COMPRESS(bp)].ci_name; in snprintf_blkptr()
|
H A D | arc.c | 5562 BP_GET_COMPRESS(bp)); in arc_hdr_verify() 6108 BP_IS_PROTECTED(bp), BP_GET_COMPRESS(bp), 0, type); in arc_read() 6853 if (BP_GET_COMPRESS(bp) == ZIO_COMPRESS_OFF) in arc_write_ready() 6868 compress = BP_GET_COMPRESS(bp); in arc_write_ready()
|
H A D | dsl_scan.c | 2261 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in dsl_scan_recurse() 2395 f = zio_compress_to_feature(BP_GET_COMPRESS(bp)); in dsl_scan_visitbp()
|
H A D | ddt.c | 692 DDK_SET_COMPRESS(ddk, BP_GET_COMPRESS(bp)); in ddt_key_fill()
|
H A D | dmu_objset.c | 504 ASSERT3U(BP_GET_COMPRESS(bp), ==, ZIO_COMPRESS_OFF); in dmu_objset_open_impl()
|
H A D | dsl_dataset.c | 185 f = zio_compress_to_feature(BP_GET_COMPRESS(bp)); in dsl_dataset_block_born()
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa.h | 430 #define BP_GET_COMPRESS(bp) \ macro
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 379 #define BP_GET_COMPRESS(bp) BF64_GET((bp)->blk_prop, 32, 7) macro
|
/freebsd/stand/libsa/zfs/ |
H A D | zfsimpl.c | 2313 int cpfunc = BP_GET_COMPRESS(bp); in zio_read()
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 2483 if (BP_GET_COMPRESS(bp) != ZIO_COMPRESS_ZSTD) in snprintf_zstd_header() 2624 if (dump_opt['Z'] && BP_GET_COMPRESS(bp) == ZIO_COMPRESS_ZSTD) in print_indirect()
|