Lines Matching defs:psa
302 dsl_prop_setarg_init_uint64(dsl_prop_setarg_t *psa, const char *propname,
305 psa->psa_name = propname;
306 psa->psa_source = source;
307 psa->psa_intsz = 8;
308 psa->psa_numints = 1;
309 psa->psa_value = value;
311 psa->psa_effective_value = -1ULL;
325 dsl_prop_predict_sync(dsl_dir_t *dd, dsl_prop_setarg_t *psa)
327 const char *propname = psa->psa_name;
329 zprop_source_t source = psa->psa_source;
362 &psa->psa_effective_value);
364 psa->psa_effective_value = 0;
367 psa->psa_effective_value = *(uint64_t *)psa->psa_value;
375 &psa->psa_effective_value);
377 psa->psa_effective_value = *(uint64_t *)psa->psa_value;
385 &psa->psa_effective_value);
387 psa->psa_effective_value = 0;
403 dsl_prop_check_prediction(dsl_dir_t *dd, dsl_prop_setarg_t *psa)
405 zfs_prop_t prop = zfs_name_to_prop(psa->psa_name);
419 err = dsl_prop_get_dd(dd, psa->psa_name, 8, 1, &intval,
421 if (err == 0 && intval != psa->psa_effective_value) {
425 psa->psa_name, psa->psa_source,
426 (unsigned long long)psa->psa_effective_value,
552 dsl_prop_setarg_t *psa = arg2;
563 const char *propname = psa->psa_name;
564 zprop_source_t source = psa->psa_source;
615 psa->psa_intsz, psa->psa_numints, psa->psa_value, tx));
639 psa->psa_intsz, psa->psa_numints, psa->psa_value, tx);
696 valstr = (char *)psa->psa_value;
721 dsl_prop_setarg_t psa;
724 psa.psa_source = pa->pa_source;
729 psa.psa_name = nvpair_name(pair);
744 (char **)&psa.psa_value) == 0);
745 psa.psa_intsz = 1;
746 psa.psa_numints = strlen(psa.psa_value) + 1;
750 psa.psa_intsz = sizeof (intval);
751 psa.psa_numints = 1;
752 psa.psa_value = &intval;
754 dsl_prop_set_sync(ds, &psa, tx);
783 dsl_prop_setarg_t psa;
808 psa.psa_name = propname;
809 psa.psa_source = source;
810 psa.psa_intsz = intsz;
811 psa.psa_numints = numints;
812 psa.psa_value = buf;
813 psa.psa_effective_value = -1ULL;
816 NULL, dsl_prop_set_sync, ds, &psa, 2);
1065 dsl_prop_setarg_t psa;
1070 dsl_prop_setarg_init_uint64(&psa, ZPROP_HAS_RECVD, source, &dummy);
1073 dsl_prop_set_sync, ds, &psa, 2);