Home
last modified time | relevance | path

Searched refs:quota (Results 1 – 25 of 169) sorted by relevance

1234567

/OK3568_Linux_fs/kernel/mm/damon/
H A Dcore.c79 enum damos_action action, struct damos_quota *quota, in damon_new_scheme() argument
97 scheme->quota.ms = quota->ms; in damon_new_scheme()
98 scheme->quota.sz = quota->sz; in damon_new_scheme()
99 scheme->quota.reset_interval = quota->reset_interval; in damon_new_scheme()
100 scheme->quota.weight_sz = quota->weight_sz; in damon_new_scheme()
101 scheme->quota.weight_nr_accesses = quota->weight_nr_accesses; in damon_new_scheme()
102 scheme->quota.weight_age = quota->weight_age; in damon_new_scheme()
103 scheme->quota.total_charged_sz = 0; in damon_new_scheme()
104 scheme->quota.total_charged_ns = 0; in damon_new_scheme()
105 scheme->quota.esz = 0; in damon_new_scheme()
[all …]
H A Ddbgfs.c113 s->quota.ms, s->quota.sz, in sprint_schemes()
114 s->quota.reset_interval, in sprint_schemes()
115 s->quota.weight_sz, in sprint_schemes()
116 s->quota.weight_nr_accesses, in sprint_schemes()
117 s->quota.weight_age, in sprint_schemes()
201 struct damos_quota quota = {}; in str_to_schemes() local
207 &min_age, &max_age, &action, &quota.ms, in str_to_schemes()
208 &quota.sz, &quota.reset_interval, in str_to_schemes()
209 &quota.weight_sz, &quota.weight_nr_accesses, in str_to_schemes()
210 &quota.weight_age, &wmarks.metric, in str_to_schemes()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dquota.c167 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local
172 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa()
173 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
176 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa()
178 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa()
188 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local
245 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas()
246 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas()
250 quota); in iwl_mvm_update_quotas()
257 quota = QUOTA_100 / num_active_macs; in iwl_mvm_update_quotas()
[all …]
/OK3568_Linux_fs/kernel/fs/quota/
H A DKconfig14 Note that gfs2 and xfs use their own quota system.
19 with the quota tools. Probably the quota support is only useful for
23 bool "Report quota messages through netlink interface"
26 If you say Y here, quota warnings (about exceeding softlimit, reaching
31 bool "Print quota warnings to console (OBSOLETE)"
35 If you say Y here, quota warnings (about exceeding softlimit, reaching
41 bool "Additional quota sanity checks"
45 If you say Y here, quota subsystem will perform some additional
46 sanity checks of quota internal structures. If unsure, say N.
48 # Generic support for tree structured quota files. Selected when needed.
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnft_quota.c16 atomic64_t quota; member
25 atomic64_read(&priv->quota); in nft_overquota()
70 u64 quota, consumed = 0; in nft_quota_do_init() local
75 quota = be64_to_cpu(nla_get_be64(tb[NFTA_QUOTA_BYTES])); in nft_quota_do_init()
76 if (quota > S64_MAX) in nft_quota_do_init()
81 if (consumed > quota) in nft_quota_do_init()
93 atomic64_set(&priv->quota, quota); in nft_quota_do_init()
116 newquota = atomic64_read(&newpriv->quota); in nft_quota_obj_update()
117 atomic64_set(&priv->quota, newquota); in nft_quota_obj_update()
124 u64 consumed, consumed_cap, quota; in nft_quota_do_dump() local
[all …]
H A Dxt_quota.c17 uint64_t quota; member
34 if (priv->quota >= skb->len) { in quota_mt()
35 priv->quota -= skb->len; in quota_mt()
39 priv->quota = 0; in quota_mt()
58 q->master->quota = q->quota; in quota_mt_check()
H A Dxt_quota2.c51 u_int64_t quota; member
142 tmp_size = scnprintf(tmp, sizeof(tmp), "%llu\n", e->quota); in quota_proc_read()
162 e->quota = simple_strtoull(buf, NULL, 0); in quota_proc_write()
185 e->quota = q->quota; in q2_new_counter()
315 e->quota += charge; in quota_mt2()
318 if (e->quota > charge) { in quota_mt2()
320 e->quota -= charge; in quota_mt2()
322 } else if (e->quota) { in quota_mt2()
330 e->quota = 0; in quota_mt2()
H A Dnfnetlink_acct.c109 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() local
111 *quota = be64_to_cpu(nla_get_be64(tb[NFACCT_QUOTA])); in nfnl_acct_new()
166 u64 *quota = (u64 *)acct->data; in nfnl_acct_fill_info() local
169 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota), in nfnl_acct_fill_info()
462 u64 *quota; in nfnl_acct_overquota() local
469 quota = (u64 *)nfacct->data; in nfnl_acct_overquota()
473 ret = now > *quota; in nfnl_acct_overquota()
475 if (now >= *quota && in nfnl_acct_overquota()
/OK3568_Linux_fs/kernel/Documentation/scheduler/
H A Dsched-bwc.rst11 The bandwidth allowed for a group is specified using a quota and period. Within
12 each given "period" (microseconds), a task group is allocated up to "quota"
13 microseconds of CPU time. That quota is assigned to per-cpu run queues in
14 slices as threads in the cgroup become runnable. Once all quota has been
15 assigned any additional requests for quota will result in those threads being
17 period when the quota is replenished.
19 A group's unassigned quota is globally tracked, being refreshed back to
43 The minimum quota allowed for the quota or period is 1ms. There is also an
95 a. it fully consumes its own quota within a period
96 b. a parent's quota is fully consumed within its period
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dmsi.c224 int quota; member
267 if (req < counts->quota) in count_spare_msis()
268 counts->spare += counts->quota - req; in count_spare_msis()
269 else if (req > counts->quota) in count_spare_msis()
306 counts.quota = total / counts.num_devices; in msi_quota_for_device()
307 if (request <= counts.quota) in msi_quota_for_device()
321 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
324 request = min(counts.quota, request); in msi_quota_for_device()
374 int hwirq, virq, i, quota, rc; in rtas_setup_msi_irqs() local
388 quota = msi_quota_for_device(pdev, nvec); in rtas_setup_msi_irqs()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/quota/quota/
H A D0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch4 Subject: [PATCH] quota: Use realloc(3) instead of reallocarray(3)
16 quota.c | 2 +-
19 diff --git a/quota.c b/quota.c
21 --- a/quota.c
22 +++ b/quota.c
H A Dfcntl.patch12 diff --git a/quota.h b/quota.h
14 --- a/quota.h
15 +++ b/quota.h
/OK3568_Linux_fs/buildroot/package/quota/
H A D0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch4 Subject: [PATCH] quota: Use realloc(3) instead of reallocarray(3)
16 quota.c | 2 +-
19 diff --git a/quota.c b/quota.c
21 --- a/quota.c
22 +++ b/quota.c
H A Dquota.hash1 # From http://sourceforge.net/projects/linuxquota/files/quota-tools/4.06/ (click on info button)
2 md5 aef94648438832b684978d46fdf75110 quota-4.06.tar.gz
3 sha1 98288699cc14da42f762301c2b6731ec7c777681 quota-4.06.tar.gz
6 sha256 2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d quota-4.06.tar.gz
H A DConfig.in2 bool "quota"
8 Implementation of the disk quota system.
12 comment "quota needs a toolchain w/ wchar, threads"
H A Dquota.mk8 QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
14 QUOTA_SELINUX_MODULES = quota
/OK3568_Linux_fs/buildroot/package/pure-ftpd/
H A D0004-Initialize-the-max-upload-file-size-when-quotas-are-enabled.patch6 Due to an unwanted check, files causing the quota to be exceeded
25 if (quota_update(&quota, 0LL, 0LL, &overflow) == 0 &&
26 (overflow > 0 || quota.files >= user_quota_files ||
27 quota.size > user_quota_size ||
29 - (max_filesize = user_quota_size - quota.size) < (off_t) 0))) {
30 + (max_filesize = user_quota_size - quota.size) < (off_t) 0)) {
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dquota.rst20 For more details about quota design, see the documentation in quota-tools package
26 quota subsystem traditionally printed a message to the controlling terminal of
29 Thus quota netlink interface has been designed to pass information about
35 more details about this layer). The name of the quota generic netlink interface
36 is "VFS_DQUOT". Definitions of constants below are in <linux/quota.h>. Since
37 the quota netlink protocol is not namespace aware, quota netlink messages are
46 - type of quota being exceeded (one of USRQUOTA, GRPQUOTA)
48 - UID/GID (depends on quota type) of user / group whose limit
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/quota/
H A Dquota_4.06.bb10 SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \
12 file://0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch \
18 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/linuxquota/files/quota-tools/"
19 UPSTREAM_CHECK_REGEX = "/quota-tools/(?P<pver>(\d+[\.\-_]*)+)/"
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/
H A Dser.c118 struct dle_dfi_quota_t quota; in mac_dump_qta_lost() local
150 quota.dle_type = DLE_CTRL_TYPE_PLE; in mac_dump_qta_lost()
151 quota.qtaid = 6; in mac_dump_qta_lost()
152 ret = dle_dfi_quota(adapter, &quota); in mac_dump_qta_lost()
155 quota.rsv_pgnum, quota.use_pgnum); in mac_dump_qta_lost()
185 quota.dle_type = DLE_CTRL_TYPE_PLE; in mac_dump_qta_lost()
186 quota.qtaid = 7; in mac_dump_qta_lost()
187 ret = dle_dfi_quota(adapter, &quota); in mac_dump_qta_lost()
190 quota.rsv_pgnum, quota.use_pgnum); in mac_dump_qta_lost()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/
H A Dser.c118 struct dle_dfi_quota_t quota; in mac_dump_qta_lost() local
150 quota.dle_type = DLE_CTRL_TYPE_PLE; in mac_dump_qta_lost()
151 quota.qtaid = 6; in mac_dump_qta_lost()
152 ret = dle_dfi_quota(adapter, &quota); in mac_dump_qta_lost()
155 quota.rsv_pgnum, quota.use_pgnum); in mac_dump_qta_lost()
185 quota.dle_type = DLE_CTRL_TYPE_PLE; in mac_dump_qta_lost()
186 quota.qtaid = 7; in mac_dump_qta_lost()
187 ret = dle_dfi_quota(adapter, &quota); in mac_dump_qta_lost()
190 quota.rsv_pgnum, quota.use_pgnum); in mac_dump_qta_lost()
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/watchdog/watchdog/
H A D0001-shutdown-Do-not-guard-sys-quota.h-sys-swap.h-and-sys.patch4 Subject: [PATCH] shutdown: Do not guard sys/quota.h sys/swap.h and
26 #include <sys/quota.h>
30 -#include <linux/quota.h>
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h138 __le32 quota; member
172 __le32 quota; member
/OK3568_Linux_fs/kernel/Documentation/filesystems/ext4/
H A Dspecial_inodes.rst21 - User quota.
23 - Group quota.
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/wil6210/
H A Dnetdev.c95 int quota = budget; in wil6210_netdev_poll_rx() local
98 wil_rx_handle(wil, &quota); in wil6210_netdev_poll_rx()
99 done = budget - quota; in wil6210_netdev_poll_rx()
116 int quota = budget; in wil6210_netdev_poll_rx_edma() local
119 wil_rx_handle_edma(wil, &quota); in wil6210_netdev_poll_rx_edma()
120 done = budget - quota; in wil6210_netdev_poll_rx_edma()

1234567