/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | quota.c | 111 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 D | core.c | 833 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 D | modules-common.h | 20 #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 D | lru_sort.c | 151 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 "a, in damon_lru_sort_new_scheme()
|
A D | dbgfs.c | 152 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, "a.ms, in str_to_schemes() 260 "a.sz, "a.reset_interval, in str_to_schemes() 261 "a.weight_sz, "a.weight_nr_accesses, in str_to_schemes() 262 "a.weight_age, &wmarks.metric, in str_to_schemes() [all …]
|
A D | ops-common.c | 102 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 D | Kconfig | 13 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 D | Makefile | 6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
|
/linux-6.3-rc2/net/netfilter/ |
A D | nft_quota.c | 16 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 D | xt_quota.c | 17 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 D | nfnetlink_acct.c | 120 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 D | sched-bwc.rst | 15 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 D | quota.rst | 20 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 D | msi.c | 216 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 D | vchiq_core.c | 457 complete("a->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 D | sched-bwc.rst | 174 # 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 D | special_inodes.rst | 21 - 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 D | binding.h | 83 __le32 quota; member 117 __le32 quota; member
|
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/ |
A D | netdev.c | 95 int quota = budget; in wil6210_netdev_poll_rx() local 98 wil_rx_handle(wil, "a); 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, "a); 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 D | c_can_main.c | 818 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 D | core.c | 10712 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 D | at91_can.c | 672 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 D | xt_quota.h | 17 __aligned_u64 quota; member
|
/linux-6.3-rc2/fs/xfs/ |
A D | Kconfig | 56 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 D | rx-offload.c | 42 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()
|