/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | quota.c | 111 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local 116 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa() 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() 132 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local 189 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas() 190 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas() 194 quota); in iwl_mvm_update_quotas() 201 quota = QUOTA_100 / num_active_macs; in iwl_mvm_update_quotas() [all …]
|
/linux-6.1.9/mm/damon/ |
D | core.c | 267 static struct damos_quota *damos_quota_init_priv(struct damos_quota *quota) in damos_quota_init_priv() argument 269 quota->total_charged_sz = 0; in damos_quota_init_priv() 270 quota->total_charged_ns = 0; in damos_quota_init_priv() 271 quota->esz = 0; in damos_quota_init_priv() 272 quota->charged_sz = 0; in damos_quota_init_priv() 273 quota->charged_from = 0; in damos_quota_init_priv() 274 quota->charge_target_from = NULL; in damos_quota_init_priv() 275 quota->charge_addr_from = 0; in damos_quota_init_priv() 276 return quota; in damos_quota_init_priv() 280 enum damos_action action, struct damos_quota *quota, in damon_new_scheme() argument [all …]
|
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);
|
D | lru_sort.c | 153 struct damos_quota quota = damon_lru_sort_quota; in damon_lru_sort_new_scheme() local 156 quota.ms = quota.ms / 2; in damon_lru_sort_new_scheme() 164 "a, in damon_lru_sort_new_scheme()
|
D | dbgfs.c | 144 s->quota.ms, s->quota.sz, in sprint_schemes() 145 s->quota.reset_interval, in sprint_schemes() 146 s->quota.weight_sz, in sprint_schemes() 147 s->quota.weight_nr_accesses, in sprint_schemes() 148 s->quota.weight_age, in sprint_schemes() 241 struct damos_quota quota = {}; in str_to_schemes() local 251 &action_input, "a.ms, in str_to_schemes() 252 "a.sz, "a.reset_interval, in str_to_schemes() 253 "a.weight_sz, "a.weight_nr_accesses, in str_to_schemes() 254 "a.weight_age, &wmarks.metric, in str_to_schemes() [all …]
|
D | ops-common.c | 98 unsigned int freq_weight = s->quota.weight_nr_accesses; in damon_hot_score() 99 unsigned int age_weight = s->quota.weight_age; in damon_hot_score()
|
/linux-6.1.9/fs/quota/ |
D | Kconfig | 14 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 …]
|
D | Makefile | 6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
|
/linux-6.1.9/net/netfilter/ |
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 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 …]
|
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()
|
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.1.9/Documentation/scheduler/ |
D | sched-bwc.rst | 12 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.1.9/Documentation/filesystems/ |
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.1.9/arch/powerpc/platforms/pseries/ |
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() 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.1.9/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_core.c | 437 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("a->quota_event); in mark_service_closing_internal() 728 struct vchiq_service_quota *quota = &state->service_quotas[port]; in process_free_data_message() local 732 count = quota->message_use_count; in process_free_data_message() 734 quota->message_use_count = count - 1; in process_free_data_message() 737 if (count == quota->message_quota) { in process_free_data_message() 742 complete("a->quota_event); in process_free_data_message() 746 port, quota->message_use_count, header, msgid, header->msgid, in process_free_data_message() 755 count = quota->slot_use_count; in process_free_data_message() [all …]
|
/linux-6.1.9/Documentation/translations/zh_CN/scheduler/ |
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.1.9/Documentation/filesystems/ext4/ |
D | special_inodes.rst | 21 - User quota. 23 - Group quota. 53 - Inode number of quota file tracking project quotas
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | binding.h | 83 __le32 quota; member 117 __le32 quota; member
|
/linux-6.1.9/drivers/net/wireless/ath/wil6210/ |
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.1.9/drivers/net/can/c_can/ |
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.1.9/drivers/net/can/ |
D | pch_can.c | 629 static int pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota) in pch_can_rx_normal() argument 657 quota--; in pch_can_rx_normal() 698 quota--; in pch_can_rx_normal() 703 } while (quota > 0); in pch_can_rx_normal() 723 static int pch_can_poll(struct napi_struct *napi, int quota) in pch_can_poll() argument 729 int quota_save = quota; in pch_can_poll() 741 quota--; in pch_can_poll() 751 if (quota == 0) in pch_can_poll() 755 quota -= pch_can_rx_normal(ndev, int_stat, quota); in pch_can_poll() 766 return quota_save - quota; in pch_can_poll()
|
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.1.9/kernel/sched/ |
D | core.c | 10564 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth() argument 10578 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth() 10592 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth() 10595 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth() 10596 burst + quota > max_cfs_runtime)) in tg_set_cfs_bandwidth() 10605 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth() 10609 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth() 10610 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth() 10619 cfs_b->quota = quota; in tg_set_cfs_bandwidth() 10654 u64 quota, period, burst; in tg_set_cfs_quota() local [all …]
|
/linux-6.1.9/include/uapi/linux/netfilter/ |
D | xt_quota.h | 17 __aligned_u64 quota; member
|
/linux-6.1.9/fs/xfs/ |
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) -
|