/linux-6.12.1/scripts/ ! |
D | recordmcount.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 5 # recordmcount.pl - makes a section called __mcount_loc that holds 9 # What we want to end up with this is that each object file will have a 22 # functions in a section that has a call site to mcount, will have the 30 # The trick is to change the call offset referring the start of a section to 31 # referring a function symbol in this section. During the link step, 'ld' will 40 # call mcount (offset: 0x10) 44 # func2: (offset: 0x20) 50 # call mcount (offset: 0x30) 54 # offset from .sched.text. If we choose global symbol func2 as a reference and [all …]
|
D | faddr2line | 2 # SPDX-License-Identifier: GPL-2.0 7 # addr2line, but instead takes the 'func+0x123' format as input: 9 # $ ./scripts/faddr2line ~/k/vmlinux meminfo_proc_show+0x5/0x568 10 # meminfo_proc_show+0x5/0x568: 16 # $ ./scripts/faddr2line ~/k/vmlinux native_write_msr+0x6/0x27 17 # native_write_msr+0x6/0x27: 24 # rarely. If the size is omitted for a duplicate symbol then it's possible for 27 # $ ./scripts/faddr2line ~/k/vmlinux raw_ioctl+0x5 28 # raw_ioctl+0x5/0x20: 31 # raw_ioctl+0x5/0xb1: [all …]
|
/linux-6.12.1/tools/perf/arch/x86/tests/ ! |
D | gen-insn-x86-dat.awk | 1 #!/bin/awk -f 2 # SPDX-License-Identifier: GPL-2.0-only 3 # gen-insn-x86-dat.awk: script to convert data for the insn-x86 test 9 print " * Generated by gen-insn-x86-dat.sh and gen-insn-x86-dat.awk" 10 print " * from insn-x86-dat-src.c for inclusion by insn-x86.c" 15 rel = 0 16 going = 0 24 going = 0 27 /^\s*[0-9a-fA-F]+\:/ { 29 colon_pos = index($0, ":") [all …]
|
/linux-6.12.1/arch/powerpc/crypto/ ! |
D | aes-tab-4k.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 * crypto/aes_generic.c and are designed to be simply accessed by a combination 11 * of rlwimi/lwz instructions with a minimum of table registers (usually only 16 * For the safety-conscious it has to be noted that they might be vulnerable 19 * This is a quite good tradeoff for low power devices (e.g. routers) without 25 #define R(a, b, c, d) \ argument 26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a 32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */ 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) 36 .long R(de, 6f, 6f, b1), R(91, c5, c5, 54) [all …]
|
/linux-6.12.1/tools/testing/selftests/hid/tests/ ! |
D | conftest.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 27 resource.setrlimit(resource.RLIMIT_CORE, (0, 0)) 35 with subprocess.Popen("/usr/lib/systemd/systemd-udevd") as proc: 61 modalias_re = re.compile(r"alias:\s+hid:b0003g.*v([0-9a-fA-F]+)p([0-9a-fA-F]+)") 67 ["modinfo", module], capture_output=True, check=True, encoding="utf-8" 76 ids.append(f"{module.name} {vid:04x}:{pid:04x}") 81 parser.addoption("--udevd", action="store_true", default=False)
|
/linux-6.12.1/tools/perf/tests/shell/common/ ! |
D | patterns.sh | 1 # SPDX-License-Identifier: GPL-2.0 3 export RE_NUMBER="[0-9\.]+" 9 export RE_NUMBER_HEX="[0-9A-Fa-f]+" 18 …xport RE_DATE_YYYYMMDD="[0-9]{4}-(?:(?:01|03|05|07|08|10|12)-(?:[0-2][0-9]|3[0-1])|02-[0-2][0-9]|(… 19 # Date in YYYY-MM-DD form 21 # 1990-02-29 22 # 0015-07-31 23 # 2456-12-31 24 #! 2012-13-01 25 #! 1963-09-31 [all …]
|
/linux-6.12.1/tools/testing/selftests/drivers/platform/x86/intel/ifs/ ! |
D | test_ifs.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 readonly KSFT_PASS=0 16 readonly IFS_SCAN_MODE="0" 34 # Matches arch/x86/include/asm/intel-family.h and 36 readonly SAPPHIRERAPIDS_X="8f" 61 echo -e "$1" | tee -a "$IFS_LOG" 73 if [[ -n "$target_cpus" ]]; then 75 if [[ "$cpu" == *"-"* ]]; then 79 cpu_start=$(echo "$cpu" | cut -d "-" -f 1) 80 cpu_end=$(echo "$cpu" | cut -d "-" -f 2) [all …]
|
/linux-6.12.1/Documentation/trace/postprocess/ ! |
D | decode_msr.py | 3 # decode_msr msr-index.h < trace 9 with open(sys.argv[1] if len(sys.argv) > 1 else "msr-index.h", "r") as f: 10 for j in f: 11 m = re.match(r'#define (MSR_\w+)\s+(0x[0-9a-fA-F]+)', j) 16 ( "MSR_LASTBRANCH_%d_FROM_IP", 0x680, 0x69F ), 17 ( "MSR_LASTBRANCH_%d_TO_IP", 0x6C0, 0x6DF ), 18 ( "LBR_INFO_%d", 0xdc0, 0xddf ), 22 m = re.search(r'(read|write)_msr:\s+([0-9a-f]+)', j) 31 r = er[0] % (num - er[1],)
|
/linux-6.12.1/arch/riscv/kernel/vdso/ ! |
D | gen_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define \2_offset\t0x\1/p'
|
/linux-6.12.1/arch/riscv/kernel/compat_vdso/ ! |
D | gen_compat_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 sed -n -e 's/^[0]\+\(0[0-9a-fA-F]*\) . \(__vdso_[a-zA-Z0-9_]*\)$/\#define compat\2_offset\t0x\1/p'
|
/linux-6.12.1/scripts/dtc/ ! |
D | dtc-lexer.l | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 %option noyywrap nounput noinput never-interactive 12 PROPNODECHAR [a-zA-Z0-9,._+*#?@-] 14 LABEL [a-zA-Z_][a-zA-Z0-9_]* 24 #include "dtc-parser.tab.h" 39 #define DPRINT(fmt, ...) do { } while (0) 56 yytext[yyleng-1] = '\0'; 60 <*>^"#"(line)?[ \t]+[0-9]+[ \t]+{STRING}([ \t]+[0-9]+)* { 72 for (fnend = yytext + yyleng - 1; 73 *fnend != '"'; fnend--) [all …]
|
/linux-6.12.1/arch/loongarch/vdso/ ! |
D | gen_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Derived from RISC-V and ARM64: 8 # Match symbols in the DSO that look like VDSO_*; produce a header file 12 LC_ALL=C sed -n -e 's/^00*/0/' -e \ 13 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2\t0x\1/p'
|
/linux-6.12.1/arch/arm64/kernel/vdso/ ! |
D | gen_vdso_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Match symbols in the DSO that look like VDSO_*; produce a header file 8 # Doing this inside the Makefile will break the $(filter-out) function, 9 # causing Kbuild to rebuild the vdso-offsets header file every time. 15 sed -n -e 's/^00*/0/' -e \ 16 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2 0x\1/p'
|
/linux-6.12.1/arch/powerpc/kernel/vdso/ ! |
D | gen_vdso32_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Match symbols in the DSO that look like VDSO_*; produce a header file 8 # Doing this inside the Makefile will break the $(filter-out) function, 9 # causing Kbuild to rebuild the vdso-offsets header file every time. 15 sed -n -e 's/^00*/0/' -e \ 16 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso32_offset_\2\t0x\1/p'
|
D | gen_vdso64_offsets.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # Match symbols in the DSO that look like VDSO_*; produce a header file 8 # Doing this inside the Makefile will break the $(filter-out) function, 9 # causing Kbuild to rebuild the vdso-offsets header file every time. 15 sed -n -e 's/^00*/0/' -e \ 16 's/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso64_offset_\2\t0x\1/p'
|
/linux-6.12.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 …]
|
D | allwinner,sun8i-a23-rsb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/bus/allwinner,sun8i-a23-rsb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#address-cells": 17 "#size-cells": 18 const: 0 22 - const: allwinner,sun8i-a23-rsb [all …]
|
/linux-6.12.1/tools/perf/pmu-events/ ! |
D | models.py | 2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 10 def main() -> None: 11 def dir_path(path: str) -> str: 12 """Validate path is a directory for argparse.""" 15 raise argparse.ArgumentTypeError(f'\'{path}\' is not a valid directory') 17 def find_archs(start_dir: str, arch: str) -> List[str]: 26 raise IOError(f'Missing architecture directory \'{arch}\'') 30 def find_mapfiles(start_dir: str, archs: List[str]) -> List[str]: 33 for item in os.scandir(f'{start_dir}/{arch}'): 37 result.append(f'{start_dir}/{arch}/mapfile.csv') [all …]
|
/linux-6.12.1/arch/s390/boot/ ! |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the linux s390-specific parts of the memory manager. 16 # message if the kernel is started on a machine which is too old 18 CC_FLAGS_MARCH_MINIMUM := -march=z10 20 KBUILD_AFLAGS := $(filter-out $(CC_FLAGS_MARCH),$(KBUILD_AFLAGS_DECOMPRESSOR)) 21 KBUILD_CFLAGS := $(filter-out $(CC_FLAGS_MARCH),$(KBUILD_CFLAGS_DECOMPRESSOR)) 25 CFLAGS_sclp_early_core.o += -I$(srctree)/drivers/s390/char 27 obj-y := head.o als.o startup.o physmem_info.o ipl_parm.o ipl_report.o vmem.o 28 obj-y += string.o ebcdic.o sclp_early_core.o mem.o ipl_vmparm.o cmdline.o 29 obj-y += version.o pgm_check_info.o ctype.o ipl_data.o relocs.o alternative.o [all …]
|
/linux-6.12.1/drivers/net/wireless/zydas/zd1211rw/ ! |
D | zd_rf_uw2453.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* ZD1211 USB-WLAN driver for Linux 4 * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de> 5 * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org> 15 /* This RF programming code is based upon the code found in v2.16.0.0 of the 20 /* The 3-wire serial interface provides access to 8 write-only registers. 21 * The data format is a 4 bit register address followed by a 20 bit value. */ 22 #define UW2453_REGWRITE(reg, val) ((((reg) & 0xf) << 20) | ((val) & 0xfffff)) 28 * the configured frequency. During initialization, we run through a variety 29 * of different VCO configurations on channel 1 until we detect a PLL lock. [all …]
|
/linux-6.12.1/tools/perf/ui/ ! |
D | hist.c | 1 // SPDX-License-Identifier: GPL-2.0 41 double avg = nr_samples ? (1.0 * val / nr_samples) : 0; in __hpp__fmt_print() 59 int ret = 0; in __hpp__fmt() 60 struct hists *hists = he->hists; in __hpp__fmt() 63 char *buf = hpp->buf; in __hpp__fmt() 64 size_t size = hpp->size; in __hpp__fmt() 65 int i = 0, nr_members = 1; in __hpp__fmt() 69 nr_members = evsel->core.nr_members; in __hpp__fmt() 73 return 0; in __hpp__fmt() 75 values[0].hists = evsel__hists(evsel); in __hpp__fmt() [all …]
|
/linux-6.12.1/Documentation/ABI/stable/ ! |
D | sysfs-class-tpm | 4 Contact: linux-integrity@vger.kernel.org 5 Description: The device/ directory under a specific TPM instance exposes 12 Contact: linux-integrity@vger.kernel.org 13 Description: The "active" property prints a '1' if the TPM chip is accepting 16 visible to the OS, but will only accept a restricted set of 24 Contact: linux-integrity@vger.kernel.org 32 Contact: linux-integrity@vger.kernel.org 37 Manufacturer: 0x53544d20 41 Manufacturer is a hex dump of the 4 byte manufacturer info 42 space in a TPM. TCG version shows the TCG TPM spec level that [all …]
|
/linux-6.12.1/tools/perf/scripts/python/ ! |
D | arm-cs-trace-disasm.py | 1 # SPDX-License-Identifier: GPL-2.0 2 # arm-cs-trace-disasm.py: ARM CoreSight Trace Dump With Disassember 22 # perf script -s scripts/python/arm-cs-trace-disasm.py \ 23 # -- -d objdump -k path/to/vmlinux 24 # Output disassembly with llvm-objdump: 25 # perf script -s scripts/python/arm-cs-trace-disasm.py \ 26 # -- -d llvm-objdump-11 -k path/to/vmlinux 28 # perf script -s scripts/python/arm-cs-trace-disasm.py 33 make_option("-k", "--vmlinux", dest="vmlinux_name", 35 make_option("-d", "--objdump", dest="objdump_name", [all …]
|
/linux-6.12.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. 14 scriptname=$0 17 T="`mktemp -d ${TMPDIR-/tmp}/kvm.sh.XXXXXX`" 18 trap 'rm -rf $T' 0 23 LANG=en_US.UTF-8; export LANG 55 cpus=0 56 ds=`date +%Y.%m.%d-%H.%M.%S` [all …]
|
/linux-6.12.1/tools/testing/selftests/net/openvswitch/ ! |
D | ovs-dpctl.py | 2 # SPDX-License-Identifier: GPL-2.0 66 UINT32_MAX = 0xFFFFFFFF 74 tot = 0 76 if str2.find(char) != -1: 83 tot = 0 85 if str2.find(char) == -1: 91 def intparse(statestr, defmask="0xffffffff"): 97 if firstnum[-1] == "/": 98 firstnum = firstnum[:-1] 99 k = int(firstnum, 0) [all …]
|