Searched refs:pcrypt (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_crypto.c | 1009 uint64_t crypt = ZIO_CRYPT_INHERIT, pcrypt = ZIO_CRYPT_INHERIT; in zfs_crypto_create() local 1043 pcrypt = zfs_prop_get_int(pzhp, ZFS_PROP_ENCRYPTION); in zfs_crypto_create() 1074 pcrypt = ZIO_CRYPT_OFF; in zfs_crypto_create() 1079 crypt = pcrypt; in zfs_crypto_create() 1105 if (pcrypt == ZIO_CRYPT_OFF && keylocation == NULL && in zfs_crypto_create() 1596 uint64_t crypt, pcrypt, keystatus, pkeystatus; in zfs_crypto_rewrap() local 1753 pcrypt = zfs_prop_get_int(pzhp, ZFS_PROP_ENCRYPTION); in zfs_crypto_rewrap() 1754 if (pcrypt == ZIO_CRYPT_OFF) { in zfs_crypto_rewrap()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dsl_crypt.c | 1799 uint64_t pcrypt, crypt; in dmu_objset_create_crypt_check() local 1812 ret = dsl_dir_get_crypt(parentdd, &pcrypt); in dmu_objset_create_crypt_check() 1816 pcrypt = ZIO_CRYPT_OFF; in dmu_objset_create_crypt_check() 1819 crypt = (dcp->cp_crypt == ZIO_CRYPT_INHERIT) ? pcrypt : dcp->cp_crypt; in dmu_objset_create_crypt_check() 1821 ASSERT3U(pcrypt, !=, ZIO_CRYPT_INHERIT); in dmu_objset_create_crypt_check() 1865 if (pcrypt == ZIO_CRYPT_OFF) in dmu_objset_create_crypt_check()
|