Lines Matching defs:decrypt
745 dmu_objset_hold_flags(const char *name, boolean_t decrypt, const void *tag,
753 flags = (decrypt) ? DS_HOLD_FLAG_DECRYPT : DS_HOLD_FLAG_NONE;
780 boolean_t readonly, boolean_t decrypt, const void *tag, objset_t **osp)
791 } else if (!readonly && decrypt &&
797 if (decrypt && arc_is_unauthenticated((*osp)->os_phys_buf)) {
820 boolean_t readonly, boolean_t decrypt, const void *tag, objset_t **osp)
827 flags = (decrypt) ? DS_HOLD_FLAG_DECRYPT : DS_HOLD_FLAG_NONE;
836 err = dmu_objset_own_impl(ds, type, readonly, decrypt, tag, osp);
850 (ds->ds_dir->dd_crypto_obj == 0 || decrypt)) {
865 boolean_t readonly, boolean_t decrypt, const void *tag, objset_t **osp)
871 flags = (decrypt) ? DS_HOLD_FLAG_DECRYPT : DS_HOLD_FLAG_NONE;
876 err = dmu_objset_own_impl(ds, type, readonly, decrypt, tag, osp);
886 dmu_objset_rele_flags(objset_t *os, boolean_t decrypt, const void *tag)
891 flags = (decrypt) ? DS_HOLD_FLAG_DECRYPT : DS_HOLD_FLAG_NONE;
915 boolean_t decrypt, const void *tag)
921 flags = (decrypt) ? DS_HOLD_FLAG_DECRYPT : DS_HOLD_FLAG_NONE;
935 dmu_objset_disown(objset_t *os, boolean_t decrypt, const void *tag)
939 flags = (decrypt) ? DS_HOLD_FLAG_DECRYPT : DS_HOLD_FLAG_NONE;