Lines Matching defs:quota
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 specified for the user.
389 smb_quota_t quota;
419 if (smb_quota_query_user_quota(sr, uid, "a) != NT_STATUS_SUCCESS)
422 if ((quota.q_limit != SMB_QUOTA_UNLIMITED) && (quota.q_limit != 0)) {
423 fssize->fs_caller_units = quota.q_limit / df.f_bsize;
424 if (quota.q_limit <= quota.q_used)
428 (quota.q_limit - quota.q_used) / df.f_bsize;