| /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 …]
|
| /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 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 "soc-slider: --soc-slider-balance # | --soc-slider-offset # | --platform-profile <name>" 20 .RB "value: # | default | performance | balance-performance | balance-power | power" 23 displays and updates energy-performance policy settings specific to 27 While \fBx86_energy_perf_policy\fP can manage energy-performance policy [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 …]
|
| /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/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 10 type: string 11 pattern: ^[0-9a-z-]+$ 15 len-or-define: 16 type: [ string, integer ] 17 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 19 len-or-limit: [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 10 type: string 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 13 type: string 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: [all …]
|
| /linux/Documentation/trace/ |
| H A D | kprobetrace.rst | 2 Kprobe-based Event Tracing 8 -------- 9 These events are similar to tracepoint-based events. Instead of tracepoints, 13 Unlike the tracepoint-based event, this can be added and removed 28 ------------------------- 34 -:[GRP/][EVENT] : Clear a probe 50 @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol) 57 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*3)(\*4) 58 this_cpu_read(FETCHARG) : Read the value of the per-CPU variable FETCHARG on the current CPU. 59 this_cpu_ptr(FETCHARG) : Get the address of the per-CPU variable FETCHARG on the current CPU. [all …]
|
| 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 …]
|
| H A D | events.rst | 24 --------------------------------- 64 loaded, the string will be saved and when a module is that matches ``<module>`` 83 --------------------------- 106 - 0 - all events this file affects are disabled 107 - 1 - all events this file affects are enabled 108 - X - there is a mixture of events enabled and disabled 109 - ? - this file does not affect any event 112 --------------- 116 trace_event=[event-list] 118 event-list is a comma separated list of events. See section 2.1 for event [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/Documentation/networking/ |
| 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/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/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 --- [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/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/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-cpu variable called VAR for the 146 Note that VAR has to be quoted as string.""" 151 def invoke(self, var, cpu=-1): [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 …]
|
| /linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
| H A D | btf_typecast_accepted.tc | 2 # SPDX-License-Identifier: GPL-2.0 4 …nts "this_cpu_read(<fetcharg>)":README "[(structname[,field])]<argname>[->field[->field|.field...]… 9 if grep -qF "p[:[<group>/][<event>]] <place> [<args>]" README ; then 12 if grep -qF "f[:[<group>/][<event>]] <func-name>[%return] [<args>]" README ; then 16 if [ -z "$KPROBES" -a -z "$FPROBES" ] ; then 23 # Load trace-events-sample module if available to have per-CPU counter structure defined 24 if ! lsmod | grep -q trace_events_sample; then 25 modprobe trace-events-sample || exit_unresolved 30 echo 'f:fpevent1 vfs_read name=(file)file->f_path.dentry->d_name.name:string' >> dynamic_events 32 echo 'f:fpevent2 vfs_read name=(file)(file)->f_path.dentry->d_name.name:string' >> dynamic_events [all …]
|
| /linux/arch/xtensa/lib/ |
| H A D | strnlen_user.S | 50 addi a4, a2, -4 # because we overincrement at the end; 56 bbsi.l a2, 0, .L1mod2 # if only 8-bit aligned 57 bbsi.l a2, 1, .L2mod4 # if only 16-bit aligned 60 * String is word-aligned. 63 srli a10, a3, 2 # number of loop iterations with 4B per loop 72 EX(10f) l32i a9, a4, 4 # get next word of string 73 addi a4, a4, 4 # advance string pointer 87 addi a4, a4, 2 # advance string pointer 96 addi a4, a4, 1 # advance string pointer 121 addi a4, a4, 1 # advance string pointer [all …]
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_plog.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 19 #define BFA_PL_STRING_LOG_SZ 32 /* number of chars in string log */ 36 u8 log_type; /* string/integer log, bfa_plog_log_type_t */ 40 * integers in the int_log[] (0-PL_INT_LOG_SZ). 53 * their module id. BFAL will convert the integer value to string format 56 * - Always add new entries at the end 57 * - define corresponding string in BFAL [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 [all...] |