Home
last modified time | relevance | path

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

1234

/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dquota.c172 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local
177 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa()
178 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
181 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa()
183 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa()
193 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local
250 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas()
251 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas()
255 quota); in iwl_mvm_update_quotas()
262 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-v4.19/fs/quota/
DKconfig13 Note that gfs2 and xfs use their own quota system.
18 with the quota tools. Probably the quota support is only useful for
22 bool "Report quota messages through netlink interface"
25 If you say Y here, quota warnings (about exceeding softlimit, reaching
30 bool "Print quota warnings to console (OBSOLETE)"
34 If you say Y here, quota warnings (about exceeding softlimit, reaching
40 bool "Additional quota sanity checks"
44 If you say Y here, quota subsystem will perform some additional
45 sanity checks of quota internal structures. If unsure, say N.
47 # Generic support for tree structured quota files. Selected when needed.
[all …]
DMakefile6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
/Linux-v4.19/net/netfilter/
Dnft_quota.c19 u64 quota; member
27 return atomic64_add_return(skb->len, &priv->consumed) >= priv->quota; in nft_overquota()
72 u64 quota, consumed = 0; in nft_quota_do_init() local
77 quota = be64_to_cpu(nla_get_be64(tb[NFTA_QUOTA_BYTES])); in nft_quota_do_init()
78 if (quota > S64_MAX) in nft_quota_do_init()
83 if (consumed > quota) in nft_quota_do_init()
95 priv->quota = quota; in nft_quota_do_init()
122 if (consumed >= priv->quota) { in nft_quota_do_dump()
123 consumed_cap = priv->quota; in nft_quota_do_dump()
129 if (nla_put_be64(skb, NFTA_QUOTA_BYTES, cpu_to_be64(priv->quota), in nft_quota_do_dump()
Dxt_quota.c16 uint64_t quota; member
33 if (priv->quota >= skb->len) { in quota_mt()
34 priv->quota -= skb->len; in quota_mt()
38 priv->quota = 0; in quota_mt()
57 q->master->quota = q->quota; in quota_mt_check()
Dnfnetlink_acct.c112 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() local
114 *quota = be64_to_cpu(nla_get_be64(tb[NFACCT_QUOTA])); in nfnl_acct_new()
174 u64 *quota = (u64 *)acct->data; in nfnl_acct_fill_info() local
177 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota), in nfnl_acct_fill_info()
470 u64 *quota; in nfnl_acct_overquota() local
477 quota = (u64 *)nfacct->data; in nfnl_acct_overquota()
481 ret = now > *quota; in nfnl_acct_overquota()
483 if (now >= *quota && in nfnl_acct_overquota()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dmsi.c227 int quota; member
270 if (req < counts->quota) in count_spare_msis()
271 counts->spare += counts->quota - req; in count_spare_msis()
272 else if (req > counts->quota) in count_spare_msis()
309 counts.quota = total / counts.num_devices; in msi_quota_for_device()
310 if (request <= counts.quota) in msi_quota_for_device()
324 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
327 request = min(counts.quota, request); in msi_quota_for_device()
377 int hwirq, virq, i, quota, rc; in rtas_setup_msi_irqs() local
391 quota = msi_quota_for_device(pdev, nvec); in rtas_setup_msi_irqs()
[all …]
/Linux-v4.19/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.txt66 The quota can restrict the number of bytes or the number of files stored
68 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg:
70 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir
71 getfattr -n ceph.quota.max_bytes /some/dir
152 directory quota.
/Linux-v4.19/Documentation/scheduler/
Dsched-bwc.txt10 The bandwidth allowed for a group is specified using a quota and period. Within
12 "quota" microseconds of CPU time. When the CPU bandwidth consumption of a
17 A group's unused runtime is globally tracked, being refreshed with quota units
40 The minimum quota allowed for the quota or period is 1ms. There is also an
87 a. it fully consumes its own quota within a period
88 b. a parent's quota is fully consumed within its period
97 If period is 250ms and quota is also 250ms, the group will get
100 # echo 250000 > cpu.cfs_quota_us /* quota = 250ms */
105 With 500ms period and 1000ms quota, the group can get 2 CPUs worth of
108 # echo 1000000 > cpu.cfs_quota_us /* quota = 1000ms */
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/
Dbinding.h128 __le32 quota; member
162 __le32 quota; member
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/
Dspecial_inodes.rst21 - User quota.
23 - Group quota.
/Linux-v4.19/kernel/sched/
Dcore.c6506 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth() argument
6519 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth()
6536 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
6540 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
6541 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
6550 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
6584 u64 quota, period; in tg_set_cfs_quota() local
6588 quota = RUNTIME_INF; in tg_set_cfs_quota()
6590 quota = (u64)cfs_quota_us * NSEC_PER_USEC; in tg_set_cfs_quota()
6592 return tg_set_cfs_bandwidth(tg, period, quota); in tg_set_cfs_quota()
[all …]
/Linux-v4.19/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-v4.19/drivers/net/can/c_can/
Dc_can.c780 u32 pend, int quota) in c_can_read_objects() argument
784 while ((obj = ffs(pend)) && quota > 0) { in c_can_read_objects()
794 quota -= n; in c_can_read_objects()
812 quota--; in c_can_read_objects()
838 static int c_can_do_rx_poll(struct net_device *dev, int quota) in c_can_do_rx_poll() argument
850 while (quota > 0) { in c_can_do_rx_poll()
866 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll()
868 quota -= n; in c_can_do_rx_poll()
1025 static int c_can_poll(struct napi_struct *napi, int quota) in c_can_poll() argument
1068 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll()
[all …]
/Linux-v4.19/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-v4.19/drivers/net/can/
Drx-offload.c48 static int can_rx_offload_napi_poll(struct napi_struct *napi, int quota) in can_rx_offload_napi_poll() argument
56 while ((work_done < quota) && in can_rx_offload_napi_poll()
66 if (work_done < quota) { in can_rx_offload_napi_poll()
Dpch_can.c641 static int pch_can_rx_normal(struct net_device *ndev, u32 obj_num, int quota) in pch_can_rx_normal() argument
669 quota--; in pch_can_rx_normal()
709 quota--; in pch_can_rx_normal()
714 } while (quota > 0); in pch_can_rx_normal()
737 static int pch_can_poll(struct napi_struct *napi, int quota) in pch_can_poll() argument
743 int quota_save = quota; in pch_can_poll()
755 quota--; in pch_can_poll()
765 if (quota == 0) in pch_can_poll()
769 quota -= pch_can_rx_normal(ndev, int_stat, quota); in pch_can_poll()
780 return quota_save - quota; in pch_can_poll()
Dat91_can.c681 static int at91_poll_rx(struct net_device *dev, int quota) in at91_poll_rx() argument
696 mb < get_mb_tx_first(priv) && quota > 0; in at91_poll_rx()
710 quota--; in at91_poll_rx()
717 if (quota > 0) in at91_poll_rx()
772 static int at91_poll_err(struct net_device *dev, int quota, u32 reg_sr) in at91_poll_err() argument
777 if (quota == 0) in at91_poll_err()
793 static int at91_poll(struct napi_struct *napi, int quota) in at91_poll() argument
801 work_done += at91_poll_rx(dev, quota - work_done); in at91_poll()
809 work_done += at91_poll_err(dev, quota - work_done, reg_sr); in at91_poll()
811 if (work_done < quota) { in at91_poll()
/Linux-v4.19/include/uapi/linux/netfilter/
Dxt_quota.h17 __aligned_u64 quota; member
/Linux-v4.19/fs/ceph/
DMakefile9 export.o caps.o snap.o xattr.o quota.o \
/Linux-v4.19/fs/ntfs/
DMakefile10 ntfs-$(CONFIG_NTFS_RW) += bitmap.o lcnalloc.o logfile.o quota.o usnjrnl.o
/Linux-v4.19/fs/gfs2/
DMakefile7 ops_fstype.o inode.o quota.o \
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dnic.h375 ef4_nic_process_eventq(struct ef4_channel *channel, int quota) in ef4_nic_process_eventq() argument
377 return channel->efx->type->ev_process(channel, quota); in ef4_nic_process_eventq()
403 int ef4_farch_ev_process(struct ef4_channel *channel, int quota);

1234