Lines Matching refs:ot
375 dmu_object_type_t ot = BP_GET_TYPE(bp); in zio_decrypt() local
431 if (ot == DMU_OT_OBJSET) { in zio_decrypt()
441 if (zio_injection_enabled && ot != DMU_OT_DNODE && ret == 0) { in zio_decrypt()
443 &zio->io_bookmark, ot, ECKSUM); in zio_decrypt()
453 if (ot == DMU_OT_INTENT_LOG) { in zio_decrypt()
3782 dmu_object_type_t ot = BP_GET_TYPE(bp); in zio_encrypt() local
3795 if (!IO_IS_ALLOCATING(zio) && ot != DMU_OT_INTENT_LOG) in zio_encrypt()
3808 if (ot != DMU_OT_OBJSET) in zio_encrypt()
3813 ot == DMU_OT_DNODE) { in zio_encrypt()
3819 dmu_ot_byteswap[DMU_OT_BYTESWAP(ot)].ob_func(bswap_buf, in zio_encrypt()
3826 if (DMU_OT_IS_ENCRYPTED(ot)) in zio_encrypt()
3845 if (ot == DMU_OT_OBJSET) { in zio_encrypt()
3846 ASSERT0(DMU_OT_IS_ENCRYPTED(ot)); in zio_encrypt()
3855 if (!DMU_OT_IS_ENCRYPTED(ot)) { in zio_encrypt()
3872 ASSERT(IO_IS_ALLOCATING(zio) || ot == DMU_OT_INTENT_LOG); in zio_encrypt()
3873 ASSERT(BP_GET_LEVEL(bp) == 0 || ot == DMU_OT_INTENT_LOG); in zio_encrypt()
3885 if (ot == DMU_OT_INTENT_LOG) { in zio_encrypt()
3897 if (ot == DMU_OT_INTENT_LOG) { in zio_encrypt()
3910 ASSERT3U(ot, ==, DMU_OT_DNODE); in zio_encrypt()