| /linux/mm/damon/ |
| H A D | core.c | 531 /* initialize fields of @quota that normally API users wouldn't set */ in damon_del_target() 532 static struct damos_quota *damos_quota_init(struct damos_quota *quota) in damon_del_target() 534 quota->esz = 0; in damon_free_target() 535 quota->total_charged_sz = 0; in damon_free_target() 536 quota->total_charged_ns = 0; in damon_free_target() 537 quota->charged_sz = 0; in damon_free_target() 538 quota->charged_from = 0; in damon_free_target() 539 quota->charge_target_from = NULL; in damon_free_target() 540 quota->charge_addr_from = 0; in damon_free_target() 541 quota in damon_free_target() 396 damos_quota_init(struct damos_quota * quota) damos_quota_init() argument 412 damon_new_scheme(struct damos_access_pattern * pattern,enum damos_action action,unsigned long apply_interval_us,struct damos_quota * quota,struct damos_watermarks * wmarks,int target_nid) damon_new_scheme() argument 1805 damos_quota_is_set(struct damos_quota * quota) damos_quota_is_set() argument 1851 struct damos_quota *quota = &s->quota; damos_skip_charged_region() local 2052 struct damos_quota *quota = &s->quota; damos_apply_scheme() local 2126 struct damos_quota *quota = &s->quota; damon_do_apply_schemes() local 2354 damos_quota_score(struct damos_quota * quota) damos_quota_score() argument 2369 damos_goal_tune_esz_bp_consist(struct damos_quota * quota) damos_goal_tune_esz_bp_consist() argument 2377 damos_goal_tune_esz_bp_temporal(struct damos_quota * quota) damos_goal_tune_esz_bp_temporal() argument 2392 damos_set_effective_quota(struct damos_quota * quota,struct damon_ctx * ctx) damos_set_effective_quota() argument 2428 damos_trace_esz(struct damon_ctx * c,struct damos * s,struct damos_quota * quota) damos_trace_esz() argument 2443 struct damos_quota *quota = &s->quota; damos_adjust_quota() local [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 | 47 * automatically increases and decreases the effective level of the quota 113 /* Within the quota, mark hotter regions accessed first. */ 193 struct damos_quota quota = damon_lru_sort_quota; in damon_lru_sort_new_scheme() 195 /* Use half of total quota for hot/cold pages sorting */ in damon_lru_sort_new_scheme() 196 quota.ms = quota.ms / 2; in damon_lru_sort_new_scheme() 205 /* under the quota. */ in damon_lru_sort_new_scheme() 206 "a, in damon_lru_sort_new_scheme() 241 damos_add_quota_goal(&hot_scheme->quota, goal); in damon_lru_sort_add_quota_goals() 247 damos_add_quota_goal(&cold_scheme->quota, goa in damon_lru_sort_add_quota_goals() 192 struct damos_quota quota = damon_lru_sort_quota; damon_lru_sort_new_scheme() local [all...] |
| H A D | reclaim.c | 57 /* Within the quota, page out older regions first. */ 68 * increases and decreases the effective level of the quota aiming this level of 70 * per quota reset interval (``quota_reset_interval_ms``) is collected and 80 * User-specifiable feedback for auto-tuning of the effective quota. 83 * increases and decreases the effective level of the quota aiming receiving this 85 * value and the quota are positively proportional. Value zero means disabling 189 /* under the quota. */ in damon_reclaim_apply_parameters() 247 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_apply_parameters() 255 damos_add_quota_goal(&scheme->quota, goal); in damon_reclaim_handle_commit_inputs()
|
| /linux/net/netfilter/ |
| 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()
|
| /linux/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
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | msi.c | 223 int quota; member 266 if (req < counts->quota) in count_spare_msis() 267 counts->spare += counts->quota - req; in count_spare_msis() 268 else if (req > counts->quota) in count_spare_msis() 305 counts.quota = total / counts.num_devices; in msi_quota_for_device() 306 if (request <= counts.quota) in msi_quota_for_device() 320 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device() 323 request = min(counts.quota, request); in msi_quota_for_device() 353 int quota, rc; in rtas_prepare_msi_irqs() local 365 quota = msi_quota_for_device(pdev, nvec); in rtas_prepare_msi_irqs() [all …]
|
| /linux/tools/testing/selftests/damon/ |
| H A D | sysfs.py | 66 def assert_quota_committed(quota, dump): 67 assert_true(dump['reset_interval'] == quota.reset_interval_ms, 69 assert_true(dump['ms'] == quota.ms, 'ms', dump) 70 assert_true(dump['sz'] == quota.sz, 'sz', dump) 71 for idx, qgoal in enumerate(quota.goals): 77 assert_true(dump['goal_tuner'] == tuner_val[quota.goal_tuner], 79 assert_true(dump['fail_charge_num'] == quota.fail_charge_num, 81 assert_true(dump['fail_charge_denom'] == quota.fail_charge_denom, 83 assert_true(dump['weight_sz'] == quota.weight_sz_permil, 'weight_sz', dump) 84 assert_true(dump['weight_nr_accesses'] == quota 63 assert_quota_committed(quota, dump) global() argument [all...] |
| H A D | _damon_sysfs.py | 98 quota = None # owner quota variable in DamosQuotaGoal 108 return os.path.join(self.quota.sysfs_dir(), 'goals', '%d' % self.idx) 130 sz = None # size quota, in bytes 131 ms = None # time quota 132 goals = None # quota goals 133 goal_tuner = None # quota goal tuner 134 reset_interval_ms = None # quota reset interval 156 goal.quota = self 415 quota 392 quota = None global() variable in Damos 407 __init__(self, action='stat', access_pattern=DamosAccessPattern(), quota=DamosQuota(), watermarks=DamosWatermarks(), core_filters=[], ops_filters=[], filters=[], target_nid=0, dests=DamosDests(), apply_interval_us=0) global() argument [all...] |
| H A D | drgn_dump_damon_status.py | 108 def damos_quota_to_dict(quota): argument 109 return to_dict(quota, [ 176 ['quota', damos_quota_to_dict],
|
| /linux/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 | key-management.c | 9 const size_t quota = nr_packets * msg_len; variable 758 static int start_server(const char *tst_name, unsigned int port, size_t quota, in verify_keys() 786 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in verify_keys() 787 if (bytes != quota) in verify_keys() 813 static void try_server_run(const char *tst_name, unsigned int port, size_t quota, in start_server() 819 sk = start_server(tst_name, port, quota, &tmp, in start_server() 825 size_t quota, unsigned int rotations, in start_server() 832 sk = start_server(tst_name, port, quota, &tmp, in end_server() 840 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in end_server() 841 if (bytes != quota) { in end_server() 793 start_server(const char * tst_name,unsigned int port,size_t quota,struct tcp_counters * begin,unsigned int current_index,unsigned int rnext_index) start_server() argument 848 try_server_run(const char * tst_name,unsigned int port,size_t quota,unsigned int current_index,unsigned int rnext_index) try_server_run() argument 860 server_rotations(const char * tst_name,unsigned int port,size_t quota,unsigned int rotations,unsigned int current_index,unsigned int rnext_index) server_rotations() argument [all...] |
| 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()
|
| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_core.c | 427 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("a->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("a->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 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/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/include/linux/ |
| H A D | damon.h | 165 * @NR_DAMOS_QUOTA_GOAL_METRICS: Number of DAMOS quota goal metrics. 183 * struct damos_quota_goal - DAMOS scheme quota auto-tuning goal. 192 * Data structure for getting the current score of the quota tuning goal. The 195 * auto-tuned quota. 223 * enum damos_quota_goal_tuner - Goal-based quota tuning logic. 224 * @DAMOS_QUOTA_GOAL_TUNER_CONSIST: Aim long term consistent quota. 225 * @DAMOS_QUOTA_GOAL_TUNER_TEMPORAL: Aim zero quota asap. 237 * @goals: Head of quota tuning goals (&damos_quota_goal) list. 239 * @esz: Effective size quota in bytes. 250 * &sz, respectively. If the time quota i 580 struct damos_quota quota; global() member 895 damos_for_each_quota_goal(goal,quota) global() argument 898 damos_for_each_quota_goal_safe(goal,next,quota) global() argument [all...] |
| /linux/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/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | sock.c | 589 static ssize_t _test_server_run(int sk, ssize_t quota, struct tcp_counters *c, in _test_server_run() argument 621 } while (!quota || total < quota); in _test_server_run() 626 ssize_t test_server_run(int sk, ssize_t quota, time_t timeout_sec) in test_server_run() argument 628 return _test_server_run(sk, quota, NULL, 0, NULL, in test_server_run() 632 int test_skpair_server(int sk, ssize_t quota, test_cnt cond, volatile int *err) in test_skpair_server() argument 642 ret = _test_server_run(sk, quota, &c, cond, err, TEST_TIMEOUT_SEC); in test_skpair_server()
|
| /linux/drivers/net/can/dev/ |
| H 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()
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | xt_quota.h | 17 __aligned_u64 quota; member
|
| /linux/fs/quota/ |
| H A D | Makefile | 6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | nic_common.h | 177 efx_nic_process_eventq(struct efx_channel *channel, int quota) in efx_nic_process_eventq() argument 179 return channel->efx->type->ev_process(channel, quota); in efx_nic_process_eventq()
|
| /linux/kernel/sched/ |
| H A D | core.c | 9818 u64 period, quota, burst; in tg_set_cfs_bandwidth() 9823 quota = RUNTIME_INF; in tg_set_cfs_bandwidth() 9825 quota = (u64)quota_us * NSEC_PER_USEC; in tg_set_cfs_bandwidth() 9836 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth() 9840 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth() 9841 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth() 9851 cfs_b->quota = quota; in tg_get_cfs_period() 9899 if (tg->cfs_bandwidth.quota == RUNTIME_INF) in normalize_cfs_quota() 9902 quota_us = tg->cfs_bandwidth.quota; in normalize_cfs_quota() 9784 u64 period, quota, burst; tg_set_cfs_bandwidth() local 9883 u64 period, quota; global() member 9893 u64 quota, period; normalize_cfs_quota() local 9914 s64 quota = 0, parent_quota = -1; tg_cfs_schedulable_down() local 9948 __cfs_schedulable(struct task_group * tg,u64 period,u64 quota) __cfs_schedulable() argument 10412 cpu_period_quota_print(struct seq_file * sf,long period,long quota) cpu_period_quota_print() argument [all...] |