| /Linux-v6.1/tools/testing/selftests/ftrace/test.d/trigger/ |
| D | trigger-hist.tc | 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test histogram trigger 46 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/nu… 51 echo "Test histogram with sym-offset modifier" 53 echo 'hist:keys=call_site.sym-offset' > events/kmem/kmalloc/trigger 55 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]*+0x[0-9a-f][0-9a-f]*' events/kmem/kmall… 56 fail "sym-offset modifier on kmalloc call_site did not work" 66 while [ $# -gt 1 ]; do 67 [ $1 -gt $2 ] && return 1 72 check_inc `grep -o "child_pid:[[:space:]]*[[:digit:]]*" \ [all …]
|
| /Linux-v6.1/tools/perf/util/ |
| D | parse-events.l | 3 %option bison-bridge 6 %option bison-locations 15 #include "parse-events.h" 16 #include "parse-events-bison.h" 31 yylval->num = num; in __value() 49 yylval->str = strdup(text); in str() 52 * If a text tag specified on the command line in str() 60 yylval->str = strndup(&text[1], strlen(text) - 2); in str() 83 if ((text[len - 1] == 'c' || text[len - 1] == 'o') && in isbpf_suffix() 84 text[len - 2] == '.') in isbpf_suffix() [all …]
|
| D | demangle-rust.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "demangle-rust.h" 16 * The last component of the path is a 64-bit hash in lowercase hex, prefixed 17 * with "h". Rust does not have a global namespace between crates, an illusion 21 * Any path component not starting with a XID_Start character is prefixed with 40 * A double ".." means "::" and a single "." means "-". 42 * The only characters allowed in the mangled symbol are a-zA-Z0-9 and _.:$ 55 * sym: symbol that has been through BFD-demangling 61 * 2. As a sanity check, the hash must use between 5 and 15 of the 16 possible 63 * may see a false negative. The point is to notice path components that [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/thermal/ |
| D | thermal-zones.yaml | 1 # SPDX-License-Identifier: (GPL-2.0) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml# 6 $schema: http://devicetree.org/meta-schemas/base.yaml# 11 - Amit Kucheria <amitk@kernel.org> 18 The following node types are used to completely describe a thermal management 20 - thermal-sensor: device that measures temperature, has SoC-specific bindings 21 - cooling-device: device used to dissipate heat either passively or actively 22 - thermal-zones: a container of the following node types used to describe all 25 This binding describes the thermal-zones. [all …]
|
| /Linux-v6.1/arch/arm64/include/uapi/asm/ |
| D | sigcontext.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * You should have received a copy of the GNU General Public License 25 * Signal context structure - contains all info to do with the state 53 * New records that can exceed this space need to be opt-in for userspace, so 63 * and be 16-byte aligned. The last structure must be a dummy one with the 81 * Note: similarly to all other integer fields, each V-register is stored in an 82 * endianness-dependent format, with the byte at offset i from the start of the 83 * in-memory representation of the register value containing 85 * bits [(7 + 8 * i) : (8 * i)] of the register on little-endian hosts; or [all …]
|
| D | ptrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 1996-2003 Russell King 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * You should have received a copy of the GNU General Public License 149 ((sizeof(struct user_sve_header) + (__SVE_VQ_BYTES - 1)) \ 183 * - ---- ----------- 195 * The Z-, P- and FFR registers are represented in memory in an endianness- 197 * V-registers on big-endian systems: see sigcontext.h for more explanation. 213 (SVE_PT_SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - SVE_PT_SVE_ZREGS_OFFSET) 220 (SVE_PT_SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - \ [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/bus/ |
| D | allwinner,sun50i-a64-de2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/bus/allwinner,sun50i-a64-de2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 15 pattern: "^bus(@[0-9a-f]+)?$" 17 "#address-cells": 20 "#size-cells": 25 - const: allwinner,sun50i-a64-de2 [all …]
|
| /Linux-v6.1/Documentation/arm64/ |
| D | sme.rst | 14 model. To aid understanding, a minimal description of relevant programmer's 15 model features for SME is included in Appendix A. 19 ----------- 21 * PSTATE.SM, PSTATE.ZA, the streaming mode vector length, the ZA 26 instructions and registers, and the Linux-specific system interfaces 37 * There are a number of optional SME features, presence of these is reported 52 cpu-feature-registers.txt for details. 56 of detecting support for these regsets is to connect to a target process 57 first and then attempt a 61 * Whenever ZA register values are exchanged in memory between userspace and [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/spi/ |
| D | st,stm32-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/st,stm32-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 the Serial Peripheral Interface. It supports full-duplex, half-duplex and 13 from 4 to 32-bit data size. 16 - Erwan Leray <erwan.leray@foss.st.com> 17 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 20 - $ref: "spi-controller.yaml#" 21 - if: [all …]
|
| D | spi-pl022.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-pl022.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 - $ref: "spi-controller.yaml#" 15 # We need a select here so we don't match all nodes with 'arm,primecell' 22 - compatible 27 - const: arm,pl022 28 - const: arm,primecell [all …]
|
| /Linux-v6.1/tools/testing/selftests/arm64/abi/ |
| D | syscall-abi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 #include "syscall-abi.h" 23 #define NUM_VL ((SVE_VQ_MAX - SVE_VQ_MIN) + 1) 34 /* random() returns a 32 bit number regardless of the size of long */ in fill_random() 59 gpr_in[8] = cfg->syscall_nr; in setup_gpr() 69 * GPR x0-x7 may be clobbered, and all others should be preserved. in check_gpr() 74 cfg->name, sve_vl, i, in check_gpr() 104 cfg->name, in check_fpr() 149 ksft_print_msg("%s SVE VL %d Z%d non-zero\n", in check_z() 150 cfg->name, sve_vl, i); in check_z() [all …]
|
| /Linux-v6.1/scripts/ |
| D | profile2linkerlist.pl | 2 # SPDX-License-Identifier: GPL-2.0 5 # Takes a (sorted) output of readprofile and turns it into a list suitable for 9 # readprofile | sort -rn | perl profile2linkerlist.pl > functionlist 16 $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;
|
| D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 28 my $kerver = `uname -r`; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { 70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) { 74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) { 79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) { [all …]
|
| D | get_maintainer.pl | 2 # SPDX-License-Identifier: GPL-2.0 8 # the files modified in a patch or for a file 11 # perl scripts/get_maintainer.pl [OPTIONS] -f <file> 43 my $email_git_since = "1-year-ago"; 44 my $email_hg_since = "-365"; 74 my @fixes = (); # If a patch description includes Fixes: lines 83 push(@penguin_chief, "Linus Torvalds:torvalds\@linux-foundation.org"); 84 #Andrew wants in on most everything - 2009/01/14 85 #push(@penguin_chief, "Andrew Morton:akpm\@linux-foundation.org"); 98 # a) responsible for the code in question, or [all …]
|
| D | tags.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 12 set -x 15 # RCS_FIND_IGNORE has escaped ()s -- remove them. 18 ignore="$ignore ( -name *.mod.c ) -prune -o" 21 # to force full paths for a non-O= build 22 if [ "${srctree}" = "." -o -z "${srctree}" ]; then 32 ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ') 39 prune="$prune -wholename $i -prune -o" 41 find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print; 47 include=$(find ${tree}arch/$1/ -name include -type d -print); [all …]
|
| /Linux-v6.1/arch/x86/tools/ |
| D | gen-insn-attr-x86.awk | 1 #!/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0 3 # gen-insn-attr-x86.awk: Instruction attribute table generator 6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c 11 return "Your awk has a printf-format problem." 21 eid = -1 # escape id 22 gid = -1 # group id 23 aid = -1 # AVX id 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 46 opnd_expr = "^[A-Za-z/]" [all …]
|
| /Linux-v6.1/tools/arch/x86/tools/ |
| D | gen-insn-attr-x86.awk | 1 #!/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0 3 # gen-insn-attr-x86.awk: Instruction attribute table generator 6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c 11 return "Your awk has a printf-format problem." 21 eid = -1 # escape id 22 gid = -1 # group id 23 aid = -1 # AVX id 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 46 opnd_expr = "^[A-Za-z/]" [all …]
|
| /Linux-v6.1/scripts/kconfig/ |
| D | merge_config.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # merge_config.sh - Takes a list of config fragment values, and merges 10 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/kconf_check 11 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/generate_cfg 13 # Copyright (c) 2009-2010 Wind River Systems, Inc. 16 set -e 19 rm -f $TMP_FILE 20 rm -f $MERGE_FILE 25 echo " -h display this help text" 26 echo " -m only merge the fragments, do not execute the make command" [all …]
|
| /Linux-v6.1/tools/testing/selftests/rcutorture/bin/ |
| D | kvm.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a series of tests under KVM. By default, this series is specified 5 # by the relevant CFLIST file, but can be overridden by the --configs 6 # command-line argument. 17 T=${TMPDIR-/tmp}/kvm.sh.$$ 18 trap 'rm -rf $T' 0 24 LANG=en_US.UTF-8; export LANG 56 ds=`date +%Y.%m.%d-%H.%M.%S` 57 jitter="-1" 64 echo " --allcpus" [all …]
|
| /Linux-v6.1/lib/ |
| D | build_OID_registry | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-or-later 4 # Build a static ASN.1 Object Identified (OID) registry 16 print STDERR "Format: ", $0, " <in-h-file> <out-c-file>\n"; 26 if (m!\s+OID_([a-zA-z][a-zA-Z0-9_]+),\s+/[*]\s+([012][.0-9]*)\s+[*]/!) { 71 # Emit the look-up-by-OID index table 104 for (; $tmp > 0; $tmp--) { 114 # Create a hash value for each OID 150 my @octets_a = @{$encoded_oids[$a]}; 153 return $hash_values[$a] <=> $hash_values[$b] [all …]
|
| /Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
| D | st,stmfx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectonics Multi-Function eXpander (STMFX) bindings 9 description: ST Multi-Function eXpander (STMFX) is a slave controller using I2C for 15 - Amelie Delaunay <amelie.delaunay@foss.st.com> 19 const: st,stmfx-0300 27 drive-open-drain: true 29 vdd-supply: true 36 const: st,stmfx-0300-pinctrl [all …]
|
| /Linux-v6.1/tools/bootconfig/scripts/ |
| D | ftrace2bconf.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 5 echo "Dump boot-time tracing bootconfig from ftrace" 6 echo "Usage: $0 [--debug] [ > BOOTCONFIG-FILE]" 13 "--debug") 15 -*) 23 set -x 26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "` 27 if [ -z "$TRACEFS" ]; then 28 if ! grep -wq debugfs /proc/mounts; then 32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing [all …]
|
| /Linux-v6.1/arch/x86/boot/ |
| D | Makefile | 20 # callback into middle of per-cpu data enabling code. Thus the callback observed 27 # Set it to -DSVGA_MODE=NORMAL_VGA if you just want the EGA/VGA mode. 30 SVGA_MODE := -DSVGA_MODE=NORMAL_VGA 34 subdir- := compressed 36 setup-y += a20.o bioscall.o cmdline.o copy.o cpu.o cpuflags.o cpucheck.o 37 setup-y += early_serial_console.o edd.o header.o main.o memory.o 38 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o 39 setup-y += video-mode.o version.o 40 setup-$(CONFIG_X86_APM_BOOT) += apm.o 42 # The link order of the video-*.o modules can matter. In particular, [all …]
|
| /Linux-v6.1/arch/arm64/kernel/ |
| D | process.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 1996-2000 Russell King - Converted to ARM. 82 * to execute e.g. a RAM-based pin loop is not sufficient. This allows the 105 * Power-off simply requires that the secondary CPUs stop performing any 120 * provide a HW restart implementation, to ensure that all CPUs reset at once. 122 * doesn't have to co-ordinate with other CPUs to ensure they aren't still 123 * executing pre-reset code, and using RAM that the primary CPU's code wishes 124 * to use. Implementing such co-ordination would be essentially impossible. 143 * Whoops - the architecture was unable to reboot. in machine_restart() 145 printk("Reboot failed -- System halted\n"); in machine_restart() [all …]
|
| /Linux-v6.1/drivers/isdn/hardware/mISDN/ |
| D | hfcpci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * hfcpci.c low level driver for CCD's hfc-pci based cards 8 * type approval valid for HFC-S PCI A based card 10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de) 24 * A value of 128 will use controller's interrupt. Other values will 28 * If kernel uses a frequency of 1000 Hz, steps of 8 samples are possible. 102 /* marker saving last b-fifo frame count */ 141 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE; in enable_hwirq() 142 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq() 148 hc->hw.int_m2 &= ~((u_char)HFCPCI_IRQ_ENABLE); in disable_hwirq() [all …]
|