/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | pids.rst | 6 -------- 9 new tasks from being fork()'d or clone()'d after a certain limit is reached. 11 Since it is trivial to hit the task limit without hitting any kmemcg limits in 17 ----- 21 number of processes currently in the cgroup is given by pids.current. 24 to have pids.current > pids.max. This can be done by either setting the limit to 25 be smaller than pids.current, or attaching enough processes to the cgroup such 26 that pids.current > pids.max. However, it is not possible to violate a cgroup 27 policy through fork() or clone(). fork() and clone() will return -EAGAIN if the 30 To set a cgroup to have no limit, set pids.max to "max". This is the default for [all …]
|
H A D | hugetlb.rst | 7 # mount -t cgroup -o hugetlb none /sys/fs/cgroup 19 The above steps create a new group g1 and move the current shell 24 …hugetlb.<hugepagesize>.rsvd.limit_in_bytes # set/show limit of "hugepagesize" hugetlb r… 25 …rsvd.max_usage_in_bytes # show max "hugepagesize" hugetlb reservations and no-reserve faults 26 …hugetlb.<hugepagesize>.rsvd.usage_in_bytes # show current reservations and no-reserve f… 27 ….failcnt # show the number of allocation failure due to HugeTLB reservation limit 28 …hugetlb.<hugepagesize>.limit_in_bytes # set/show limit of "hugepagesize" hugetlb f… 30 …hugetlb.<hugepagesize>.usage_in_bytes # show current usage for "hugepagesize" huge… 31 …>.failcnt # show the number of allocation failure due to HugeTLB usage limit 75 The HugeTLB controller allows users to limit the HugeTLB usage (page fault) per [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | rohm,bd99954.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 11 - Markus Laine <markus.laine@fi.rohmeurope.com> 12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com> 15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion 16 secondary battery intended to be used in space-constraint equipment such 18 provides a Dual-source Battery Charger, two port BC1.2 detection and a 21 $ref: power-supply.yaml# [all …]
|
H A D | qcom,pm8941-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Switch-Mode Battery Charger and Boost 10 - Sebastian Reichel <sre@kernel.org> 15 - qcom,pm8226-charger 16 - qcom,pm8941-charger 23 - description: charge done 24 - description: charge fast mode [all …]
|
H A D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: true [all …]
|
H A D | x-powers,axp20x-usb-power-supply.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: AXP20x USB power-supply 12 current to 100mA, unlike the latter. 15 - Chen-Yu Tsai <wens@csie.org> 16 - Sebastian Reichel <sre@kernel.org> 21 - enum: 22 - x-powers,axp192-usb-power-supply [all …]
|
H A D | bq25980.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 15 for use in high-power density portable electronics. These inductorless 20 - $ref: power-supply.yaml# 25 - ti,bq25980 26 - ti,bq25975 27 - ti,bq25960 32 ti,watchdog-timeout-ms: [all …]
|
H A D | bq256xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Andrew Davis <afd@ti.com> 14 The bq256xx devices are a family of highly-integrated battery charge 15 management and system power management ICs for single cell Li-ion and Li- 19 - https://www.ti.com/lit/ds/symlink/bq25600.pdf 20 - https://www.ti.com/lit/ds/symlink/bq25601.pdf 21 - https://www.ti.com/lit/ds/symlink/bq25600d.pdf 22 - https://www.ti.com/lit/ds/symlink/bq25601d.pdf [all …]
|
H A D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 device-chemistry: [all …]
|
H A D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2415x Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - ti,bq24150 20 - ti,bq24150a 21 - ti,bq24151 22 - ti,bq24151a [all …]
|
/linux/Documentation/power/regulator/ |
H A D | overview.rst | 2 Linux voltage and current regulator framework 9 voltage and current regulators. 13 regulators (where voltage output is controllable) and current sinks (where 14 current limit is controllable). 26 - Regulator 27 - Electronic device that supplies power to other devices. 29 some can control their output voltage and or current. 31 Input Voltage -> Regulator -> Output Voltage 34 - PMIC 35 - Power Management IC. An IC that contains numerous [all …]
|
/linux/fs/quota/ |
H A D | quotaio_v2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * Definitions of magics and versions of current quota files 35 * (as it appears on disk) - the file is a radix tree whose leaves point 40 __le32 dqb_ihardlimit; /* absolute limit on allocated inodes */ 41 __le32 dqb_isoftlimit; /* preferred inode limit */ 42 __le32 dqb_curinodes; /* current # allocated inodes */ 43 __le32 dqb_bhardlimit; /* absolute limit on disk space (in QUOTABLOCK_SIZE) */ 44 __le32 dqb_bsoftlimit; /* preferred limit on disk space (in QUOTABLOCK_SIZE) */ 45 __le64 dqb_curspace; /* current space occupied (in bytes) */ 46 __le64 dqb_btime; /* time limit for excessive disk use */ [all …]
|
H A D | quotaio_v1.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * their soft limit, it is reset when they go below their soft limit. 18 * (as it appears on disk) - the file is an array of these structures 22 __u32 dqb_bhardlimit; /* absolute limit on disk blks alloc */ 23 __u32 dqb_bsoftlimit; /* preferred limit on disk blks */ 24 __u32 dqb_curblocks; /* current block count */ 25 __u32 dqb_ihardlimit; /* absolute limit on allocated inodes */ 26 __u32 dqb_isoftlimit; /* preferred inode limit */ 27 __u32 dqb_curinodes; /* current # allocated inodes */ 29 /* below fields differ in length on 32-bit vs 64-bit architectures */ [all …]
|
/linux/Documentation/devicetree/bindings/leds/backlight/ |
H A D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 11 - Kiran Gunda <quic_kgunda@quicinc.com> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux/Documentation/hwmon/ |
H A D | ina209.rst | 6 * Burr-Brown / Texas Instruments INA209 10 Addresses scanned: - 16 - Paul Hays <Paul.Hays@cattail.ca> 17 - Ira W. Snyder <iws@ovro.caltech.edu> 18 - Guenter Roeck <linux@roeck-us.net> 22 ----------- 24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 27 calibration multiplier to scale the displayed current and power values. 31 ------------- 44 in0_max shunt voltage max alarm limit (mV) [all …]
|
H A D | max16065.rst | 11 Addresses scanned: - 15 http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf 21 Addresses scanned: - 25 http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf 31 Addresses scanned: - 35 http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf 41 Addresses scanned: - 45 http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf 47 Author: Guenter Roeck <linux@roeck-us.net> 51 ----------- [all …]
|
H A D | acbel-fsg032.rst | 1 Kernel driver acbel-fsg032 6 * ACBEL FSG032-00xG power supply. 11 ----------- 13 This driver supports ACBEL FSG032-00xG Power Supply. This driver 17 ----------- 19 This driver does not auto-detect devices. You will have to instantiate the 20 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 24 ------------- 29 curr1_crit Critical maximum current. 30 curr1_crit_alarm Input current critical alarm. [all …]
|
H A D | ina3221.rst | 10 Addresses: I2C 0x40 - 0x43 19 ----------- 21 The Texas Instruments INA3221 monitors voltage, current, and power on the high 23 and supply voltage, with programmable conversion times and averaging, current 24 and power are calculated host-side from these. 27 ------------- 33 curr[123]_input Current(mA) measurement channels 35 curr[123]_crit Critical alert current(mA) setting, activates the 36 corresponding alarm when the respective current 38 curr[123]_crit_alarm Critical alert current limit exceeded [all …]
|
/linux/kernel/cgroup/ |
H A D | pids.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * after a certain limit is reached. 8 * Since it is trivial to hit the task limit without hitting any kmemcg limits 15 * number of processes currently in the cgroup is given by pids.current. 17 * possible to have pids.current > pids.max. However, it is not possible to 18 * violate a cgroup policy through fork(). fork() will return -EAGAIN if forking 21 * To set a cgroup to have no limit, set pids.max to "max". This is the default 23 * stringent limit in the hierarchy is followed). 25 * pids.current tracks all child cgroup hierarchies, so parent/pids.current is 26 * a superset of parent/child/pids.current. [all …]
|
/linux/arch/arm64/kernel/ |
H A D | signal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2009 Russell King 12 #include <linux/irq-entry-common.h> 26 #include <asm/debug-monitors.h> 43 * Do a signal return; undo the signal stack. These are aligned to 128-bit. 55 unsigned long limit; /* largest allowed size */ member 71 * Holds any EL0-controlled state that influences unprivileged memory accesses. 76 * itself also expects a well-defined state when entered. 97 ua_state->por_el0 = read_sysreg_s(SYS_POR_EL0); in save_reset_user_access_state() 100 * No ISB required as we can tolerate spurious Overlay faults - in save_reset_user_access_state() [all …]
|
/linux/Documentation/power/ |
H A D | power_supply_class.rst | 8 properties to user-space. 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 122 Reports the current measured during boot 140 the current charge counter (in µAh). This could easily [all …]
|
/linux/security/apparmor/ |
H A D | resource.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2010 Canonical Ltd. 36 rlim_names[ad->rlim.rlim], ad->rlim.max); in audit_cb() 37 if (ad->peer) { in audit_cb() 39 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_cb() 45 * audit_resource - audit setting resource limit 54 * Returns: 0 or ad->error else other error code on failure 75 * aa_map_resource - map compiled policy resource to internal # 78 * Returns: resource # for the current architecture. [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_headroom.sh | 2 # SPDX-License-Identifier: GPL-2.0 33 dcb -j buffer show dev $swp | 34 jq -r '[.prio_buffer | .[] | tostring + " "] | add' 41 dcb -j pfc show dev $swp | 42 jq -r '[.prio_pfc | .[] | if . then "1 " else "0 " end] | add' 49 dcb -j ets show dev $swp | 50 jq -r '[.prio_tc | .[] | tostring + " "] | add' 57 dcb -j buffer show dev $swp | jq ".buffer_size[$idx]" 62 dcb -j buffer show dev $swp | jq '.total_size' 69 local current=$(get_prio_pg) [all …]
|
/linux/include/linux/mfd/wm831x/ |
H A D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/mfd/wm831x/pdata.h -- Platform data for WM831x 18 int max_uA; /** Maximum current to allow */ 24 int vlim; /** Voltage limit in millivolts */ 25 int ilim; /** Current limit in microamps */ 32 int trickle_ilim; /** Trickle charge current limit, in mA */ 34 int eoc_iterm; /** End of trickle charge current, in mA */ 35 int fast_ilim; /** Fast charge current limit, in mA */ 40 * Configuration for the WM831x DC-DC BuckWise convertors. This 59 WM831X_STATUS_PRESERVE = 0, /* Keep the current hardware setting */ [all …]
|
/linux/include/linux/sched/ |
H A D | signal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <linux/posix-timers.h> 18 * Types defining task->signal and task->sighand and APIs using them: 29 * Per-process accounting stats: 61 * struct thread_group_cputimer - thread group interval timer counts 103 /* current thread group signal load-balancing target: */ 126 * manager, to re-parent orphan (double-forking) child processes 209 * because there is no reader checking a limit that actually needs 212 * getrlimit/setrlimit use task_lock(current->group_leader) to 219 struct pacct_struct pacct; /* per-process accounting information */ [all …]
|