Lines Matching refs:new_bp
3328 zio_alloc_zil(spa_t *spa, objset_t *os, uint64_t txg, blkptr_t *new_bp, in zio_alloc_zil() argument
3342 BP_SET_TYPE(new_bp, DMU_OT_INTENT_LOG); in zio_alloc_zil()
3343 BP_SET_PSIZE(new_bp, size); in zio_alloc_zil()
3344 BP_SET_LEVEL(new_bp, 0); in zio_alloc_zil()
3352 error = metaslab_alloc(spa, spa_log_class(spa), size, new_bp, 1, in zio_alloc_zil()
3360 new_bp, 1, txg, old_bp, METASLAB_HINTBP_AVOID, in zio_alloc_zil()
3369 BP_SET_LSIZE(new_bp, size); in zio_alloc_zil()
3370 BP_SET_PSIZE(new_bp, size); in zio_alloc_zil()
3371 BP_SET_COMPRESS(new_bp, ZIO_COMPRESS_OFF); in zio_alloc_zil()
3372 BP_SET_CHECKSUM(new_bp, in zio_alloc_zil()
3375 BP_SET_TYPE(new_bp, DMU_OT_INTENT_LOG); in zio_alloc_zil()
3376 BP_SET_LEVEL(new_bp, 0); in zio_alloc_zil()
3377 BP_SET_DEDUP(new_bp, 0); in zio_alloc_zil()
3378 BP_SET_BYTEORDER(new_bp, ZFS_HOST_BYTEORDER); in zio_alloc_zil()
3389 BP_SET_CRYPT(new_bp, B_TRUE); in zio_alloc_zil()
3394 zio_crypt_encode_params_bp(new_bp, salt, iv); in zio_alloc_zil()