Home
last modified time | relevance | path

Searched +full:a +full:- +full:za +full:- +full:z (Results 1 – 25 of 34) sorted by relevance

12

/linux/tools/testing/selftests/ftrace/test.d/trigger/
H A Dtrigger-hist.tc2 # 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/arch/arm64/include/uapi/asm/
H A Dsigcontext.h1 /* 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
67 * be meaningful in ASCII to aid manual parsing, ZA doesn't follow this
85 * Note: similarly to all other integer fields, each V-register is stored in an
86 * endianness-dependent format, with the byte at offset i from the start of the
87 * in-memory representation of the register value containing
[all …]
/linux/arch/arm64/kernel/
H A Dentry-fpsimd.S1 /* SPDX-License-Identifier: GPL-2.0-only */
17 * x0 - pointer to struct fpsimd_state
27 * x0 - pointer to struct fpsimd_state
39 * x0 - pointer to buffer for state
40 * x1 - pointer to storage for FPSR
41 * x2 - Save FFR if non-zero
51 * x0 - pointer to buffer for state
52 * x1 - pointer to storage for FPSR
53 * x2 - Restore FFR if non-zero
71 * Zero all SVE registers but the first 128-bits of each vector
[all …]
H A Dprocess.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 1996-2000 Russell King - Converted to ARM.
84 * to execute e.g. a RAM-based pin loop is not sufficient. This allows the
107 * Power-off simply requires that the secondary CPUs stop performing any
122 * provide a HW restart implementation, to ensure that all CPUs reset at once.
124 * doesn't have to co-ordinate with other CPUs to ensure they aren't still
125 * executing pre-reset code, and using RAM that the primary CPU's code wishes
126 * to use. Implementing such co-ordination would be essentially impossible.
145 * Whoops - the architecture was unable to reboot. in machine_restart()
147 printk("Reboot failed -- System halted\n"); in machine_restart()
[all …]
/linux/Documentation/devicetree/bindings/bus/
H A Dallwinner,sun50i-a64-de2.yaml1 # 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/scripts/
H A Dprofile2linkerlist.pl2 # 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]+/;
H A Dmarkup_oops.pl2 # 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 …]
H A Dextract-sys-certs.pl2 # SPDX-License-Identifier: GPL-2.0
9 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n"
11 $#ARGV == 3 && $ARGV[0] ne "-s");
26 open FD, "objdump -h $vmlinux |" || die $vmlinux;
34 …if ($line =~ /\s*([0-9]+)\s+(\S+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+2[*][*…
38 my $len = Math::BigInt->new("0x" . $3);
39 my $vma = Math::BigInt->new("0x" . $4);
40 my $lma = Math::BigInt->new("0x" . $5);
41 my $foff = Math::BigInt->new("0x" . $6);
55 # from a vmlinuz file with extract-vmlinux then the symbol table will be empty.
[all …]
H A Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
69 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst";
72 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE
74 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
88 -q, --quiet quiet
89 -v, --verbose verbose mode
90 --no-tree run without a kernel tree
91 --no-signoff do not check for 'Signed-off-by' line
[all …]
H A Dtags.sh2 # 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 if [ -n "${IGNORE_DIRS}" ]; then
23 ignore="${ignore} ( -path $i ) -prune -o"
28 # to force full paths for a non-O= build
29 if [ "${srctree}" = "." -o -z "${srctree}" ]; then
37 # the kernel source tree, index all files in absolute-path form.
38 if [[ "$1" == "gtags" && -n "${tree}" ]]; then
[all …]
/linux/tools/arch/x86/tools/
H A Dgen-insn-attr-x86.awk1 #!/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-att
[all...]
/linux/scripts/kconfig/
H A Dmerge_config.sh2 # 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-201
[all...]
/linux/tools/perf/util/
H A Dbpf-filter.l9 #include "bpf-filter.h"
10 #include "bpf-filter-bison.h"
76 num_dec [0-9]+
77 num_hex 0[Xx][0-9a-fA-F]+
80 ident [_a-zA
[all...]
/linux/tools/memory-model/scripts/
H A Dparseargs.sh2 # SPDX-License-Identifier: GPL-2.0+
8 # Include into other Linux kernel tools/memory-model scripts.
19 echo if test -z '"$'$1'"' > $T/s
29 initparam LKMM_HERD_OPTIONS "-conf linux-kernel.cfg"
39 echo " --destdir path (place for .litmus.out, default by .litmus)"
40 echo " --herdopts -conf linux-kernel.cfg ..."
41 echo " --hw AArch64"
42 echo " --jobs N (number of jobs, default one per CPU)"
43 echo " --procs N (litmus tests with at most this many processes)"
44 echo " --timeout N (herd7 timeout (e.g., 10s, 1m, 2hr, 1d, '')"
[all …]
/linux/tools/bootconfig/scripts/
H A Dftrace2bconf.sh2 # 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/lib/
H A Dbuild_OID_registry1 #!/usr/bin/perl -w
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Build a static ASN.1 Object Identified (OID) registry
17 print STDERR "Format: ", $0, " <in-h-file> <out-c-file>\n";
29 if (m!\s+OID_([a-zA-z][a-zA-Z0-9_]+),\s+/[*]\s+([012][.0-9]*)\s+[*]/!) {
76 # Emit the look-up-by-OID index table
109 for (; $tmp > 0; $tmp--) {
119 # Create a hash value for each OID
155 my @octets_a = @{$encoded_oids[$a]};
158 return $hash_values[$a] <=> $hash_values[$b]
[all …]
/linux/arch/x86/boot/
H A DMakefile14 # Set it to -DSVGA_MODE=NORMAL_VGA if you just want the EGA/VGA mode.
17 SVGA_MODE := -DSVGA_MODE=NORMAL_VGA
21 subdir- := compressed
23 setup-y += a20.o bioscall.o cmdline.o copy.o cpu.o cpuflags.o cpucheck.o
24 setup-y += early_serial_console.o edd.o header.o main.o memory.o
25 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o
26 setup-y += video-mode.o version.o
27 setup-$(CONFIG_X86_APM_BOOT) += apm.o
29 # The link order of the video-*.o modules can matter. In particular,
30 # video-vga.o *must* be listed first, followed by video-vesa.o.
[all …]
/linux/Documentation/netlink/
H A Dnetlink-raw.yaml1 # 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
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
25 description: Specification of a raw netlink protocol
[all …]
H A Dgenetlink.yaml1 # 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
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
H A Dgenetlink-legacy.yaml1 # 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
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c1 // 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.
51 MODULE_DESCRIPTION("mISDN driver for CCD's hfc-pci based cards");
103 /* marker saving last b-fifo frame count */
142 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE; in enable_hwirq()
143 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq()
[all …]
/linux/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl2 # This is a POC (proof of concept or piece of crap, take your pick) for reading the
4 # to extract some high-level information on what is going on. The accuracy of the parser
7 # Example usage: trace-pagealloc-postprocess.pl < /sys/kernel/tracing/trace_pipe
9 # --prepend-parent Report on the parent proc and PID
10 # --read-procstat If the trace lacks process info, get it from /proc
11 # --ignore-pid Aggregate processes of the same name together
31 # High-level events extrapolated from tracepoints
52 if ($current_time - 2 > $sigint_received) {
53 print "SIGINT received, report pending. Hit ctrl-c again to exit\n";
74 'ignore-pid' => \$opt_ignorepid,
[all …]
H A Dtrace-vmscan-postprocess.pl2 # This is a POC for reading the text representation of trace output related to
3 # page reclaim. It makes an attempt to extract some high-level information on
6 # Example usage: trace-vmscan-postprocess.pl < /sys/kernel/tracing/trace_pipe
8 # --read-procstat If the trace lacks process info, get it from /proc
9 # --ignore-pid Aggregate processes of the same name together
31 # Per-order events
43 # High-level events extrapolated from tracepoints
83 if ($current_time - 2 > $sigint_received) {
84 print "SIGINT received, report pending. Hit ctrl-c again to exit\n";
105 'ignore-pid' => \$opt_ignorepid,
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-again.sh2 # SPDX-License-Identifier: GPL-2.0+
4 # Rerun a series of tests under KVM.
6 # Usage: kvm-again.sh /path/to/old/run [ options ]
15 T="`mktemp -d ${TMPDIR-/tmp}/kvm-again.sh.XXXXXX`"
16 trap 'rm -rf $T' 0
18 if ! test -d tools/testing/selftests/rcutorture/bin
20 echo $scriptname must be run from top-level directory of kernel source tree.
26 if ! test -d "$oldrun"
38 if test -f "$oldrun/torture_suite"
41 elif test -f "$oldrun/TORTURE_SUITE"
[all …]
/linux/scripts/dtc/
H A Ddt_to_config2 # SPDX-License-Identifier: GPL-2.0-only
13 $VUFX = "160610a";
19 # ----- constants for print_flags()
21 # Position in string $pr_flags. Range of 0..($num_pr_flags - 1).
39 # expessions to work for --include_flags and --exclude_flags.
61 # -----
67 # expected values are: "y", "m", a decimal number, a
68 # hex number, or a string
70 # ----- magic compatibles, do not have a driver
77 'simple-bus' => '1',
[all …]

12