Lines Matching refs:quota

3 /* Only for reporting filesystem quota */
10 #include "quota-private.h"
11 #include "quota-fs.h"
44 /* Very old sys/quota.h doesn't define _LINUX_QUOTA_VERSION at all, which means
45 it supports only v1 quota. However, new sys/quota.h (glibc 2.25) removes
188 i_error("quota-fs: %s is not a valid NFS device path",
203 fs_quota_root_find_mountpoint(struct quota *quota,
210 roots = array_get(&quota->roots, &count);
246 if (root->root.quota->set->debug) {
247 i_debug("fs quota add mailbox dir = %s", dir);
248 i_debug("fs quota block device = %s", mount->device_path);
249 i_debug("fs quota mount point = %s", mount->mount_path);
250 i_debug("fs quota mount type = %s", mount->type);
253 /* if there are more unused quota roots, copy this mount to them */
254 roots = array_get(&root->root.quota->roots, &count);
264 static void fs_quota_add_missing_mounts(struct quota *quota)
270 roots = array_get(&quota->roots, &count);
286 static void fs_quota_namespace_added(struct quota *quota,
299 root = fs_quota_root_find_mountpoint(quota, mount);
306 /* we would actually want to do this only once after all quota roots
308 fs_quota_add_missing_mounts(quota);
394 if (root->root.quota->set->debug) {
395 i_debug("quota-fs: host=%s, path=%s, uid=%s",
440 if (root->root.quota->set->debug) {
441 i_debug("quota-fs: uid=%s, bytes=%"PRIu64"/%"PRIu64" "
450 if (root->root.quota->set->debug) {
451 i_debug("quota-fs: uid=%s, limit=unlimited",
491 if (root->root.quota->set->debug) {
492 i_debug("quota-fs: host=%s, path=%s, gid=%s",
537 if (root->root.quota->set->debug) {
538 i_debug("quota-fs: gid=%s, bytes=%"PRIu64"/%"PRIu64" "
547 if (root->root.quota->set->debug) {
548 i_debug("quota-fs: gid=%s, limit=unlimited",
626 "Dovecot was compiled with Linux quota "
706 *error_r = t_strdup_printf("cannot open quota for %s: %m",
873 if (_root->quota->set->debug) {
880 if (_root->quota->set->debug) {
929 /* fallback to group quota */
951 relative quota rules */