Lines Matching defs:origin

254  * a subset of the snapshots that the origin was redacted with respect to.  For
263 * more snapshots than the origin, we can't be redacted with respect
280 redact_check(dmu_recv_begin_arg_t *drba, dsl_dataset_t *origin)
298 VERIFY(dsl_dataset_get_uint64_array_feature(origin,
317 * to a subset of what the origin is redacted with respect to.
331 * If the stream isn't redacted but the origin is, this must be
332 * one of the snapshots the origin is redacted with respect to.
779 dsl_dataset_t *origin;
781 dsflags, FTAG, &origin);
786 if (!origin->ds_is_snapshot) {
787 dsl_dataset_rele_flags(origin, dsflags, FTAG);
791 if (dsl_dataset_phys(origin)->ds_guid != fromguid &&
793 dsl_dataset_rele_flags(origin, dsflags, FTAG);
798 if (origin->ds_dir->dd_crypto_obj != 0 &&
800 dsl_dataset_rele_flags(origin, dsflags, FTAG);
806 * If the origin is redacted we need to verify that this
808 * origin.
810 if (dsl_dataset_feature_is_active(origin,
812 if (!redact_check(drba, origin)) {
813 dsl_dataset_rele_flags(origin, dsflags,
823 dsl_dataset_rele_flags(origin, dsflags, FTAG);
828 dsl_dataset_rele_flags(origin, dsflags, FTAG);
901 dsl_dataset_t *origin = NULL;
907 FTAG, &origin));
913 origin, crflags, drba->drba_cred, dcp, tx);
914 if (origin != NULL)
915 dsl_dataset_rele(origin, FTAG);
924 * If the origin dataset is redacted, the child will be redacted
1154 /* check that the origin matches */
1261 const char *origin, dmu_recv_cookie_t *drc, zfs_file_t *fp,
1277 drc->drc_clone = (origin != NULL);
1337 drba.drba_origin = origin;
1359 origin == NULL && drc->drc_drrb->drr_fromguid == 0) {
3554 * origin_head) that are after the origin (which is
3641 * after the origin (the snap before drc_ds).
3777 * We will be destroying the ds; make sure its origin is unmounted if