Home
last modified time | relevance | path

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

12345

/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dquota.c111 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local
116 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa()
117 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
120 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa()
122 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa()
132 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local
189 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas()
190 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas()
194 quota); in iwl_mvm_update_quotas()
201 quota = QUOTA_100 / num_active_macs; in iwl_mvm_update_quotas()
[all …]
/Linux-v5.15/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.15/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.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-v5.15/Documentation/scheduler/
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
50 The minimum quota allowed for the quota or period is 1ms. There is also an
102 a. it fully consumes its own quota within a period
103 b. a parent's quota is fully consumed within its period
[all …]
/Linux-v5.15/Documentation/filesystems/
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
Dceph.rst68 The quota can restrict the number of bytes or the number of files stored
70 extended attributes 'ceph.quota.max_files' and 'ceph.quota.max_bytes', eg::
72 setfattr -n ceph.quota.max_bytes -v 100000000 /some/dir
73 getfattr -n ceph.quota.max_bytes /some/dir
158 directory quota.
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dmsi.c215 int quota; member
258 if (req < counts->quota) in count_spare_msis()
259 counts->spare += counts->quota - req; in count_spare_msis()
260 else if (req > counts->quota) in count_spare_msis()
297 counts.quota = total / counts.num_devices; in msi_quota_for_device()
298 if (request <= counts.quota) in msi_quota_for_device()
312 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device()
315 request = min(counts.quota, request); in msi_quota_for_device()
366 int quota, rc; in rtas_prepare_msi_irqs() local
378 quota = msi_quota_for_device(pdev, nvec); in rtas_prepare_msi_irqs()
[all …]
/Linux-v5.15/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c434 struct vchiq_service_quota *quota; in mark_service_closing_internal() local
453 quota = &state->service_quotas[service->localport]; in mark_service_closing_internal()
454 complete(&quota->quota_event); in mark_service_closing_internal()
726 struct vchiq_service_quota *quota = &state->service_quotas[port]; in process_free_data_message() local
730 count = quota->message_use_count; in process_free_data_message()
732 quota->message_use_count = count - 1; in process_free_data_message()
735 if (count == quota->message_quota) { in process_free_data_message()
740 complete(&quota->quota_event); in process_free_data_message()
745 quota->message_use_count, in process_free_data_message()
755 count = quota->slot_use_count; in process_free_data_message()
[all …]
/Linux-v5.15/Documentation/filesystems/ext4/
Dspecial_inodes.rst21 - User quota.
23 - Group quota.
53 - Inode number of quota file tracking project quotas
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/api/
Dbinding.h83 __le32 quota; member
117 __le32 quota; member
/Linux-v5.15/drivers/net/wireless/ath/wil6210/
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-v5.15/drivers/net/can/c_can/
Dc_can_main.c823 u32 pend, int quota) in c_can_read_objects() argument
827 while ((obj = ffs(pend)) && quota > 0) { in c_can_read_objects()
839 quota -= n; in c_can_read_objects()
856 quota--; in c_can_read_objects()
885 static int c_can_do_rx_poll(struct net_device *dev, int quota) in c_can_do_rx_poll() argument
890 while (quota > 0) { in c_can_do_rx_poll()
906 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll()
908 quota -= n; in c_can_do_rx_poll()
1073 static int c_can_poll(struct napi_struct *napi, int quota) in c_can_poll() argument
1129 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll()
[all …]
/Linux-v5.15/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()
804 work_done += at91_poll_err(dev, quota - work_done, reg_sr); in at91_poll()
806 if (work_done < quota) { in at91_poll()
/Linux-v5.15/kernel/sched/
Dcore.c10173 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota, in tg_set_cfs_bandwidth() argument
10187 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth()
10201 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth()
10204 if (quota != RUNTIME_INF && (burst > quota || in tg_set_cfs_bandwidth()
10205 burst + quota > max_cfs_runtime)) in tg_set_cfs_bandwidth()
10214 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth()
10218 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10219 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth()
10228 cfs_b->quota = quota; in tg_set_cfs_bandwidth()
10263 u64 quota, period, burst; in tg_set_cfs_quota() local
[all …]
/Linux-v5.15/include/uapi/linux/netfilter/
Dxt_quota.h17 __aligned_u64 quota; member
/Linux-v5.15/fs/xfs/
DKconfig56 a per user and/or a per group basis under XFS. XFS considers quota
59 quota is also compatible with the IRIX version of XFS, allowing a
64 README.quota in the xfsprogs package. XFS quota can be used either
65 with or without the generic quota support enabled (CONFIG_QUOTA) -
/Linux-v5.15/drivers/net/can/dev/
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()
62 if (work_done < quota) { in can_rx_offload_napi_poll()
/Linux-v5.15/fs/ceph/
DMakefile9 export.o caps.o snap.o xattr.o quota.o io.o \
/Linux-v5.15/fs/ntfs/
DMakefile10 ntfs-$(CONFIG_NTFS_RW) += bitmap.o lcnalloc.o logfile.o quota.o usnjrnl.o
/Linux-v5.15/fs/gfs2/
DMakefile7 ops_fstype.o inode.o quota.o \
/Linux-v5.15/drivers/net/ethernet/sfc/
Dnic_common.h179 efx_nic_process_eventq(struct efx_channel *channel, int quota) in efx_nic_process_eventq() argument
181 return channel->efx->type->ev_process(channel, quota); in efx_nic_process_eventq()

12345