/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | quota.c | 167 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 …]
|
/kernel/linux/linux-5.10/fs/quota/ |
D | Kconfig | 14 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 …]
|
D | Makefile | 6 obj-$(CONFIG_QUOTACTL) += quota.o kqid.o
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_quota.c | 16 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 …]
|
D | xt_quota2.c | 36 u_int64_t quota; member 70 seq_printf(m, "%llu\n", e->quota); in quota_proc_show() 99 if (temp > 0 || -temp < e->quota) in quota_proc_write() 100 e->quota += temp; in quota_proc_write() 102 e->quota = 0; in quota_proc_write() 108 if (temp < 0 || temp < e->quota) in quota_proc_write() 109 e->quota -= temp; in quota_proc_write() 111 e->quota = 0; in quota_proc_write() 115 e->quota = simple_strtoull(buf, NULL, 0); in quota_proc_write() 141 e->quota = q->quota; in q2_new_counter() [all …]
|
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()
|
D | nfnetlink_acct.c | 109 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() 166 u64 *quota = (u64 *)acct->data; in nfnl_acct_fill_info() local 169 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota), in nfnl_acct_fill_info() 462 u64 *quota; in nfnl_acct_overquota() local 469 quota = (u64 *)nfacct->data; in nfnl_acct_overquota() 473 ret = now > *quota; in nfnl_acct_overquota() 475 if (now >= *quota && in nfnl_acct_overquota()
|
/kernel/linux/linux-5.10/Documentation/scheduler/ |
D | sched-bwc.rst | 11 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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | msi.c | 224 int quota; member 267 if (req < counts->quota) in count_spare_msis() 268 counts->spare += counts->quota - req; in count_spare_msis() 269 else if (req > counts->quota) in count_spare_msis() 306 counts.quota = total / counts.num_devices; in msi_quota_for_device() 307 if (request <= counts.quota) in msi_quota_for_device() 321 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device() 324 request = min(counts.quota, request); in msi_quota_for_device() 374 int hwirq, virq, i, quota, rc; in rtas_setup_msi_irqs() local 388 quota = msi_quota_for_device(pdev, nvec); in rtas_setup_msi_irqs() [all …]
|
/kernel/linux/linux-5.10/Documentation/filesystems/ |
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
|
D | ceph.rst | 68 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.
|
/kernel/liteos_a/kernel/extended/plimit/ |
D | los_schedlimit.c | 41 schedLimit->quota = 0; in OsSchedLimitInit() 70 plimitDest->quota = plimitSrc->quota; in OsSchedLimitCopy() 84 if ((schedLimit->period <= 0) || (schedLimit->quota <= 0)) { in OsSchedLimitUpdateRuntime() 88 if ((schedLimit->startTime <= currTime) && (schedLimit->allRuntime < schedLimit->quota)) { in OsSchedLimitUpdateRuntime() 147 schedLimit->quota = value; in OsSchedLimitSetQuota()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/ |
D | special_inodes.rst | 21 - User quota. 23 - Group quota.
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | binding.h | 138 __le32 quota; member 172 __le32 quota; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/can/c_can/ |
D | c_can.c | 788 u32 pend, int quota) in c_can_read_objects() argument 792 while ((obj = ffs(pend)) && quota > 0) { in c_can_read_objects() 802 quota -= n; in c_can_read_objects() 820 quota--; in c_can_read_objects() 846 static int c_can_do_rx_poll(struct net_device *dev, int quota) in c_can_do_rx_poll() argument 858 while (quota > 0) { in c_can_do_rx_poll() 874 n = c_can_read_objects(dev, priv, toread, quota); in c_can_do_rx_poll() 876 quota -= n; in c_can_do_rx_poll() 1043 static int c_can_poll(struct napi_struct *napi, int quota) in c_can_poll() argument 1098 work_done += c_can_do_rx_poll(dev, (quota - work_done)); in c_can_poll() [all …]
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | core.c | 8551 static int tg_set_cfs_bandwidth(struct task_group *tg, u64 period, u64 quota) in tg_set_cfs_bandwidth() argument 8564 if (quota < min_cfs_quota_period || period < min_cfs_quota_period) in tg_set_cfs_bandwidth() 8578 if (quota != RUNTIME_INF && quota > max_cfs_runtime) in tg_set_cfs_bandwidth() 8587 ret = __cfs_schedulable(tg, period, quota); in tg_set_cfs_bandwidth() 8591 runtime_enabled = quota != RUNTIME_INF; in tg_set_cfs_bandwidth() 8592 runtime_was_enabled = cfs_b->quota != RUNTIME_INF; in tg_set_cfs_bandwidth() 8601 cfs_b->quota = quota; in tg_set_cfs_bandwidth() 8635 u64 quota, period; in tg_set_cfs_quota() local 8639 quota = RUNTIME_INF; in tg_set_cfs_quota() 8641 quota = (u64)cfs_quota_us * NSEC_PER_USEC; in tg_set_cfs_quota() [all …]
|
/kernel/linux/linux-5.10/drivers/net/can/ |
D | pch_can.c | 630 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() 697 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()
|
D | at91_can.c | 677 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()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/ |
D | xt_quota.h | 17 __aligned_u64 quota; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/ |
D | xt_quota.h | 30 __aligned_u64 quota; member
|
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/ |
D | xt_quota.h | 17 __aligned_u64 quota; member
|
/kernel/linux/linux-5.10/include/linux/netfilter/ |
D | xt_quota2.h | 19 aligned_u64 quota; member
|
/kernel/linux/linux-5.10/drivers/net/can/dev/ |
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() 62 if (work_done < quota) { in can_rx_offload_napi_poll()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | Kconfig | 56 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) -
|