Searched defs:quota (Results 1 - 8 of 8) sorted by relevance

/dovecot/src/plugins/quota/
H A Dquota-plugin.h20 struct quota *quota; member in struct:quota_user
H A Dquota-imapc.c9 #include "quota-private.h"
77 /* we'll never try to enforce the quota - it's just a lot of
102 struct quota *quota; local
106 quota = quota_get_mail_user_quota(storage->storage.user);
107 i_assert(quota != NULL);
109 /* find the quota root that is being refreshed */
110 array_foreach(&quota->roots, rootp) {
225 i_warning("quota: Namespace '%s' is not imapc, "
226 "skipping for imapc quota",
249 imapc_quota_refresh_update(struct quota *quota, struct imapc_quota_refresh *refresh) argument
276 imapc_quota_refresh_deinit(struct quota *quota, struct imapc_quota_refresh *refresh, bool success) argument
414 imapc_quota_namespace_added(struct quota *quota, struct mail_namespace *ns) argument
[all...]
H A Dquota-private.h6 #include "quota.h"
12 struct quota { struct
43 /* Don't include this mailbox in quota */
65 void (*namespace_added)(struct quota *quota,
85 /* quota backends equal if backend1.name == backend2.name */
91 /* Unique quota root name. */
93 /* Name in settings, e.g. "quota", "quota2", .. */
105 /* If user is under quota before saving a mail, allow the last mail to
106 bring the user over quota b
120 struct quota *quota; member in struct:quota_root
161 struct quota *quota; member in struct:quota_transaction_context
[all...]
H A Dquota-fs.c3 /* 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, argument
210 roots = array_get(&quota
264 fs_quota_add_missing_mounts(struct quota *quota) argument
286 fs_quota_namespace_added(struct quota *quota, struct mail_namespace *ns) argument
[all...]
H A Dquota-maildir.c14 #include "quota-private.h"
173 /* mailbox not included in quota */
254 namespaces = array_get(&root->root.quota->namespaces, &count);
388 namespaces = array_get(&root->root.quota->namespaces, &count);
494 /* no quota lines. rebuild it. */
515 /* we're over quota. don't trust these values if the file
599 /* we'll need to recalculate the quota */
660 i_warning("quota: Namespace '%s' is not Maildir, "
661 "skipping for Maildir++ quota",
710 /* no quota */
831 maildir_quota_namespace_added(struct quota *quota, struct mail_namespace *ns) argument
[all...]
H A Dquota-storage.c11 #include "quota-private.h"
12 #include "quota-plugin.h"
68 mailbox_set_critical(box, "quota: %s", internal_err);
92 physical size and do the quota freeing later when the message was
94 if (quser->quota->set->vsizes)
106 /* we're running dsync. if this brings the quota below
107 a negative quota warning, don't execute it, because
221 array_foreach(&quser->quota->roots, rootp) {
227 /* Both/neither have this quota */
229 /* Destination mailbox has a quota tha
525 quota_roots_flush(struct quota *quota) argument
631 struct quota *quota; local
661 quota_find_root_for_ns(struct quota *quota, struct mail_namespace *ns) argument
678 struct quota *quota = NULL; local
753 struct quota *quota; local
[all...]
H A Dquota.c14 #include "quota-private.h"
15 #include "quota-fs.h"
24 #define QUOTA_LIMIT_SET_PATH DICT_PATH_PRIVATE"quota/limit/"
32 struct quota *quota; member in struct:quota_root_iter
204 /* <backend>[:<quota root name>[:<backend args>]] */
216 *error_r = t_strdup_printf("Unknown quota backend: %s",
287 return "Blocked by an ongoing background quota calculation";
289 return "Internal quota calculation error";
295 return qt->quota
395 quota_root_init(struct quota_root_settings *root_set, struct quota *quota, struct quota_root **root_r, const char **error_r) argument
434 struct quota *quota; local
465 struct quota *quota = *_quota; local
538 quota_is_duplicate_namespace(struct quota *quota, struct mail_namespace *ns) argument
584 quota_add_user_namespace(struct quota *quota, struct mail_namespace *ns) argument
617 struct quota *quota; local
726 struct quota *quota; local
1273 quota_over_flag_check_startup(struct quota *quota) argument
[all...]
/dovecot/src/auth/
H A Duserdb-vpopmail.c59 string_t *quota; local
71 quota = t_str_new(128);
72 if (var_expand(quota, template, tab, error_r) < 0)
75 *quota_r = str_c(quota);
87 const char *quota, *error; local
134 vpw->pw_shell, &quota, &error) < 0) {
147 if (*quota != '\0') {
150 quota);

Completed in 22 milliseconds