Home
last modified time | relevance | path

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

123456

/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Dquota.c111 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local
117 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
120 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa()
122 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa()
194 quota); in iwl_mvm_update_quotas()
205 quota); in iwl_mvm_update_quotas()
208 quota = 0; in iwl_mvm_update_quotas()
222 qdata->quota = cpu_to_le32(0); in iwl_mvm_update_quotas()
225 qdata->quota = in iwl_mvm_update_quotas()
238 qdata->quota = in iwl_mvm_update_quotas()
[all …]
/linux-6.3-rc2/mm/damon/
A Dcore.c833 struct damos_quota *quota = &s->quota; in damos_skip_charged_region() local
881 struct damos_quota *quota = &s->quota; in damos_apply_scheme() local
888 if (quota->esz && quota->charged_sz + sz > quota->esz) { in damos_apply_scheme()
904 if (quota->esz && quota->charged_sz >= quota->esz) { in damos_apply_scheme()
923 struct damos_quota *quota = &s->quota; in damon_do_apply_schemes() local
929 if (quota->esz && quota->charged_sz >= quota->esz) in damon_do_apply_schemes()
949 quota->esz = quota->sz; in damos_set_effective_quota()
960 if (quota->sz && quota->sz < esz) in damos_set_effective_quota()
967 struct damos_quota *quota = &s->quota; in damos_adjust_quota() local
973 if (!quota->ms && !quota->sz) in damos_adjust_quota()
[all …]
A Dmodules-common.h20 #define DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(quota) \ argument
21 module_param_named(quota_ms, quota.ms, ulong, 0600); \
23 quota.reset_interval, ulong, 0600);
25 #define DEFINE_DAMON_MODULES_DAMOS_QUOTAS(quota) \ argument
26 DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(quota) \
27 module_param_named(quota_sz, quota.sz, ulong, 0600);
A Dlru_sort.c151 struct damos_quota quota = damon_lru_sort_quota; in damon_lru_sort_new_scheme() local
154 quota.ms = quota.ms / 2; in damon_lru_sort_new_scheme()
162 &quota, in damon_lru_sort_new_scheme()
A Ddbgfs.c152 s->quota.ms, s->quota.sz, in sprint_schemes()
153 s->quota.reset_interval, in sprint_schemes()
154 s->quota.weight_sz, in sprint_schemes()
155 s->quota.weight_nr_accesses, in sprint_schemes()
156 s->quota.weight_age, in sprint_schemes()
249 struct damos_quota quota = {}; in str_to_schemes() local
259 &action_input, &quota.ms, in str_to_schemes()
260 &quota.sz, &quota.reset_interval, in str_to_schemes()
261 &quota.weight_sz, &quota.weight_nr_accesses, in str_to_schemes()
262 &quota.weight_age, &wmarks.metric, in str_to_schemes()
[all …]
A Dops-common.c102 unsigned int freq_weight = s->quota.weight_nr_accesses; in damon_hot_score()
103 unsigned int age_weight = s->quota.weight_age; in damon_hot_score()
/linux-6.3-rc2/fs/quota/
A DKconfig13 Note that gfs2 and xfs use their own quota system.
18 with the quota tools. Probably the quota support is only useful for
22 bool "Report quota messages through netlink interface"
30 bool "Print quota warnings to console (OBSOLETE)"
40 bool "Additional quota sanity checks"
44 If you say Y here, quota subsystem will perform some additional
45 sanity checks of quota internal structures. If unsure, say N.
52 tristate "Old quota format support"
55 This quota format was (is) used by kernels earlier than 2.4.22. If
56 you have quota working and you don't want to convert to new quota
[all …]
A DMakefile6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
/linux-6.3-rc2/net/netfilter/
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
76 if (quota > S64_MAX) in nft_quota_do_init()
81 if (consumed > quota) in nft_quota_do_init()
97 atomic64_set(&priv->quota, quota); in nft_quota_do_init()
134 u64 consumed, consumed_cap, quota; in nft_quota_do_dump() local
142 quota = atomic64_read(&priv->quota); in nft_quota_do_dump()
143 if (consumed >= quota) { in nft_quota_do_dump()
144 consumed_cap = quota; in nft_quota_do_dump()
[all …]
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()
A Dnfnetlink_acct.c120 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() local
122 *quota = be64_to_cpu(nla_get_be64(tb[NFACCT_QUOTA])); in nfnl_acct_new()
177 u64 *quota = (u64 *)acct->data; in nfnl_acct_fill_info() local
180 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota), in nfnl_acct_fill_info()
481 u64 *quota; in nfnl_acct_overquota() local
488 quota = (u64 *)nfacct->data; in nfnl_acct_overquota()
492 ret = now > *quota; in nfnl_acct_overquota()
494 if (now >= *quota && in nfnl_acct_overquota()
/linux-6.3-rc2/Documentation/scheduler/
A Dsched-bwc.rst15 slices as threads in the cgroup become runnable. Once all quota has been
18 period when the quota is replenished.
94 enact the specified bandwidth limit. The minimum quota allowed for the quota or
137 above quota in respective periods.
155 a. it fully consumes its own quota within a period
156 b. a parent's quota is fully consumed within its period
210 If period is 250ms and quota is also 250ms, the group will get
213 # echo 250000 > cpu.cfs_quota_us /* quota = 250ms */
221 # echo 1000000 > cpu.cfs_quota_us /* quota = 1000ms */
230 # echo 10000 > cpu.cfs_quota_us /* quota = 10ms */
[all …]
/linux-6.3-rc2/Documentation/filesystems/
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
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Dmsi.c216 int quota; member
259 if (req < counts->quota) in count_spare_msis()
260 counts->spare += counts->quota - req; in count_spare_msis()
261 else if (req > counts->quota) in count_spare_msis()
299 if (request <= counts.quota) in msi_quota_for_device()
316 request = min(counts.quota, request); in msi_quota_for_device()
346 int quota, rc; in rtas_prepare_msi_irqs() local
360 if (quota && quota < nvec) in rtas_prepare_msi_irqs()
361 return quota; in rtas_prepare_msi_irqs()
369 quota = msi_quota_for_device(pdev, m); in rtas_prepare_msi_irqs()
[all …]
/linux-6.3-rc2/drivers/staging/vc04_services/interface/vchiq_arm/
A Dvchiq_core.c457 complete(&quota->quota_event); in mark_service_closing_internal()
989 while ((quota->message_use_count == quota->message_quota) || in queue_message()
991 (quota->slot_use_count == quota->slot_quota))) { in queue_message()
996 quota->message_use_count, quota->slot_use_count); in queue_message()
1060 quota->message_use_count++; in queue_message()
2482 quota->previous_tx_index = in vchiq_add_service_internal()
3346 quota->slot_quota = value; in vchiq_set_service_option()
3348 (quota->message_quota >= quota->message_use_count)) in vchiq_set_service_option()
3366 (quota->slot_quota >= quota->slot_use_count)) in vchiq_set_service_option()
3570 quota->message_use_count, quota->message_quota, in vchiq_dump_service_state()
[all …]
/linux-6.3-rc2/Documentation/translations/zh_CN/scheduler/
A Dsched-bwc.rst174 # echo 250000 > cpu.cfs_quota_us /* quota = 250ms */
181 # echo 1000000 > cpu.cfs_quota_us /* quota = 1000ms */
190 # echo 10000 > cpu.cfs_quota_us /* quota = 10ms */
200 # echo 20000 > cpu.cfs_quota_us /* quota = 20ms */
/linux-6.3-rc2/Documentation/filesystems/ext4/
A Dspecial_inodes.rst21 - User quota.
23 - Group quota.
53 - Inode number of quota file tracking project quotas
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dbinding.h83 __le32 quota; member
117 __le32 quota; member
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/
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()
/linux-6.3-rc2/drivers/net/can/c_can/
A Dc_can_main.c818 u32 pend, int quota) in c_can_read_objects() argument
822 while ((obj = ffs(pend)) && quota > 0) { in c_can_read_objects()
834 quota -= n; in c_can_read_objects()
851 quota--; in c_can_read_objects()
880 static int c_can_do_rx_poll(struct net_device *dev, int quota) in c_can_do_rx_poll() argument
885 while (quota > 0) { in c_can_do_rx_poll()
901 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll()
903 quota -= n; in c_can_do_rx_poll()
1059 static int c_can_poll(struct napi_struct *napi, int quota) in c_can_poll() argument
1115 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll()
[all …]
/linux-6.3-rc2/kernel/sched/
A Dcore.c10712 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth()
10715 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth()
10739 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10809 quota = tg->cfs_bandwidth.quota; in tg_set_cfs_period()
10834 quota = tg->cfs_bandwidth.quota; in tg_set_cfs_burst()
10901 quota = d->quota; in normalize_cfs_quota()
10908 if (quota == RUNTIME_INF || quota == -1) in normalize_cfs_quota()
10934 quota = min(quota, parent_quota); in tg_cfs_schedulable_down()
10953 .quota = quota, in __cfs_schedulable()
11193 if (quota < 0) in cpu_period_quota_print()
[all …]
/linux-6.3-rc2/drivers/net/can/
A Dat91_can.c672 static int at91_poll_rx(struct net_device *dev, int quota) in at91_poll_rx() argument
687 mb < get_mb_tx_first(priv) && quota > 0; in at91_poll_rx()
701 quota--; in at91_poll_rx()
708 if (quota > 0) in at91_poll_rx()
763 static int at91_poll_err(struct net_device *dev, int quota, u32 reg_sr) in at91_poll_err() argument
768 if (quota == 0) in at91_poll_err()
782 static int at91_poll(struct napi_struct *napi, int quota) in at91_poll() argument
790 work_done += at91_poll_rx(dev, quota - work_done); in at91_poll()
797 work_done += at91_poll_err(dev, quota - work_done, reg_sr); in at91_poll()
799 if (work_done < quota) { in at91_poll()
/linux-6.3-rc2/include/uapi/linux/netfilter/
A Dxt_quota.h17 __aligned_u64 quota; member
/linux-6.3-rc2/fs/xfs/
A DKconfig56 a per user and/or a per group basis under XFS. XFS considers quota
59 quota is also compatible with the IRIX version of XFS, allowing a
64 README.quota in the xfsprogs package. XFS quota can be used either
65 with or without the generic quota support enabled (CONFIG_QUOTA) -
/linux-6.3-rc2/drivers/net/can/dev/
A Drx-offload.c42 static int can_rx_offload_napi_poll(struct napi_struct *napi, int quota) in can_rx_offload_napi_poll() argument
52 while ((work_done < quota) && in can_rx_offload_napi_poll()
65 if (work_done < quota) { in can_rx_offload_napi_poll()

Completed in 63 milliseconds

123456