Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dquota.c112 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local
117 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa()
118 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
121 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa()
123 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa()
133 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local
190 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas()
191 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas()
195 quota); in iwl_mvm_update_quotas()
202 quota = QUOTA_100 / num_active_macs; in iwl_mvm_update_quotas()
[all …]
/linux-6.6.21/mm/damon/
Dcore.c302 static struct damos_quota *damos_quota_init_priv(struct damos_quota *quota) in damos_quota_init_priv() argument
304 quota->total_charged_sz = 0; in damos_quota_init_priv()
305 quota->total_charged_ns = 0; in damos_quota_init_priv()
306 quota->esz = 0; in damos_quota_init_priv()
307 quota->charged_sz = 0; in damos_quota_init_priv()
308 quota->charged_from = 0; in damos_quota_init_priv()
309 quota->charge_target_from = NULL; in damos_quota_init_priv()
310 quota->charge_addr_from = 0; in damos_quota_init_priv()
311 return quota; in damos_quota_init_priv()
315 enum damos_action action, struct damos_quota *quota, in damon_new_scheme() argument
[all …]
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);
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()
222 damon_lru_sort_copy_quota_status(&hot_scheme->quota, in damon_lru_sort_apply_parameters()
223 &old_hot_scheme->quota); in damon_lru_sort_apply_parameters()
232 damon_lru_sort_copy_quota_status(&cold_scheme->quota, in damon_lru_sort_apply_parameters()
233 &old_cold_scheme->quota); in damon_lru_sort_apply_parameters()
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 …]
Dops-common.c79 unsigned int freq_weight = s->quota.weight_nr_accesses; in damon_hot_score()
80 unsigned int age_weight = s->quota.weight_age; in damon_hot_score()
Dreclaim.c178 damon_reclaim_copy_quota_status(&scheme->quota, in damon_reclaim_apply_parameters()
179 &old_scheme->quota); in damon_reclaim_apply_parameters()
/linux-6.6.21/fs/quota/
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"
25 If you say Y here, quota warnings (about exceeding softlimit, reaching
30 bool "Print quota warnings to console (OBSOLETE)"
34 If you say Y here, quota warnings (about exceeding softlimit, reaching
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.
47 # Generic support for tree structured quota files. Selected when needed.
[all …]
DMakefile6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
/linux-6.6.21/net/netfilter/
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()
97 atomic64_set(&priv->quota, quota); in nft_quota_do_init()
126 newquota = atomic64_read(&newpriv->quota); in nft_quota_obj_update()
127 atomic64_set(&priv->quota, newquota); in nft_quota_obj_update()
134 u64 consumed, consumed_cap, quota; in nft_quota_do_dump() local
[all …]
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()
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.6.21/Documentation/scheduler/
Dsched-bwc.rst12 The bandwidth allowed for a group is specified using a quota and period. Within
13 each given "period" (microseconds), a task group is allocated up to "quota"
14 microseconds of CPU time. That quota is assigned to per-cpu run queues in
15 slices as threads in the cgroup become runnable. Once all quota has been
16 assigned any additional requests for quota will result in those threads being
18 period when the quota is replenished.
20 A group's unassigned quota is globally tracked, being refreshed back to
41 quota; this enables one to describe u_i as a statistical distribution.
51 have a p(95)*p(95) = 90.25% chance both tasks are within their quota and
53 both tasks will exceed their quota at the same time (guaranteed deadline
[all …]
/linux-6.6.21/Documentation/filesystems/
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
Dtmpfs.rst129 tmpfs also supports quota with the following mount options
132 quota User and group quota accounting and enforcement
134 system quota files that are initialized on mount.
135 usrquota User quota accounting and enforcement is enabled
137 grpquota Group quota accounting and enforcement is enabled
139 usrquota_block_hardlimit Set global user quota block hard limit.
140 usrquota_inode_hardlimit Set global user quota inode hard limit.
141 grpquota_block_hardlimit Set global group quota block hard limit.
142 grpquota_inode_hardlimit Set global group quota inode hard limit.
145 None of the quota related mount options can be set or changed on remount.
[all …]
/linux-6.6.21/arch/powerpc/platforms/pseries/
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()
298 counts.quota = total / counts.num_devices; in msi_quota_for_device()
299 if (request <= counts.quota) in msi_quota_for_device()
313 counts.quota += counts.spare / counts.over_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
358 quota = msi_quota_for_device(pdev, nvec); in rtas_prepare_msi_irqs()
[all …]
/linux-6.6.21/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c437 struct vchiq_service_quota *quota; in mark_service_closing_internal() local
456 quota = &state->service_quotas[service->localport]; in mark_service_closing_internal()
457 complete(&quota->quota_event); in mark_service_closing_internal()
738 struct vchiq_service_quota *quota = &state->service_quotas[port]; in process_free_data_message() local
742 count = quota->message_use_count; in process_free_data_message()
744 quota->message_use_count = count - 1; in process_free_data_message()
747 if (count == quota->message_quota) { in process_free_data_message()
752 complete(&quota->quota_event); in process_free_data_message()
756 port, quota->message_use_count, header, msgid, header->msgid, in process_free_data_message()
765 count = quota->slot_use_count; in process_free_data_message()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/scheduler/
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.6.21/Documentation/filesystems/ext4/
Dspecial_inodes.rst21 - User quota.
23 - Group quota.
53 - Inode number of quota file tracking project quotas
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/
Dbinding.h75 __le32 quota; member
109 __le32 quota; member
/linux-6.6.21/drivers/net/wireless/ath/wil6210/
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.6.21/drivers/net/can/c_can/
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.6.21/drivers/net/can/
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.6.21/kernel/sched/
Dcore.c10832 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth() argument
10846 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth()
10860 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth()
10863 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth()
10864 burst + quota > max_cfs_runtime)) in tg_set_cfs_bandwidth()
10873 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
10877 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10878 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10887 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10922 u64 quota, period, burst; in tg_set_cfs_quota() local
[all …]
/linux-6.6.21/include/uapi/linux/netfilter/
Dxt_quota.h17 __aligned_u64 quota; member

123456