Lines Matching refs:dduha
84 dsl_dataset_user_hold_arg_t *dduha = arg; in dsl_dataset_user_hold_check() local
99 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check()
100 pair != NULL; pair = nvlist_next_nvpair(dduha->dduha_holds, pair)) { in dsl_dataset_user_hold_check()
112 if (tmp_count != fnvlist_num_pairs(dduha->dduha_holds)) in dsl_dataset_user_hold_check()
114 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_holds, NULL); in dsl_dataset_user_hold_check()
115 pair != NULL; pair = nvlist_next_nvpair(dduha->dduha_holds, pair)) { in dsl_dataset_user_hold_check()
133 dduha->dduha_minor != 0, tx); in dsl_dataset_user_hold_check()
138 fnvlist_add_string(dduha->dduha_chkholds, name, htag); in dsl_dataset_user_hold_check()
144 fnvlist_add_int32(dduha->dduha_errlist, name, error); in dsl_dataset_user_hold_check()
275 dsl_dataset_user_hold_arg_t *dduha = arg; in dsl_dataset_user_hold_sync() local
280 if (dduha->dduha_minor != 0) in dsl_dataset_user_hold_sync()
284 for (nvpair_t *pair = nvlist_next_nvpair(dduha->dduha_chkholds, NULL); in dsl_dataset_user_hold_sync()
286 pair = nvlist_next_nvpair(dduha->dduha_chkholds, pair)) { in dsl_dataset_user_hold_sync()
291 fnvpair_value_string(pair), dduha->dduha_minor, now, tx); in dsl_dataset_user_hold_sync()
294 dsl_onexit_hold_cleanup(dp->dp_spa, tmpholds, dduha->dduha_minor); in dsl_dataset_user_hold_sync()
327 dsl_dataset_user_hold_arg_t dduha; in dsl_dataset_user_hold() local
335 dduha.dduha_holds = holds; in dsl_dataset_user_hold()
337 VERIFY(0 == nvlist_alloc(&dduha.dduha_chkholds, 0, KM_SLEEP)); in dsl_dataset_user_hold()
338 dduha.dduha_errlist = errlist; in dsl_dataset_user_hold()
339 dduha.dduha_minor = cleanup_minor; in dsl_dataset_user_hold()
342 dsl_dataset_user_hold_sync, &dduha, in dsl_dataset_user_hold()
344 fnvlist_free(dduha.dduha_chkholds); in dsl_dataset_user_hold()