Home
last modified time | relevance | path

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

123456

/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dquota.c94 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local
151 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas()
152 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas()
156 quota); in iwl_mvm_update_quotas()
163 quota = QUOTA_100 / num_active_macs; in iwl_mvm_update_quotas()
167 quota); in iwl_mvm_update_quotas()
170 quota = 0; in iwl_mvm_update_quotas()
184 qdata->quota = cpu_to_le32(0); in iwl_mvm_update_quotas()
187 qdata->quota = in iwl_mvm_update_quotas()
198 qdata->quota = cpu_to_le32(QUOTA_LOWLAT_MIN); in iwl_mvm_update_quotas()
[all …]
/linux/net/netfilter/
H A Dnft_quota.c16 atomic64_t quota; member
26 u64 quota = atomic64_read(&priv->quota); in nft_overquota() local
29 *report = consumed >= quota; in nft_overquota()
31 return consumed > quota; in nft_overquota()
76 u64 quota, consumed = 0; in nft_quota_do_init() local
81 quota = be64_to_cpu(nla_get_be64(tb[NFTA_QUOTA_BYTES])); in nft_quota_do_init()
82 if (quota > S64_MAX) in nft_quota_do_init()
87 if (consumed > quota) in nft_quota_do_init()
103 atomic64_set(&priv->quota, quota); in nft_quota_do_init()
132 newquota = atomic64_read(&newpriv->quota); in nft_quota_obj_update()
[all …]
H 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()
H 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/fs/quota/
H A DKconfig13 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"
24 If you say Y here, quota warnings (about exceeding softlimit, reaching
29 bool "Print quota warnings to console (OBSOLETE)"
33 If you say Y here, quota warnings (about exceeding softlimit, reaching
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.
46 # Generic support for tree structured quota files. Selected when needed.
[all …]
/linux/mm/damon/
H A Dcore.c364 static struct damos_quota *damos_quota_init(struct damos_quota *quota) in damos_quota_init() argument
366 quota->esz = 0; in damos_quota_init()
367 quota->total_charged_sz = 0; in damos_quota_init()
368 quota->total_charged_ns = 0; in damos_quota_init()
369 quota->charged_sz = 0; in damos_quota_init()
370 quota->charged_from = 0; in damos_quota_init()
371 quota->charge_target_from = NULL; in damos_quota_init()
372 quota->charge_addr_from = 0; in damos_quota_init()
373 quota->esz_bp = 0; in damos_quota_init()
374 return quota; in damos_quota_init()
[all …]
H 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);
H A Dlru_sort.c158 struct damos_quota quota = damon_lru_sort_quota; in damon_lru_sort_new_scheme() local
161 quota.ms = quota.ms / 2; in damon_lru_sort_new_scheme()
171 &quota, in damon_lru_sort_new_scheme()
/linux/Documentation/scheduler/
H A 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/Documentation/filesystems/
H 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
H A 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/arch/powerpc/platforms/pseries/
H A Dmsi.c218 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()
300 counts.quota = total / counts.num_devices; in msi_quota_for_device()
301 if (request <= counts.quota) in msi_quota_for_device()
315 counts.quota += counts.spare / counts.over_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
360 quota = msi_quota_for_device(pdev, nvec); in rtas_prepare_msi_irqs()
[all …]
/linux/tools/testing/selftests/damon/
H A Dsysfs.py63 def assert_quota_committed(quota, dump): argument
64 assert_true(dump['reset_interval'] == quota.reset_interval_ms,
66 assert_true(dump['ms'] == quota.ms, 'ms', dump)
67 assert_true(dump['sz'] == quota.sz, 'sz', dump)
68 for idx, qgoal in enumerate(quota.goals):
70 assert_true(dump['weight_sz'] == quota.weight_sz_permil, 'weight_sz', dump)
71 assert_true(dump['weight_nr_accesses'] == quota.weight_nr_accesses_permil,
74 dump['weight_age'] == quota.weight_age_permil, 'weight_age', dump)
131 assert_quota_committed(scheme.quota, dump['quota'])
215 quota=_damon_sysfs.DamosQuota(
H A D_damon_sysfs.py98 quota = None # owner quota variable in DamosQuotaGoal
108 return os.path.join(self.quota.sysfs_dir(), 'goals', '%d' % self.idx)
151 goal.quota = self
392 quota = None variable in Damos
407 quota=DamosQuota(), watermarks=DamosWatermarks(), argument
413 self.quota = quota
414 self.quota.scheme = self
449 err = self.quota.stage()
762 for goal in scheme.quota.goals:
764 os.path.join(scheme.quota.sysfs_dir(),
[all …]
/linux/tools/testing/selftests/net/tcp_ao/
H A Dseq-ext.c15 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 Drst.c29 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 Drestore.c13 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 Dkey-management.c9 const size_t quota = nr_packets * msg_len; variable
793 static int start_server(const char *tst_name, unsigned int port, size_t quota, in start_server() argument
821 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in start_server()
822 if (bytes != quota) in start_server()
848 static void try_server_run(const char *tst_name, unsigned int port, size_t quota, in try_server_run() argument
854 sk = start_server(tst_name, port, quota, &tmp, in try_server_run()
860 size_t quota, unsigned int rotations, in server_rotations() argument
867 sk = start_server(tst_name, port, quota, &tmp, in server_rotations()
875 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in server_rotations()
876 if (bytes != quota) { in server_rotations()
[all …]
/linux/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.c427 struct vchiq_service_quota *quota; in mark_service_closing_internal() local
446 quota = &state->service_quotas[service->localport]; in mark_service_closing_internal()
447 complete(&quota->quota_event); in mark_service_closing_internal()
764 struct vchiq_service_quota *quota = &state->service_quotas[port]; in process_free_data_message() local
768 count = quota->message_use_count; in process_free_data_message()
770 quota->message_use_count = count - 1; in process_free_data_message()
773 if (count == quota->message_quota) { in process_free_data_message()
778 complete(&quota->quota_event); in process_free_data_message()
782 port, quota->message_use_count, header, msgid, in process_free_data_message()
791 count = quota->slot_use_count; in process_free_data_message()
[all …]
/linux/Documentation/translations/zh_CN/scheduler/
H 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/Documentation/filesystems/ext4/
H A Dspecial_inodes.rst21 - User quota.
23 - Group quota.
53 - Inode number of quota file tracking project quotas
/linux/include/linux/
H A Ddamon.h537 struct damos_quota quota; member
848 #define damos_for_each_quota_goal(goal, quota) \ argument
849 list_for_each_entry(goal, &quota->goals, list)
851 #define damos_for_each_quota_goal_safe(goal, next, quota) \ argument
852 list_for_each_entry_safe(goal, next, &(quota)->goals, list)
903 struct damos_quota *quota,
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dbinding.h73 __le32 quota; member
107 __le32 quota; member
/linux/drivers/net/wireless/ath/wil6210/
H 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/Documentation/admin-guide/mm/damon/
H A Dreclaim.rst111 The time/size quota charge reset interval in milliseconds.
113 The charget reset interval for the quota of time (quota_ms) and size
126 increases and decreases the effective level of the quota aiming this level of
128 per quota reset interval (``quota_reset_interval_ms``) is collected and
137 User-specifiable feedback for auto-tuning of the effective quota.
140 increases and decreases the effective level of the quota aiming receiving this
142 value and the quota are positively proportional. Value zero means disabling
275 Number of times that the time/space quota limits have exceeded.

123456