Lines Matching defs:psa
483 dsl_prop_setarg_t psa;
492 dsl_prop_setarg_init_uint64(&psa, "reservation",
495 psa.psa_effective_value = 0; /* predict default value */
497 dsl_dir_set_reservation_sync(ds, &psa, tx);
1017 dsl_prop_setarg_t *psa = arg2;
1021 if ((err = dsl_prop_predict_sync(ds->ds_dir, psa)) != 0)
1024 if (psa->psa_effective_value == 0)
1036 (psa->psa_effective_value < dd->dd_phys->dd_reserved ||
1037 psa->psa_effective_value < dd->dd_phys->dd_used_bytes + towrite)) {
1051 dsl_prop_setarg_t *psa = arg2;
1052 uint64_t effective_value = psa->psa_effective_value;
1054 dsl_prop_set_sync(ds, psa, tx);
1055 DSL_PROP_CHECK_PREDICTION(dd, psa);
1073 dsl_prop_setarg_t psa;
1076 dsl_prop_setarg_init_uint64(&psa, "quota", source, "a);
1097 dsl_dir_set_quota_sync, ds, &psa, 0);
1109 dsl_prop_setarg_t *psa = arg2;
1114 if ((err = dsl_prop_predict_sync(ds->ds_dir, psa)) != 0)
1117 effective_value = psa->psa_effective_value;
1156 dsl_prop_setarg_t *psa = arg2;
1157 uint64_t effective_value = psa->psa_effective_value;
1161 dsl_prop_set_sync(ds, psa, tx);
1162 DSL_PROP_CHECK_PREDICTION(dd, psa);
1190 dsl_prop_setarg_t psa;
1193 dsl_prop_setarg_init_uint64(&psa, "reservation", source, &reservation);
1208 dsl_dir_set_reservation_sync, ds, &psa, 0);