Lines Matching defs:quota
59 * or snapshots, even though they're not exceeding their space quota.
1047 uint64_t parentspace, myspace, quota, used;
1053 quota = UINT64_MAX;
1063 quota = dsl_dir_phys(dd)->dd_quota;
1070 quota = MIN(quota, poolsize);
1089 if (used > quota) {
1090 /* over quota */
1095 * the space left in our quota
1097 myspace = MIN(parentspace, quota - used);
1117 uint64_t est_inflight, used_on_disk, quota, parent_rsrv;
1131 * Check against the dsl_dir's quota. We don't add in the delta
1132 * when checking for over-quota because they get one free hit.
1161 quota = UINT64_MAX;
1163 quota = dsl_dir_phys(dd)->dd_quota;
1166 * Adjust the quota against the actual pool size at the root
1170 * netfree transactions against a quota that is slightly larger,
1179 if (poolsize - deferred < quota) {
1180 quota = poolsize - deferred;
1187 * is over quota, they get to try again unless the actual
1188 * on-disk is over quota and there are no pending changes (which
1191 if (used_on_disk + est_inflight >= quota) {
1192 if (est_inflight > 0 || used_on_disk < quota ||
1193 (retval == ENOSPC && used_on_disk < quota + deferred))
1196 "quota=%lluK tr=%lluK err=%d\n",
1198 quota>>10, asize>>10, retval);
1448 error = dsl_prop_predict(ds->ds_dir, "quota",
1509 dsl_dir_set_quota(const char *ddname, zprop_source_t source, uint64_t quota)
1515 ddsqra.ddsqra_value = quota;