/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_synctask.c | 163 uint64_t quota = dsl_pool_adjustedsize(dp, local 168 if (dst->dst_space > 0 && used + dst->dst_space * 3 > quota) {
|
H A D | dsl_dir.c | 59 * or snapshots, even though they're not exceeding their space quota. 1047 uint64_t parentspace, myspace, quota, used; local 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 1117 uint64_t est_inflight, used_on_disk, quota, parent_rsrv; local 1509 dsl_dir_set_quota(const char *ddname, zprop_source_t source, uint64_t quota) argument [all...] |
H A D | zfs_vfsops.c | 757 const char *domain, uint64_t rid, uint64_t quota) 802 if (quota == 0) { 807 err = zap_update(zfsvfs->z_os, *objp, buf, 8, 1, "a, tx); 820 uint64_t used, quota, usedobj, quotaobj; local 830 err = zap_lookup(zfsvfs->z_os, quotaobj, buf, 8, 1, "a); 837 return (used >= quota); 756 zfs_set_userquota(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, const char *domain, uint64_t rid, uint64_t quota) argument
|
H A D | zfs_ioctl.c | 2349 uint64_t quota; local 2373 quota = valary[2]; 2377 err = zfs_set_userquota(zfsvfs, type, domain, rid, quota); 2572 * receiving quota and reservation out of order. 2812 * 'inherit -S' to revert non-inheritable properties like quota 4104 * refquota pre-receipt will set the dsl's ACTUAL quota, which will prevent 4725 * Retrieve a single {user|group}{used|quota}@... property.
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 42 * Turn quota on/off for a filesystem. 223 * do the quota call. 302 struct quotctl quota; local 320 quota.op = cmd; 321 quota.uid = uid; 322 quota.addr = addr; 323 status = ioctl(fd, Q_QUOTACTL, "a);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fsinfo.c | 328 SMB_QUOTA_UNLIMITED, /* default quota threshold */ 329 SMB_QUOTA_UNLIMITED, /* default quota limit */ 368 * If there's no quota entry for the user initiating the request, 371 * If there is a quota entry for the user initiating the request, 374 * caller_units = quota limit / bytes_per_unit 375 * caller_avail = remaining quota / bytes_per_unit 377 * A quota limit of SMB_QUOTA_UNLIMITED means that the user's quota 378 * is specfied as unlimited. A quota limit of 0 means there is no 379 * quota specifie 389 smb_quota_t quota; local [all...] |
H A D | smb_quota.c | 37 * A user/group quota entry passed over the wire consists of: 41 * - quota used (uint64_t) 42 * - quota limit (uint64_t) 43 * - quota threahold (uint64_t) 182 * If the query is if type SMB_QUOTA_QUERY_SIDLIST a quota entry 186 * max_quota is the maximum number of quota entries requested from 189 * max quota is calculated as the number of quotas of size 206 * Decode the quota entries into a list_t of smb_quota_t. 207 * SMB_QUOTA_SIZE_NO_SID is the size of a quota entry, 220 smb_quota_t *quota; local 272 smb_quota_t *quota; local 300 smb_quota_t *quota, *next_quota; local 370 smb_quota_query_user_quota(smb_request_t *sr, uid_t uid, smb_quota_t *quota) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/ |
H A D | rpc.rquotad.c | 54 #define QFNAME "quotas" /* name of quota file */ 414 struct quotctl quota; local 460 quota.op = cmd; 461 quota.uid = uid; 462 quota.addr = (caddr_t)dqp; 464 status = ioctl(fd, Q_QUOTACTL, "a); 471 * Return the quota information for the given path. Returns NULL if none 484 * since the last time, rebuild the list of quota'd file systems 595 * Free the memory used by the current list of quota'd file systems. Nulls 708 * Return 1 if "quota" appear [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 150 * Sync quota information to disk (as userdata). On logging 151 * file systems, this operation does nothing because quota 253 * sure that the quota information (as metadata) gets rolled 437 struct quotctl quota; local 480 quota.op = cmd; 481 quota.uid = uid; 482 quota.addr = addr; 483 status = ioctl(fd, Q_QUOTACTL, "a);
|
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/ |
H A D | edquota.c | 42 * Disk quota editor. 392 * quota definition string. 409 * are specified in 1k blocks in the edited quota 413 * hard and soft block limits in the edited quota file 415 * quota (which is 2^32 - 1, since it's a 32-bit unsigned 420 quota_entry_printed = 0; /* only print quota entry once */ 478 * to zero, in case the user is now over quota. 720 * Convert implicit 0 quota (EOF) 817 struct quotctl quota; local 898 quota [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 40 * Disk quota reporting program. 105 * packages. 'quota' utility supports zfs as an option. 150 "quota must be set-uid root or have " 170 (void) fprintf(stdout, "quota -F UFS "); 182 fprintf(stderr, "usage: quota [-v] [username]\n"); 212 printf("no disk quota for uid 0\n"); 227 fprintf(stderr, "quota: %s: unknown user\n", name); 232 printf("no disk quota for %s (uid 0)\n", name); 257 printf("quota: %s (uid %d): permission denied\n", name, uid); 302 * Skip quota processin 668 struct quotctl quota; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 532 * dqb_curblocks field in the quota record is 2^32 - 1, 548 "This exceeds the maximum number of blocks recordable in a quota record.\n"); 706 struct quotctl quota; local 761 quota.op = cmd; 762 quota.uid = uid; 763 quota.addr = addr; 764 status = ioctl(fd, Q_QUOTACTL, "a);
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/ |
H A D | i2bsc.c | 1045 int quota = I2BSC_MAX_TRANSFER_SZ; local 1066 while (tp->i2c_w_resid && quota) { 1071 quota--; 1080 while (tp->i2c_r_resid && quota) { 1086 quota--;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_quota.c | 56 * Handling of requests to query and set quota data on a filesystem. 59 * smb_quota_free - delete the quota list created in smb_quota_query 65 * In order to fulfill the quota query requests that can be received 66 * from clients, it is required that the quota data can be provided in 68 * at which quota entry to begin the query. 72 * populated with the file system's user and group quota data, and 89 * An avl tree is (re)populated, if required, whenever a quota request 94 * - a quota set operation has been performed on its file system 97 * the appropriate quota tree must be identified and locked via a call 98 * to smb_quota_tree_lookup(), The quota tre 450 smb_quota_t *quota; local 488 smb_quota_t *quota, *quotal, key; local 554 smb_quota_t *quota, *quotal, key; local 600 smb_quota_t *quota; local 672 smb_quota_t key, *quota; local 993 smb_quota_t *quota, key; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | df.c | 1250 uint64_t quota = 0; local 1258 * work upwards looking for the smallest quota. When we reach the 1259 * pool itself, the quota is the amount used plus the amount 1278 quota = _zfs_prop_get_int(zhp, ZFS_PROP_REFQUOTA); 1279 if (quota == 0) 1280 quota = UINT64_MAX; 1285 if (this_quota && this_quota < quota) 1286 quota = this_quota; 1294 if (size < quota) 1295 quota [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/fw/ |
H A D | 5710_hsi.h | 7808 u32_t quota /* Quota for a protocol/vnic */; member in struct:rate_shaping_counter
|