Lines Matching refs:quota
65 * or snapshots, even though they're not exceeding their space quota.
1190 uint64_t parentspace, myspace, quota, used;
1196 quota = UINT64_MAX;
1206 quota = dsl_dir_phys(dd)->dd_quota;
1214 quota = MIN(quota, poolsize);
1233 if (used > quota) {
1234 /* over quota */
1239 * the space left in our quota
1241 myspace = MIN(parentspace, quota - used);
1261 uint64_t quota;
1272 * Check against the dsl_dir's quota. We don't add in the delta
1273 * when checking for over-quota because they get one free hit.
1302 quota = UINT64_MAX;
1304 quota = dsl_dir_phys(dd)->dd_quota;
1307 * Adjust the quota against the actual pool size at the root
1311 * netfree transactions against a quota that is slightly larger,
1322 if (avail < quota) {
1323 quota = avail;
1330 * is over quota, they get to try again unless the actual
1331 * on-disk is over quota and there are no pending changes (which
1334 if (used_on_disk + est_inflight >= quota) {
1335 if (est_inflight > 0 || used_on_disk < quota ||
1336 (retval == ENOSPC && used_on_disk < quota + deferred))
1339 "quota=%lluK tr=%lluK err=%d\n",
1341 quota>>10, asize>>10, retval);
1591 error = dsl_prop_predict(ds->ds_dir, "quota",
1652 dsl_dir_set_quota(const char *ddname, zprop_source_t source, uint64_t quota)
1658 ddsqra.ddsqra_value = quota;