Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dquota.c167 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local
172 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa()
173 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
176 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa()
178 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa()
188 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local
245 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas()
246 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas()
250 quota); in iwl_mvm_update_quotas()
257 quota = QUOTA_100 / num_active_macs; in iwl_mvm_update_quotas()
[all …]
DMakefile4 iwlmvm-y += utils.o rx.o rxmq.o tx.o binding.o quota.o sta.o sf.o
/Linux-v5.4/fs/quota/
DKconfig14 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 …]
DMakefile6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
/Linux-v5.4/net/netfilter/
Dnft_quota.c16 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()
93 atomic64_set(&priv->quota, quota); in nft_quota_do_init()
116 newquota = atomic64_read(&newpriv->quota); in nft_quota_obj_update()
117 atomic64_set(&priv->quota, newquota); in nft_quota_obj_update()
124 u64 consumed, consumed_cap, quota; in nft_quota_do_dump() local
[all …]
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()
Dnfnetlink_acct.c109 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() local
111 *quota = be64_to_cpu(nla_get_be64(tb[NFACCT_QUOTA])); in nfnl_acct_new()
171 u64 *quota = (u64 *)acct->data; in nfnl_acct_fill_info() local
174 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota), in nfnl_acct_fill_info()
467 u64 *quota; in nfnl_acct_overquota() local
474 quota = (u64 *)nfacct->data; in nfnl_acct_overquota()
478 ret = now > *quota; in nfnl_acct_overquota()
480 if (now >= *quota && in nfnl_acct_overquota()
/Linux-v5.4/Documentation/scheduler/
Dsched-bwc.rst11 The bandwidth allowed for a group is specified using a quota and period. Within
12 each given "period" (microseconds), a task group is allocated up to "quota"
13 microseconds of CPU time. That quota is assigned to per-cpu run queues in
14 slices as threads in the cgroup become runnable. Once all quota has been
15 assigned any additional requests for quota will result in those threads being
17 period when the quota is replenished.
19 A group's unassigned quota is globally tracked, being refreshed back to
43 The minimum quota allowed for the quota or period is 1ms. There is also an
95 a. it fully consumes its own quota within a period
96 b. a parent's quota is fully consumed within its period
[all …]
/Linux-v5.4/arch/powerpc/platforms/pseries/
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()
373 int hwirq, virq, i, quota, rc; in rtas_setup_msi_irqs() local
387 quota = msi_quota_for_device(pdev, nvec); in rtas_setup_msi_irqs()
[all …]
/Linux-v5.4/Documentation/filesystems/
Dquota.txt18 For more details about quota design, see the documentation in quota-tools package
24 quota subsystem traditionally printed a message to the controlling terminal of
27 Thus quota netlink interface has been designed to pass information about
33 details about this layer). The name of the quota generic netlink interface
34 is "VFS_DQUOT". Definitions of constants below are in <linux/quota.h>.
35 Since the quota netlink protocol is not namespace aware, quota netlink messages
43 - type of quota being exceeded (one of USRQUOTA, GRPQUOTA)
45 - UID/GID (depends on quota type) of user / group whose limit
Dceph.txt64 The quota can restrict the number of bytes or the number of files stored
66 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg:
68 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir
69 getfattr -n ceph.quota.max_bytes /some/dir
154 directory quota.
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/
Dbinding.h128 __le32 quota; member
162 __le32 quota; member
/Linux-v5.4/Documentation/filesystems/ext4/
Dspecial_inodes.rst21 - User quota.
23 - Group quota.
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dnetdev.c106 int quota = budget; in wil6210_netdev_poll_rx() local
109 wil_rx_handle(wil, &quota); in wil6210_netdev_poll_rx()
110 done = budget - quota; in wil6210_netdev_poll_rx()
127 int quota = budget; in wil6210_netdev_poll_rx_edma() local
130 wil_rx_handle_edma(wil, &quota); in wil6210_netdev_poll_rx_edma()
131 done = budget - quota; in wil6210_netdev_poll_rx_edma()
/Linux-v5.4/kernel/sched/
Dcore.c7367 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth() argument
7380 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth()
7397 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
7401 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
7402 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
7411 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
7445 u64 quota, period; in tg_set_cfs_quota() local
7449 quota = RUNTIME_INF; in tg_set_cfs_quota()
7451 quota = (u64)cfs_quota_us * NSEC_PER_USEC; in tg_set_cfs_quota()
7455 return tg_set_cfs_bandwidth(tg, period, quota); in tg_set_cfs_quota()
[all …]
/Linux-v5.4/fs/xfs/
DKconfig31 a per user and/or a per group basis under XFS. XFS considers quota
34 quota is also compatible with the IRIX version of XFS, allowing a
39 README.quota in the xfsprogs package. XFS quota can be used either
40 with or without the generic quota support enabled (CONFIG_QUOTA) -
/Linux-v5.4/drivers/net/can/c_can/
Dc_can.c809 u32 pend, int quota) in c_can_read_objects() argument
813 while ((obj = ffs(pend)) && quota > 0) { in c_can_read_objects()
823 quota -= n; in c_can_read_objects()
841 quota--; in c_can_read_objects()
867 static int c_can_do_rx_poll(struct net_device *dev, int quota) in c_can_do_rx_poll() argument
879 while (quota > 0) { in c_can_do_rx_poll()
895 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll()
897 quota -= n; in c_can_do_rx_poll()
1064 static int c_can_poll(struct napi_struct *napi, int quota) in c_can_poll() argument
1119 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll()
[all …]
/Linux-v5.4/drivers/net/can/
Dpch_can.c630 static int pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota) in pch_can_rx_normal() argument
658 quota--; in pch_can_rx_normal()
698 quota--; in pch_can_rx_normal()
703 } while (quota > 0); in pch_can_rx_normal()
726 static int pch_can_poll(struct napi_struct *napi, int quota) in pch_can_poll() argument
732 int quota_save = quota; in pch_can_poll()
744 quota--; in pch_can_poll()
754 if (quota == 0) in pch_can_poll()
758 quota -= pch_can_rx_normal(ndev, int_stat, quota); in pch_can_poll()
769 return quota_save - quota; in pch_can_poll()
Dat91_can.c677 static int at91_poll_rx(struct net_device *dev, int quota) in at91_poll_rx() argument
692 mb < get_mb_tx_first(priv) && quota > 0; in at91_poll_rx()
706 quota--; in at91_poll_rx()
713 if (quota > 0) in at91_poll_rx()
768 static int at91_poll_err(struct net_device *dev, int quota, u32 reg_sr) in at91_poll_err() argument
773 if (quota == 0) in at91_poll_err()
789 static int at91_poll(struct napi_struct *napi, int quota) in at91_poll() argument
797 work_done += at91_poll_rx(dev, quota - work_done); in at91_poll()
805 work_done += at91_poll_err(dev, quota - work_done, reg_sr); in at91_poll()
807 if (work_done < quota) { in at91_poll()
Drx-offload.c37 static int can_rx_offload_napi_poll(struct napi_struct *napi, int quota) in can_rx_offload_napi_poll() argument
45 while ((work_done < quota) && in can_rx_offload_napi_poll()
55 if (work_done < quota) { in can_rx_offload_napi_poll()
/Linux-v5.4/include/uapi/linux/netfilter/
Dxt_quota.h17 __aligned_u64 quota; member
/Linux-v5.4/fs/ceph/
DMakefile9 export.o caps.o snap.o xattr.o quota.o io.o \
/Linux-v5.4/fs/ntfs/
DMakefile10 ntfs-$(CONFIG_NTFS_RW) += bitmap.o lcnalloc.o logfile.o quota.o usnjrnl.o
/Linux-v5.4/fs/gfs2/
DMakefile7 ops_fstype.o inode.o quota.o \
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dnic.h372 ef4_nic_process_eventq(struct ef4_channel *channel, int quota) in ef4_nic_process_eventq() argument
374 return channel->efx->type->ev_process(channel, quota); in ef4_nic_process_eventq()
400 int ef4_farch_ev_process(struct ef4_channel *channel, int quota);

1234