/Linux-v6.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 | is_rust_module.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # Returns `0` if `module.ko` is a Rust module, `1` otherwise. 8 set -e 15 # option, see https://github.com/rust-lang/rust/pull/97550. 16 ${NM} "$*" | grep -qE '^[0-9a-fA-F]+ r _R[^[:space:]]+16___IS_RUST_MODULE[^[:space:]]*$'
|
/Linux-v6.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-v6.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-v6.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-v6.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-v6.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-v6.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-v6.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-v6.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-v6.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-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 …]
|
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-v6.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. 17 # message if the kernel is started on a machine which is too old 20 CC_FLAGS_MARCH_MINIMUM := -march=z900 22 CC_FLAGS_MARCH_MINIMUM := -march=z10 36 CFLAGS_sclp_early_core.o += -I$(srctree)/drivers/s390/char 38 obj-y := head.o als.o startup.o mem_detect.o ipl_parm.o ipl_report.o 39 obj-y += string.o ebcdic.o sclp_early_core.o mem.o ipl_vmparm.o cmdline.o 40 obj-y += version.o pgm_check_info.o ctype.o ipl_data.o machine_kexec_reloc.o 41 obj-$(findstring y, $(CONFIG_PROTECTED_VIRTUALIZATION_GUEST) $(CONFIG_PGSTE)) += uv.o [all …]
|
/Linux-v6.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-v6.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-v6.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 23 # perf script -s scripts/python/arm-cs-trace-disasm.py \ 24 # -- -d objdump -k path/to/vmlinux 25 # Output disassembly with llvm-objdump: 26 # perf script -s scripts/python/arm-cs-trace-disasm.py \ 27 # -- -d llvm-objdump-11 -k path/to/vmlinux 29 # perf script -s scripts/python/arm-cs-trace-disasm.py 34 make_option("-k", "--vmlinux", dest="vmlinux_name", 36 make_option("-d", "--objdump", dest="objdump_name", [all …]
|
/Linux-v6.1/tools/perf/ui/ |
D | hist.c | 1 // SPDX-License-Identifier: GPL-2.0 30 struct hists *hists = he->hists; in __hpp__fmt() 32 char *buf = hpp->buf; in __hpp__fmt() 33 size_t size = hpp->size; in __hpp__fmt() 49 int nr_members = evsel->core.nr_members; in __hpp__fmt() 53 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt() 55 u64 total = hists__total_period(pair->hists); in __hpp__fmt() 60 evsel = hists_to_evsel(pair->hists); in __hpp__fmt() 61 idx_delta = evsel__group_idx(evsel) - prev_idx - 1; in __hpp__fmt() 63 while (idx_delta--) { in __hpp__fmt() [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. 14 scriptname=$0 17 T=${TMPDIR-/tmp}/kvm.sh.$$ 18 trap 'rm -rf $T' 0 24 LANG=en_US.UTF-8; export LANG 55 cpus=0 56 ds=`date +%Y.%m.%d-%H.%M.%S` [all …]
|
/Linux-v6.1/tools/perf/ |
D | builtin-kmem.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include "util/time-utils.h" 20 #include <subcmd/parse-options.h> 21 #include "util/trace-event.h" 54 static int alloc_lines = -1; 55 static int caller_lines = -1; 96 if (ptr > data->ptr) in insert_alloc_stat() 97 node = &(*node)->rb_right; in insert_alloc_stat() 98 else if (ptr < data->ptr) in insert_alloc_stat() 99 node = &(*node)->rb_left; in insert_alloc_stat() [all …]
|
/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
D | mirror_lib.sh | 1 # SPDX-License-Identifier: GPL-2.0 27 [[ -z ${addr//[0-9a-fA-F:]/} ]] 40 local proto=-6 48 $MZ $proto $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \ 49 -c 10 -d 100msec -t $type 52 local delta=$((t1 - t0)) 53 # Tolerate a couple stray extra packets. 79 do_test_span_dir_ips 0 "$@" 122 # Install the capture as skip_hw to avoid double-counting of packets. 138 do_test_span_vlan_dir_ips 0 "$@"
|
/Linux-v6.1/arch/parisc/boot/compressed/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 5 # create a compressed self-extracting vmlinux image from the original vmlinux 17 KBUILD_CFLAGS := -D__KERNEL__ -O2 -DBOOTLOADER 18 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 19 KBUILD_CFLAGS += -fno-strict-aliasing 20 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -fno-builtin-printf 21 KBUILD_CFLAGS += -fno-PIE -mno-space-regs -mdisable-fpregs -Os 23 KBUILD_CFLAGS += -mfast-indirect-calls 26 LDFLAGS_vmlinux := -X -e startup --as-needed -T 30 sed-sizes := -e 's/^\([0-9a-fA-F]*\) . \(__bss_start\|_end\|parisc_kernel_start\)$$/\#define SZ\2 0… [all …]
|
/Linux-v6.1/arch/x86/realmode/rm/ |
D | Makefile | 19 always-y := realmode.bin realmode.relocs 21 wakeup-objs := wakeup_asm.o wakemain.o video-mode.o 22 wakeup-objs += copy.o bioscall.o regs.o 23 # The link order of the video-*.o modules can matter. In particular, 24 # video-vga.o *must* be listed first, followed by video-vesa.o. 25 # Hardware-specific drivers should follow in the order they should be 26 # probed, and video-bios.o should typically be last. 27 wakeup-objs += video-vga.o 28 wakeup-objs += video-vesa.o 29 wakeup-objs += video-bios.o [all …]
|
/Linux-v6.1/scripts/genksyms/ |
D | lex.l | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 22 /* We've got a two-level lexer here. We let flex do basic tokenization 28 IDENT [A-Za-z_\$][A-Za-z0-9_\$]* 30 O_INT 0[0-7]* 31 D_INT [1-9][0-9]* 32 X_INT 0[Xx][0-9A-Fa-f]+ 36 FRAC ([0-9]*\.[0-9]+)|([0-9]+\.) 37 EXP [Ee][+-]?[0-9]+ 39 REAL ({FRAC}{EXP}?{F_SUF}?)|([0-9]+{EXP}{F_SUF}?) 44 MC_TOKEN ([~%^&*+=|<>/-]=)|(&&)|("||")|(->)|(<<)|(>>) [all …]
|