| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | quota.c | 112 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local 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() 195 quota); in iwl_mvm_update_quotas() 206 quota); in iwl_mvm_update_quotas() 209 quota = 0; in iwl_mvm_update_quotas() 223 qdata->quota = cpu_to_le32(0); in iwl_mvm_update_quotas() 226 qdata->quota = in iwl_mvm_update_quotas() 239 qdata->quota = in iwl_mvm_update_quotas() [all …]
|
| /linux-6.15/fs/quota/ |
| H A D | Kconfig | 13 and xfs use their own quota system. Ext3 and ext4 also support 17 documentation provided with the quota tools. Probably the quota 21 bool "Report quota messages through netlink interface" 29 bool "Print quota warnings to console (OBSOLETE)" 39 bool "Additional quota sanity checks" 43 If you say Y here, quota subsystem will perform some additional 44 sanity checks of quota internal structures. If unsure, say N. 51 tristate "Old quota format support" 54 This quota format was (is) used by kernels earlier than 2.4.22. If 55 you have quota working and you don't want to convert to new quota [all …]
|
| /linux-6.15/net/netfilter/ |
| H 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 …]
|
| H 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()
|
| H 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.15/mm/damon/ |
| H A D | core.c | 1527 struct damos_quota *quota = &s->quota; in damos_skip_charged_region() local 1728 struct damos_quota *quota = &s->quota; in damos_apply_scheme() local 1762 if (quota->esz && quota->charged_sz + sz > quota->esz) { in damos_apply_scheme() 1781 if (quota->esz && quota->charged_sz >= quota->esz) { in damos_apply_scheme() 1800 struct damos_quota *quota = &s->quota; in damon_do_apply_schemes() local 1809 if (quota->esz && quota->charged_sz >= quota->esz) in damon_do_apply_schemes() 1935 quota->esz = quota->sz; in damos_set_effective_quota() 1957 if (quota->sz && quota->sz < esz) in damos_set_effective_quota() 1965 struct damos_quota *quota = &s->quota; in damos_adjust_quota() local 1971 if (!quota->ms && !quota->sz && list_empty("a->goals)) in damos_adjust_quota() [all …]
|
| H 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);
|
| H 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() 164 "a, in damon_lru_sort_new_scheme()
|
| H A 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.15/Documentation/scheduler/ |
| H 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.15/Documentation/filesystems/ |
| H 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
|
| H A D | tmpfs.rst | 129 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 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. 148 and can't be changed on remount. Default global quota limits are taking [all …]
|
| /linux-6.15/arch/powerpc/platforms/pseries/ |
| H A D | msi.c | 218 int quota; member 261 if (req < counts->quota) in count_spare_msis() 262 counts->spare += counts->quota - req; in count_spare_msis() 263 else if (req > counts->quota) in count_spare_msis() 301 if (request <= counts.quota) in msi_quota_for_device() 318 request = min(counts.quota, request); in msi_quota_for_device() 348 int quota, rc; in rtas_prepare_msi_irqs() local 362 if (quota && quota < nvec) in rtas_prepare_msi_irqs() 363 return quota; in rtas_prepare_msi_irqs() 371 quota = msi_quota_for_device(pdev, m); in rtas_prepare_msi_irqs() [all …]
|
| /linux-6.15/tools/testing/selftests/net/tcp_ao/ |
| H A D | seq-ext.c | 15 const unsigned int quota = nr_packets * msg_len; variable 28 new_seq2 = ((uint32_t)-1) - (quota - 2 * msg_len); in test_adjust_seqs() 30 new_seq1 = ((uint32_t)-1) - (quota - 2 * msg_len); in test_adjust_seqs() 92 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in server_fn() 93 if (bytes != quota) { in server_fn() 128 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in server_fn() 129 if (bytes != quota) { in server_fn()
|
| H A D | rst.c | 29 const size_t quota = 1000; variable 111 bytes = test_server_run(sk, quota, 0); in test_server_active_rst() 112 if (bytes != quota) in test_server_active_rst() 153 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in test_server_passive_rst() 154 if (bytes != quota) { in test_server_passive_rst() 290 if (test_client_verify(sk[0], packet_sz, quota / packet_sz)) in test_client_active_rst() 343 if (test_client_verify(sk, packet_sz, quota / packet_sz)) in test_client_passive_rst() 419 err = test_client_verify(sk, packet_sz, quota / packet_sz); in test_client_passive_rst()
|
| H A D | restore.c | 13 const size_t quota = nr_packets * msg_len; variable 44 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in try_server_run() 45 if (bytes != quota) { in try_server_run() 54 bytes = test_skpair_server(sk, quota, poll_cnt, &dummy); in try_server_run() 61 if (bytes != quota) in try_server_run()
|
| H A D | key-management.c | 9 const size_t quota = nr_packets * msg_len; variable 822 if (bytes != quota) in start_server() 854 sk = start_server(tst_name, port, quota, &tmp, in try_server_run() 860 size_t quota, unsigned int rotations, in server_rotations() argument 876 if (bytes != quota) { in server_rotations() 1149 port++, quota, 19, 19); in server_fn() 1151 port++, quota, 10, 10); in server_fn() 1153 port++, quota, 5, 10); in server_fn() 1155 port++, quota * 2, 5, 10); in server_fn() 1157 quota, 20, 0, 0); in server_fn() [all …]
|
| /linux-6.15/tools/testing/selftests/damon/ |
| H A D | _damon_sysfs.py | 93 quota = None # owner quota variable in DamosQuotaGoal 102 return os.path.join(self.quota.sysfs_dir(), 'goals', '%d' % self.idx) 133 goal.quota = self 188 quota = None variable in Damos 198 quota=DamosQuota(), apply_interval_us=0): argument 202 self.quota = quota 203 self.quota.scheme = self 222 err = self.quota.stage() 475 for goal in scheme.quota.goals: 477 os.path.join(scheme.quota.sysfs_dir(), [all …]
|
| /linux-6.15/drivers/staging/vc04_services/interface/vchiq_arm/ |
| H A D | vchiq_core.c | 447 complete("a->quota_event); in mark_service_closing_internal() 1016 while ((quota->message_use_count == quota->message_quota) || in queue_message() 1018 (quota->slot_use_count == quota->slot_quota))) { in queue_message() 1023 quota->message_use_count, quota->slot_use_count); in queue_message() 1085 quota->message_use_count++; in queue_message() 2825 quota->previous_tx_index = in vchiq_add_service_internal() 3744 quota->slot_quota = value; in vchiq_set_service_option() 3746 (quota->message_quota >= quota->message_use_count)) in vchiq_set_service_option() 3764 (quota->slot_quota >= quota->slot_use_count)) in vchiq_set_service_option() 3865 quota->message_use_count, quota->message_quota, in vchiq_dump_service_state() [all …]
|
| /linux-6.15/Documentation/translations/zh_CN/scheduler/ |
| H 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.15/Documentation/filesystems/ext4/ |
| H A D | special_inodes.rst | 21 - User quota. 23 - Group quota. 53 - Inode number of quota file tracking project quotas
|
| /linux-6.15/include/linux/ |
| H A D | damon.h | 511 struct damos_quota quota; member 836 #define damos_for_each_quota_goal(goal, quota) \ argument 837 list_for_each_entry(goal, "a->goals, list) 839 #define damos_for_each_quota_goal_safe(goal, next, quota) \ argument 840 list_for_each_entry_safe(goal, next, &(quota)->goals, list) 891 struct damos_quota *quota,
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | binding.h | 73 __le32 quota; member 107 __le32 quota; member
|
| /linux-6.15/drivers/net/wireless/ath/wil6210/ |
| H 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.15/kernel/sched/ |
| H A D | core.c | 9474 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth() 9477 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth() 9503 cfs_b->quota = quota; in tg_set_cfs_bandwidth() 9571 quota = tg->cfs_bandwidth.quota; in tg_set_cfs_period() 9596 quota = tg->cfs_bandwidth.quota; in tg_set_cfs_burst() 9663 quota = d->quota; in normalize_cfs_quota() 9670 if (quota == RUNTIME_INF || quota == -1) in normalize_cfs_quota() 9701 quota = min(quota, parent_quota); in tg_cfs_schedulable_down() 9719 .quota = quota, in __cfs_schedulable() 10004 if (quota < 0) in cpu_period_quota_print() [all …]
|