/linux/drivers/acpi/acpica/ |
H A D | utstrtoul64.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utstrtoul64 - String-to-integer conversion support for both 5 * 64-bit and 32-bit integers 17 * This module contains the top-level string to 64/32-bit unsigned integer 20 * 1) A standard strtoul() function that supports 64-bit integers, base 23 * constants than the runtime (interpreter) integer-to-string conversions. 29 * iASL - Preprocessor (constants and math expressions) 30 * iASL - Main parser, conversion of constants to integers 31 * iASL - Data Table Compiler parser (constants and math expressions) 32 * interpreter - Implicit and explicit conversions, GPE method names [all …]
|
H A D | utstrsuppt.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: utstrsuppt - Support functions for string-to-integer conversion 27 * PARAMETERS: string - Null terminated input string 28 * return_value_ptr - Where the converted value is returned 30 * RETURN: Status and 64-bit converted integer 32 * DESCRIPTION: Performs a base 8 conversion of the input string to an 35 * NOTE: Maximum 64-bit unsigned octal value is 01777777777777777777777 36 * Maximum 32-bit unsigned octal value is 037777777777 40 acpi_status acpi_ut_convert_octal_string(char *string, u64 *return_value_ptr) in acpi_ut_convert_octal_string() argument 45 /* Convert each ASCII byte in the input string */ in acpi_ut_convert_octal_string() [all …]
|
H A D | exconcat.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: exconcat - Concatenate-type AML operators 6 * Copyright (C) 2000 - 2023, Intel Corp. 27 * PARAMETERS: operand0 - First source object 28 * operand1 - Second source object 29 * actual_return_desc - Where to place the return object 30 * walk_state - Current walk state 34 * DESCRIPTION: Concatenate two objects with the ACPI-defined conversion 37 * Per the ACPI spec (up to 6.1), Concatenate only supports Integer, 38 * String, and Buffer objects. However, we support all objects here [all …]
|
/linux/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.8 | 1 .\" This page Copyright (C) 2010 - 2015 Len Brown <len.brown@intel.com> 5 x86_energy_perf_policy \- Manage Energy vs. Performance Policy via x86 Model Specific Registers 10 .RB "scope: \-\-cpu\ cpu-list | \-\-pkg\ pkg-list" 12 .RB "cpu-list, pkg-list: # | #,# | #-# | all" 14 .RB "field: \-\-all | \-\-epb | \-\-hwp-epp | \-\-hwp-min | \-\-hwp-max | \-\-hwp-desired" 16 .RB "other: (\-\-force | \-\-hwp-enable | \-\-turbo-enable) value)" 18 .RB "value: # | default | performance | balance-performance | balance-power | power" 21 displays and updates energy-performance policy settings specific to 23 updates, no matter if the Linux cpufreq sub-system is enabled or not. 27 such as how aggressively the hardware enters and exits CPU idle states (C-states) [all …]
|
/linux/Documentation/networking/ |
H A D | mptcp-sysctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 add_addr_timeout - INTEGER (seconds) 15 The default value matches TCP_RTO_MAX. This is a per-namespace 20 allow_join_initial_addr_port - BOOLEAN 29 This is a per-namespace sysctl. 33 available_schedulers - STRING 37 blackhole_timeout - INTEGER (seconds) 41 MPTCP is re-enabled and will reset to the initial value when the 48 checksum_enabled - BOOLEAN 52 per-namespace sysctl. [all …]
|
H A D | alias.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 IP-Aliasing 7 IP-aliases are an obsolete way to manage multiple IP-addresses/masks 8 per interface. Newer tools such as iproute2 support multiple 9 address/prefixes per interface, but aliases are still supported 12 An alias is formed by adding a colon and a string when running ifconfig. 13 This string is usually numeric, but this is not a must. 24 ~~ -> request alias #0 creation (if not yet exists) for eth0 36 ~~~~~~~~~~ -> will delete alias 39 Alias (re-)configuring
|
/linux/Documentation/netlink/ |
H A D | genetlink-legacy.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 13 type: [ string, integer ] 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. 18 type: [ string, integer ] [all …]
|
H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 13 type: [ string, integer ] 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 26 type: string 28 type: string [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | configfs-usb-gadget | 1 What: /config/usb-gadget 5 This group contains sub-groups corresponding to created 8 What: /config/usb-gadget/gadget 18 to bind a gadget, empty string "" to unbind. 21 names are super-speed-plus, super-speed, 22 high-speed, full-speed, and low-speed. 34 What: /config/usb-gadget/gadget/configs 40 What: /config/usb-gadget/gadget/configs/config 51 What: /config/usb-gadget/gadget/configs/config/strings 55 This group contains subdirectories for language-specific [all …]
|
H A D | sysfs-class-hwmon | 4 This should be a short, lowercase string, not containing 16 The contents of the label are free-form. 132 Text string 135 this voltage channel is being used for, and user-space 137 user-space. 145 When disabled the sensor read will return -ENODATA. 147 - 1: Enable 148 - 0: Disable 156 - 1: Failed 157 - 0: Ok [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | brcm,usb-pinmap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Al Cooper <alcooperx@gmail.com> 15 - const: brcm,usb-pinmap 22 description: Interrupt for signals mirrored to out-gpios. 24 in-gpios: 29 brcm,in-functions: 30 $ref: /schemas/types.yaml#/definitions/string-array [all …]
|
/linux/fs/xfs/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 on the SGI IRIX platform. It is completely multi-threaded, can 17 for complete details. This implementation is on-disk compatible 38 xfs_info against a filesystem mountpoint and checking for a string 39 beginning with "crc=". If the string "crc=0" is found, the 40 filesystem is a V4 filesystem. If no such string is found, please 51 bool "Support deprecated case-insensitive ascii (ascii-ci=1) format" 56 on systems that have been coerced into using ISO 8859-1, and it does 58 the locale settings in userspace, so it corrupts UTF-8 names. 65 xfs_info against a filesystem mountpoint and checking for a string [all …]
|
/linux/tools/testing/selftests/rcutorture/configs/rcu/ |
H A D | ver_functions.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Kernel-version-dependent shell functions for the rest of the scripts. 10 # rcutorture_param_n_barrier_cbs bootparam-string 14 if echo $1 | grep -q "rcutorture\.n_barrier_cbs" 22 # rcutorture_param_onoff bootparam-string config-file 28 echo CPU-hotplug kernel, adding rcutorture onoff. 1>&2 33 # rcutorture_param_stat_interval bootparam-string 37 if echo $1 | grep -q "rcutorture\.stat_interval" 45 # per_version_boot_params bootparam-string config-file seconds 47 # Adds per-version torture-module parameters to kernels supporting them.
|
/linux/arch/arm64/lib/ |
H A D | strlen.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2013-2021, Arm Limited. 6 * https://github.com/ARM-software/optimized-routines/blob/98e4d6a5c13c8e54/string/aarch64/strlen.S 11 #include <asm/mte-def.h> 15 * ARMv8-a, AArch64, unaligned accesses, min page size 4k. 36 /* NUL detection works on the principle that (X - 1) & (~X) & 0x80 37 (=> (X - 1) & ~(X | 0x7f)) is non-zero iff a byte is zero, and 39 (X - 1) & 0x80 is zero for non-NUL ASCII characters, but gives 48 * (16-byte) granularity, and we must ensure that no access straddles this 58 of the string for a NUL character. In order to do an unaligned ldp [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/tools/perf/Documentation/ |
H A D | perf-kwork.txt | 1 perf-kwork(1) 5 ---- 6 perf-kwork - Tool to trace/measure kernel work properties (latencies) 9 -------- 14 ----------- 20 'perf kwork report' to report the per kwork runtime. 22 'perf kwork latency' to report the per kwork latencies. 29 perf kwork record -- sleep 1 31 perf kwork report -b 33 perf kwork latency -b [all …]
|
H A D | perf-kmem.txt | 1 perf-kmem(1) 5 ---- 6 perf-kmem - Tool to trace/measure kernel memory properties 9 -------- 14 ----------- 17 'perf kmem [<options>] record [<perf-record-options>] <command>' to 19 record' options may be specified after record, such as '-o' to 25 ------- 26 -i <file>:: 27 --input=<file>:: [all …]
|
/linux/lib/ |
H A D | seq_buf.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include <linux/string.h> 31 * seq_buf_can_fit - can the new data fit in the current buffer? 40 return s->len + len <= s->size; in seq_buf_can_fit() 44 * seq_buf_print_seq - move the contents of seq_buf into a seq_file 48 * Returns: zero on success, non-zero otherwise. 54 return seq_write(m, s->buffer, len); in seq_buf_print_seq() 58 * seq_buf_vprintf - sequence printing of information. 60 * @fmt: printf format string 65 * Returns: zero on success, -1 on overflow. [all …]
|
/linux/Documentation/core-api/ |
H A D | netlink.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 13 --------------- 21 ------------- 31 --------------- 44 ---------- 51 ------------------------ 54 them - make sure to report dump inconsistency with ``NLM_F_DUMP_INTR``. 65 ------- 67 kernel-policy 71 operations of the family, defined for each operation individually - ``per-op``, [all …]
|
/linux/Documentation/trace/ |
H A D | boottime-trace.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Boot-time tracing 12 Boot-time tracing allows users to trace boot-time process including 13 device initialization with full features of ftrace including per-event 14 filter and actions, histograms, kprobe-events and synthetic-events, 27 .. [1] See :ref:`Documentation/admin-guide/bootconfig.rst <bootconfig>` 28 .. [2] See :ref:`Documentation/admin-guide/kernel-parameters.rst <kernelparameters>` 31 --------------------- 37 Output trace-event data on printk buffer too. 53 Add fgraph non-tracing function filters. [all …]
|
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 36 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency 37 …perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-r… [all …]
|
/linux/scripts/gdb/linux/ |
H A D | cpus.py | 4 # per-cpu tools 6 # Copyright (c) Siemens AG, 2011-2013 27 return gdb.selected_thread().num - 1 36 if cpu == -1: 77 entry = -1 129 super(LxCpus, self).__init__("lx-cpus", gdb.COMMAND_DATA) 142 """Return per-cpu variable. 144 $lx_per_cpu("VAR"[, CPU]): Return the per [all...] |
/linux/tools/testing/selftests/rcutorture/configs/scf/ |
H A D | ver_functions.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Torture-suite-dependent shell functions for the rest of the scripts. 10 # scftorture_param_onoff bootparam-string config-file 16 echo CPU-hotplug kernel, adding scftorture onoff. 1>&2 21 # per_version_boot_params bootparam-string config-file seconds 23 # Adds per-version torture-module parameters to kernels supporting them.
|
/linux/tools/testing/selftests/rcutorture/configs/lock/ |
H A D | ver_functions.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Kernel-version-dependent shell functions for the rest of the scripts. 10 # locktorture_param_onoff bootparam-string config-file 16 echo CPU-hotplug kernel, adding locktorture onoff. 1>&2 21 # per_version_boot_params bootparam-string config-file seconds 23 # Adds per-version torture-module parameters to kernels supporting them.
|
/linux/fs/jfs/ |
H A D | jfs_unicode.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) International Business Machines Corp., 2000-2004 16 * FUNCTION: Convert little-endian unicode string to character string 25 int warn = !!warn_again; /* once per string */ in jfs_strfromUCS_le() 31 codepage->uni2char(le16_to_cpu(from[i]), in jfs_strfromUCS_le() 44 warn--; in jfs_strfromUCS_le() 45 warn_again--; in jfs_strfromUCS_le() 47 "non-latin1 character 0x%x found in JFS file name\n", in jfs_strfromUCS_le() 66 * FUNCTION: Convert character string to unicode string 76 for (i = 0; len && *from; i++, from += charlen, len -= charlen) in jfs_strtoUCS() [all …]
|