| /linux/security/apparmor/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 4 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor.o 6 apparmor-y := apparmorfs.o audit.o capability.o task.o ipc.o lib.o match.o \ 10 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o 12 obj-$(CONFIG_SECURITY_APPARMOR_KUNIT_TEST) += apparmor_policy_unpack_test.o 13 apparmor_policy_unpack_test-objs += policy_unpack_test.o 15 clean-files := capability_names.h rlim_names.h net_names.h 17 # Build a lower case string table of address family names 30 quiet_cmd_make-af = GEN $@ 31 cmd_make-af = echo "static const char *const address_family_names[] = {" > $@ ;\ [all …]
|
| /linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| H A D | mq.json | 4 "name": "Add mq Qdisc to multi-queue device (4 queues)", 18 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 26 "name": "Add mq Qdisc to multi-queue device (256 queues)", 40 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-9,a-f][0-9,a-f]{0,2}", 63 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 70 "id": "128a", 85 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 109 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", 117 "name": "Add mq Qdisc to single-queue device", 131 "matchPattern": "qdisc [a-zA-Z0-9_]+ 0: parent 1:[1-4]", [all …]
|
| /linux/scripts/ |
| H A D | markup_oops.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 22 'cross-compile|c=s' => \$cross_compile, 28 my $kerver = `uname -r`; 48 my ($line) = @_; 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]+)/) { [all …]
|
| H A D | headers_install.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 if [ $# -ne 2 ] 24 trap 'rm -f $OUTFILE $TMPFILE' EXIT 26 # SPDX-License-Identifier with GPL variants must have "WITH Linux-syscall-note" 27 if [ - [all...] |
| H A D | syscallnr.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Generate a syscall number header. 15 set -e 18 echo >&2 "usage: $0 [--abis ABIS] [--prefix PREFIX] INFILE OUTFILE" >&2 24 echo >&2 " --abis ABIS ABI(s) to handle (By default, all lines are handled)" 25 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" 33 while [ $# -gt 0 ] 36 --abis) 39 --prefix) 42 -*) [all …]
|
| H A D | bootgraph.pl | 2 # SPDX-License-Identifier: GPL-2.0-only 13 # This script turns a dmesg output into a SVG graphic that shows which 34 2) perl scripts/bootgraph.pl -h 37 -header Insert kernel version and date 69 my $line = $_; 70 if ($line =~ /([0-9\.]+)\] calling ([a-zA-Z0-9\_\.]+)\+/) { 79 if ($line =~ /\@ ([0-9]+)/) { 85 if ($line =~ /([0-9\.]+)\] async_waiting @ ([0-9]+)/) { 93 $func = "wait_" . $pid . "_" . $pidctr{$pid}; 106 if ($line =~ /([0-9\.]+)\] initcall ([a-zA-Z0-9\_\.]+)\+.*returned/) { [all …]
|
| H A D | syscallhdr.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Generate a syscall number header. 16 set -e 19 …echo >&2 "usage: $0 [--abis ABIS] [--emit-nr] [--offset OFFSET] [--prefix PREFIX] INFILE OUTFILE" … 25 echo >&2 " --abis ABIS ABI(s) to handle (By default, all lines are handled)" 26 echo >&2 " --emit-nr Emit the macro of the number of syscalls (__NR_syscalls)" 27 echo >&2 " --offset OFFSET The offset of syscall numbers" 28 echo >&2 " --prefix PREFIX The prefix to the macro like __NR_<PREFIX><NAME>" 38 while [ $# -gt 0 ] 41 --abis) [all …]
|
| /linux/scripts/dtc/ |
| H A D | dt-extract-compatibles | 2 # SPDX-License-Identifier: GPL-2.0-only 13 # CPU_METHOD_OF_DECLARE does not have a compatible string 15 re_macros = r'(?<!CPU_METHOD_)(IRQCHIP|OF)_(DECLARE|MATCH)(_DRIVER)?\(.*?\)' 17 re_macros = r'(?<!CPU_METHOD_)(IRQCHIP|OF)_(DECLARE|MATCH)\(.*?\)' 43 for m in re.finditer(r'\.of_match_table\s+=\s+(of_match_ptr\()?([a-zA-Z0-9_-]+)', data): 50 """ Find all compatibles in the last argument of a given function """ 52 for m in re.finditer(rf'{func_name}\(([a-zA-Z0-9_>\(\)"\-]+,\s)*"([a-zA-Z0-9_,-]+)"\)', data): 59 with open(file, 'r', encoding='utf-8') as f: 63 # For a compatible in the DT to be matched to a driver it needs to show 64 # up in a driver's of_match_table [all …]
|
| /linux/tools/perf/trace/beauty/ |
| H A D | drm_ioctl.sh | 2 # SPDX-License-Identifier: LGPL-2.1 4 [ $# -eq 1 ] && header_dir=$1 || header_dir=tools/include/uapi/drm/ 12 …sed -r 's/^#define +DRM_IOCTL_([A-Z0-9_]+)[ ]+DRM_IO[A-Z]* *\( *(0x[[:xdigit:]]+),*.*/ [\2] = "\1… 13 grep "^#define DRM_I915_[A-Z_0-9]\+[ ]\+0x" $header_dir/i915_drm.h | \ 14 …sed -r 's/^#define +DRM_I915_([A-Z0-9_]+)[ ]+(0x[[:xdigit:]]+)/\t[DRM_COMMAND_BASE + \2] = "I915_…
|
| /linux/tools/perf/util/ |
| H A D | parse-events.l | 3 %option bison-bridge 6 %option bison-locations 14 #include "parse-events.h" 15 #include "parse-events-bison.h" 24 return parse_events_get_column(scanner) - parse_events_get_leng(scanner); in get_column() 36 struct parse_events_error *error = parse_state->error; in value() 45 yylval->num = num; in value() 54 yylval->str = strdup(text); in str() 64 * If a text tag specified on the command line in quoted_str() 72 yylval->str = strndup(&text[1], strlen(text) - 2); in quoted_str() [all …]
|
| /linux/usr/include/ |
| H A D | headers_check.pl | 2 # SPDX-License-Identifier: GPL-2.0 4 # headers_check.pl execute a number of trivial consistency checks 83 if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { 91 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 111 my $path = $_[0]; 143 if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { 158 # strip single-line comments, as types may be referenced within them
|
| /linux/Documentation/devicetree/bindings/arm/altera/ |
| H A D | socfpga-clk-manager.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dinh Nguyen <dinguyen@kernel.org> 20 - const: altr,clk-mgr 30 "#address-cells": 33 "#size-cells": 37 "^osc[0-9]$": 40 "^[a-z0-9,_]+(clk|pll|clk_gate|clk_divided)(@[a-f0-9]+)?$": [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | nvidia,tegra194-pinmux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/nvidia,tegra194-pinmux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra194-pinmux 17 - nvidia,tegra194-pinmux-aon 21 - description: pinmux registers 24 "^pinmux(-[a-z0-9-_]+)?$": [all …]
|
| /linux/arch/mips/kernel/syscalls/ |
| H A D | syscallnr.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ 11 -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` 12 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+${my_abis}" "$in" | sort -n | (
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | stream.c | 1 // SPDX-License-Identifier: GPL-2.0 32 prog_fd = bpf_program__fd(skel->progs.stream_syscall); 38 ret = -errno; 39 ASSERT_EQ(ret, -EINVAL, "bad prog_fd"); 42 ret = -errno; 43 ASSERT_EQ(ret, -ENOENT, "bad stream id"); 46 ret = -errno; in match_regex() 47 ASSERT_EQ(ret, -EFAUL in match_regex() [all...] |
| /linux/arch/arm/tools/ |
| H A D | syscallnr.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ 9 -e 's/[^A-Z0-9_]/_/g' -e 's/__/_/g'` 11 grep -E "^[0-9A-Fa-fXx]+[[:space:]]+" "$in" | sort -n | tail -n1 | ( 23 while [ "$(($nr / (256 * $align) ))" -gt 0 ]; do 26 nr=$(( ($nr + $align - 1) & ~($align - 1) ))
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | nvidia,tegra-audio-wm9712.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm9712.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-wm9712([-_][a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-wm9712 22 nvidia,audio-routing: [all …]
|
| H A D | nvidia,tegra-audio-sgtl5000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-sgtl5000.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-sgtl5000([-_][a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-sgtl5000 22 nvidia,audio-routing: [all …]
|
| /linux/arch/riscv/kernel/compat_vdso/ |
| H A 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/arch/riscv/kernel/vdso/ |
| H A 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/arch/csky/kernel/vdso/ |
| H A D | so2s.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 sed 's!\([0-9a-f]*\) T \([a-z0-9_]*\)\(@@LINUX_5.10\)*!.global \2\n.set \2,0x\1!' \
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A 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="`mktemp -d ${TMPDIR-/tmp}/kvm.sh.XXXXXX`" 18 trap 'rm -rf $T' 0 23 LANG=en_US.UTF-8; export LANG 57 ds=`date +%Y.%m.%d-%H.%M.%S` 58 jitter="-1" 65 echo " --allcpus" [all …]
|
| /linux/arch/loongarch/vdso/ |
| H A 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/Documentation/driver-api/media/drivers/ccs/ |
| H A D | mk-ccs-regs | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 3 # Copyright (C) 2019--2020 Intel Corporation 8 my $ccsregs = "ccs-regs.asc"; 28 $0 - Create CCS register definitions for C 30 usage: $0 -c ccs-regs.asc -e header -r regarray -l limit-c -L limit-header [-k] 32 -c ccs register file 33 -e header file name 34 -r register description array file name 35 -l limit and capability array file name [all …]
|
| /linux/arch/powerpc/kernel/vdso/ |
| H A 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'
|