/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | quota.c | 112 u32 quota = le32_to_cpu(data->quota); in iwl_mvm_adjust_quota_for_noa() local 117 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa() 118 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa() 121 le32_to_cpu(data->quota), quota); in iwl_mvm_adjust_quota_for_noa() 123 data->quota = cpu_to_le32(quota); in iwl_mvm_adjust_quota_for_noa() 133 int i, idx, err, num_active_macs, quota, quota_rem, n_non_lowlat; in iwl_mvm_update_quotas() local 190 quota = (QUOTA_100 - QUOTA_LOWLAT_MIN) / n_non_lowlat; in iwl_mvm_update_quotas() 191 quota_rem = QUOTA_100 - n_non_lowlat * quota - in iwl_mvm_update_quotas() 195 quota); in iwl_mvm_update_quotas() 202 quota = QUOTA_100 / num_active_macs; in iwl_mvm_update_quotas() [all …]
|
/openbmc/linux/mm/damon/ |
H A D | core.c | 302 static struct damos_quota *damos_quota_init_priv(struct damos_quota *quota) in damos_quota_init_priv() argument 304 quota->total_charged_sz = 0; in damos_quota_init_priv() 305 quota->total_charged_ns = 0; in damos_quota_init_priv() 306 quota->esz = 0; in damos_quota_init_priv() 307 quota->charged_sz = 0; in damos_quota_init_priv() 308 quota->charged_from = 0; in damos_quota_init_priv() 309 quota->charge_target_from = NULL; in damos_quota_init_priv() 310 quota->charge_addr_from = 0; in damos_quota_init_priv() 311 return quota; in damos_quota_init_priv() 317 struct damos_quota *quota, in damon_new_scheme() argument [all …]
|
H A D | modules-common.h | 20 #define DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(quota) \ argument 21 module_param_named(quota_ms, quota.ms, ulong, 0600); \ 23 quota.reset_interval, ulong, 0600); 25 #define DEFINE_DAMON_MODULES_DAMOS_QUOTAS(quota) \ argument 26 DEFINE_DAMON_MODULES_DAMOS_TIME_QUOTA(quota) \ 27 module_param_named(quota_sz, quota.sz, ulong, 0600);
|
H A D | lru_sort.c | 151 struct damos_quota quota = damon_lru_sort_quota; in damon_lru_sort_new_scheme() local 154 quota.ms = quota.ms / 2; in damon_lru_sort_new_scheme() 164 "a, in damon_lru_sort_new_scheme() 224 damon_lru_sort_copy_quota_status(&hot_scheme->quota, in damon_lru_sort_apply_parameters() 225 &old_hot_scheme->quota); in damon_lru_sort_apply_parameters() 234 damon_lru_sort_copy_quota_status(&cold_scheme->quota, in damon_lru_sort_apply_parameters() 235 &old_cold_scheme->quota); in damon_lru_sort_apply_parameters()
|
H A D | dbgfs.c | 152 s->quota.ms, s->quota.sz, in sprint_schemes() 153 s->quota.reset_interval, in sprint_schemes() 154 s->quota.weight_sz, in sprint_schemes() 155 s->quota.weight_nr_accesses, in sprint_schemes() 156 s->quota.weight_age, in sprint_schemes() 249 struct damos_quota quota = {}; in str_to_schemes() local 259 &action_input, "a.ms, in str_to_schemes() 260 "a.sz, "a.reset_interval, in str_to_schemes() 261 "a.weight_sz, "a.weight_nr_accesses, in str_to_schemes() 262 "a.weight_age, &wmarks.metric, in str_to_schemes() [all …]
|
H A D | ops-common.c | 79 unsigned int freq_weight = s->quota.weight_nr_accesses; in damon_hot_score() 80 unsigned int age_weight = s->quota.weight_age; in damon_hot_score()
|
/openbmc/linux/fs/quota/ |
H A D | Kconfig | 13 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 …]
|
/openbmc/qemu/system/ |
H A D | dirtylimit.c | 60 uint64_t quota; member 256 static inline bool dirtylimit_done(uint64_t quota, in dirtylimit_done() argument 261 min = MIN(quota, current); in dirtylimit_done() 262 max = MAX(quota, current); in dirtylimit_done() 268 dirtylimit_need_linear_adjustment(uint64_t quota, in dirtylimit_need_linear_adjustment() argument 273 min = MIN(quota, current); in dirtylimit_need_linear_adjustment() 274 max = MAX(quota, current); in dirtylimit_need_linear_adjustment() 280 uint64_t quota, in dirtylimit_set_throttle() argument 294 if (dirtylimit_need_linear_adjustment(quota, current)) { in dirtylimit_set_throttle() 295 if (quota < current) { in dirtylimit_set_throttle() [all …]
|
/openbmc/linux/net/netfilter/ |
H A 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() 97 atomic64_set(&priv->quota, quota); in nft_quota_do_init() 126 newquota = atomic64_read(&newpriv->quota); in nft_quota_obj_update() 127 atomic64_set(&priv->quota, newquot in nft_quota_obj_update() 134 u64 consumed, consumed_cap, quota; nft_quota_do_dump() local [all...] |
H A 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()
|
H A D | nfnetlink_acct.c | 120 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()
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-bwc.rst | 12 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 41 quota; this enables one to describe u_i as a statistical distribution. 51 have a p(95)*p(95) = 90.25% chance both tasks are within their quota and 53 both tasks will exceed their quota at the same time (guaranteed deadline [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A 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
|
H A D | tmpfs.rst | 129 tmpfs also supports quota with the following mount options 132 quota User and group quota accounting and enforcement 134 system quota files that are initialized on mount. 135 usrquota User quota accounting and enforcement is enabled 137 grpquota Group quota accounting and enforcement is enabled 139 usrquota_block_hardlimit Set global user quota block hard limit. 140 usrquota_inode_hardlimit Set global user quota inode hard limit. 141 grpquota_block_hardlimit Set global group quota block hard limit. 142 grpquota_inode_hardlimit Set global group quota inode hard limit. 145 None of the quota related mount options can be set or changed on remount. [all …]
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | msi.c | 216 int quota; member 259 if (req < counts->quota) in count_spare_msis() 260 counts->spare += counts->quota - req; in count_spare_msis() 261 else if (req > counts->quota) in count_spare_msis() 298 counts.quota = total / counts.num_devices; in msi_quota_for_device() 299 if (request <= counts.quota) in msi_quota_for_device() 313 counts.quota += counts.spare / counts.over_quota; in msi_quota_for_device() 316 request = min(counts.quota, request); in msi_quota_for_device() 346 int quota, rc; in rtas_prepare_msi_irqs() local 358 quota = msi_quota_for_device(pdev, nvec); in rtas_prepare_msi_irqs() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-rng.c | 36 static size_t get_request_size(VirtQueue *vq, unsigned quota) in get_request_size() argument 40 virtqueue_get_avail_bytes(vq, &in, &out, quota, 0); in get_request_size() 98 unsigned quota; in virtio_rng_process() local 111 quota = 0; in virtio_rng_process() 113 quota = MIN((uint64_t)vrng->quota_remaining, (uint64_t)UINT32_MAX); in virtio_rng_process() 115 size = get_request_size(vrng->vq, quota); in virtio_rng_process() 117 trace_virtio_rng_request(vrng, size, quota); in virtio_rng_process()
|
/openbmc/openbmc/poky/meta/recipes-extended/quota/ |
H A D | quota_4.09.bb | 10 SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \ 17 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/linuxquota/files/quota-tools/" 18 UPSTREAM_CHECK_REGEX = "/quota-tools/(?P<pver>(\d+[\.\-_]*)+)/"
|
/openbmc/linux/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_core.c | 437 struct vchiq_service_quota *quota; in mark_service_closing_internal() local 456 quota = &state->service_quotas[service->localport]; in mark_service_closing_internal() 457 complete("a->quota_event); in mark_service_closing_internal() 738 struct vchiq_service_quota *quota = &state->service_quotas[port]; in process_free_data_message() local 742 count = quota->message_use_count; in process_free_data_message() 744 quota->message_use_count = count - 1; in process_free_data_message() 747 if (count == quota->message_quota) { in process_free_data_message() 752 complete("a->quota_event); in process_free_data_message() 756 port, quota->message_use_count, header, msgid, header->msgid, in process_free_data_message() 765 count = quota->slot_use_count; in process_free_data_message() [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/quota/quota/ |
H A D | 0001-Fix-building-on-musl.patch | 15 quota.c | 1 + 77 die(1, _("Cannot get quota information for user %s\n"), *argv); 95 die(1, _("Cannot get quota information for user %s.\n"), *argv); 97 diff --git a/quota.c b/quota.c 99 --- a/quota.c 100 +++ b/quota.c 144 #include "quota.h"
|
/openbmc/openbmc/poky/meta/recipes-extended/watchdog/watchdog/ |
H A D | 0001-shutdown-Do-not-guard-sys-quota.h-sys-swap.h-and-sys.patch | 4 Subject: [PATCH] shutdown: Do not guard sys/quota.h sys/swap.h and 26 #include <sys/quota.h> 30 -#include <linux/quota.h>
|
/openbmc/linux/Documentation/translations/zh_CN/scheduler/ |
H A D | sched-bwc.rst | 174 # 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 */
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | special_inodes.rst | 21 - User quota. 23 - Group quota. 53 - Inode number of quota file tracking project quotas
|
/openbmc/qemu/include/sysemu/ |
H A D | dirtylimit.h | 32 uint64_t quota, 34 void dirtylimit_set_all(uint64_t quota,
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | binding.h | 75 __le32 quota; member 109 __le32 quota; member
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A 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()
|