Lines Matching defs:quota

58  * This controls if we verify the ZVOL quota or not.
60 * The quota size is the size of the ZVOL.
61 * The size of the volume already implies the ZVOL size quota.
62 * The quota mechanism can introduce a significant performance drop.
74 * or snapshots, even though they're not exceeding their space quota.
1208 uint64_t parentspace, myspace, quota, used;
1214 quota = UINT64_MAX;
1224 quota = dsl_dir_phys(dd)->dd_quota;
1232 quota = MIN(quota, poolsize);
1251 if (used > quota) {
1252 /* over quota */
1257 * the space left in our quota
1259 myspace = MIN(parentspace, quota - used);
1279 uint64_t quota;
1296 * Check against the dsl_dir's quota. We don't add in the delta
1297 * when checking for over-quota because they get one free hit.
1329 quota = UINT64_MAX;
1331 quota = dsl_dir_phys(dd)->dd_quota;
1334 * Adjust the quota against the actual pool size at the root
1338 * netfree transactions against a quota that is slightly larger,
1348 if (avail < quota) {
1349 quota = avail;
1356 * is over quota, they get to try again unless the actual
1357 * on-disk is over quota and there are no pending changes
1360 ext_quota = quota >> 5;
1361 if (quota == UINT64_MAX)
1364 if (used_on_disk >= quota) {
1365 if (retval == ENOSPC && (used_on_disk - quota) <
1373 } else if (used_on_disk + est_inflight >= quota + ext_quota) {
1375 "quota=%lluK tr=%lluK\n",
1378 (u_longlong_t)quota>>10, (u_longlong_t)asize>>10);
1688 error = dsl_prop_predict(ds->ds_dir, "quota",
1749 dsl_dir_set_quota(const char *ddname, zprop_source_t source, uint64_t quota)
1755 ddsqra.ddsqra_value = quota;
2498 "Enable strict ZVOL quota enforcment");