Home
last modified time | relevance | path

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

12345

/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 "Additional quota sanity checks"
33 If you say Y here, quota subsystem will perform some additional
34 sanity checks of quota internal structures. If unsure, say N.
36 # Generic support for tree structured quota files. Selected when needed.
41 tristate "Old quota format support"
44 This quota format was (is) used by kernels earlier than 2.4.22. If
[all …]
H A DMakefile6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
/linux/mm/damon/
H A Dcore.c668 /* initialize fields of @quota that normally API users wouldn't set */
669 static struct damos_quota *damos_quota_init(struct damos_quota *quota) in damos_quota_init() argument
671 quota->esz = 0; in damos_quota_init()
672 quota->total_charged_sz = 0; in damos_quota_init()
673 quota->total_charged_ns = 0; in damos_quota_init()
674 quota->charged_sz = 0; in damos_quota_init()
675 quota->charged_from = 0; in damos_quota_init()
676 quota->charge_target_from = NULL; in damos_quota_init()
677 quota->charge_addr_from = 0; in damos_quota_init()
678 quota in damos_quota_init()
685 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
1764 struct damos_quota *quota = &scheme->quota; __damon_commit_ctx() local
2297 damos_quota_is_set(struct damos_quota * quota) damos_quota_is_set() argument
2343 struct damos_quota *quota = &s->quota; damos_skip_charged_region() local
2544 damos_charge_quota(struct damos_quota * quota,unsigned long sz_region,unsigned long sz_applied) damos_charge_quota() argument
2561 damos_quota_is_full(struct damos_quota * quota,unsigned long min_region_sz) damos_quota_is_full() argument
2578 struct damos_quota *quota = &s->quota; damos_apply_scheme() local
2652 struct damos_quota *quota = &s->quota; damon_do_apply_schemes() local
3053 struct damos_quota *quota = &s->quota; damos_quota_score() local
3068 struct damos_quota *quota = &s->quota; damos_goal_tune_esz_bp_consist() local
3078 struct damos_quota *quota = &s->quota; damos_goal_tune_esz_bp_temporal() local
3094 struct damos_quota *quota = &s->quota; damos_set_effective_quota() local
3129 damos_trace_esz(struct damon_ctx * c,struct damos * s,struct damos_quota * quota) damos_trace_esz() argument
3144 struct damos_quota *quota = &s->quota; damos_adjust_quota() local
[all...]
H A Dmodules-common.h18 #define DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(quota) \ argument
19 module_param_named(quota_ms, quota.ms, ulong, 0600); \
21 quota.reset_interval, ulong, 0600);
23 #define DEFINE_DAMON_MODULES_DAMOS_QUOTAS(quota) \ argument
24 DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(quota) \
25 module_param_named(quota_sz, quota.sz, ulong, 0600);
/linux/net/netfilter/
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()
/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 Dceph.rst81 The quota can restrict the number of bytes or the number of files stored
83 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg::
85 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir
86 getfattr -n ceph.quota.max_bytes /some/dir
190 directory quota.
/linux/arch/powerpc/platforms/pseries/
H A Dmsi.c223 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 Dsysfs.py66 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.py98 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 Ddrgn_dump_damon_status.py107 def damos_quota_to_dict(quota):
108 return to_dict(quota, [ argument
175 ['quota', damos_quota_to_dict],
/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 Dkey-management.c9 const size_t quota = nr_packets * msg_len; variable
779 static int start_server(const char *tst_name, unsigned int port, size_t quota, in start_server() argument
807 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in start_server()
808 if (bytes != quota) in start_server()
834 static void try_server_run(const char *tst_name, unsigned int port, size_t quota, in try_server_run() argument
840 sk = start_server(tst_name, port, quota, &tmp, in try_server_run()
846 size_t quota, unsigned int rotations, in server_rotations() argument
853 sk = start_server(tst_name, port, quota, &tmp, in server_rotations()
861 bytes = test_server_run(sk, quota, TEST_TIMEOUT_SEC); in server_rotations()
862 if (bytes != quota) { in server_rotations()
[all …]
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()
/linux/drivers/platform/raspberrypi/vchiq-interface/
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/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/drivers/net/can/c_can/
H A Dc_can_main.c818 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()
1072 static int c_can_poll(struct napi_struct *napi, int quota) in c_can_poll() argument
1128 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll()
[all …]
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c591 static ssize_t _test_server_run(int sk, ssize_t quota, struct tcp_counters *c, in _test_server_run() argument
623 } while (!quota || total < quota); in _test_server_run()
628 ssize_t test_server_run(int sk, ssize_t quota, time_t timeout_sec) in test_server_run() argument
630 return _test_server_run(sk, quota, NULL, 0, NULL, in test_server_run()
634 int test_skpair_server(int sk, ssize_t quota, test_cnt cond, volatile int *err) in test_skpair_server() argument
644 ret = _test_server_run(sk, quota, &c, cond, err, TEST_TIMEOUT_SEC); in test_skpair_server()
/linux/drivers/net/can/dev/
H A Drx-offload.c42 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 Dxt_quota.h17 __aligned_u64 quota; member
/linux/drivers/net/ethernet/sfc/
H A Dnic_common.h177 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/fs/gfs2/
H A DMakefile7 ops_fstype.o inode.o quota.o \

12345