/linux/arch/powerpc/crypto/ |
H A 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 14 * instructions. E.g. evldw, evlwwsplat, ... 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 */ 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) [all …]
|
/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 19 # #define AF_LOCAL 1 /* POSIX name for AF_UNIX */ 22 # [1] = "local", [all …]
|
/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. 12 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 17 T="`mktemp -d ${TMPDIR-/tm [all...] |
H A D | kvm-recheck-refscale.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Analyze a given results directory for refscale performance measurements. 6 # Usage: kvm-recheck-refscale.sh resdir 10 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 12 i="$1" 13 if test -d "$i" -a -r "$i" 18 exit 1 23 configfile=`echo $i | sed -e 's/^.*\///'` 25 sed -e 's/^\[[^]]*]//' < $i/console.log | tr -d '\015' | 26 awk -v configfile="$configfile" ' [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | test_arm_coresight.sh | 9 # SPDX-License-Identifier: GPL-2.0 15 perf list pmu | grep -q 'cs_etm//' && return 0 28 rm -f ${perfdata} 29 rm -f ${file} 30 rm -f "${perfdata}.old" 31 trap - EXIT TERM INT 38 echo "Recording trace (only user mode) with path: CPU$2 => $1" 39 rm - [all...] |
H A D | test_arm_spe.sh | 8 # SPDX-License-Identifier: GPL-2.0 12 perf list pmu | grep -E -q 'arm_spe_[0-9]+//' && return 0 25 rm -f ${perfdata} 26 rm - [all...] |
/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp15-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 /omit-if-no-ref/ 10 adc1_ain_pins_a: adc1-ain-0 { 13 <STM32_PINMUX('B', 1, ANALOG)>, /* ADC1_INP5 */ 17 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1_INP15 */ 21 /omit-if-no-ref/ 22 adc1_in6_pins_a: adc1-in6-0 { 28 /omit-if-no-ref/ [all …]
|
H A D | stm32mp13-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 /omit-if-no-ref/ 10 adc1_pins_a: adc1-pins-0 { 12 pinmux = <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */ 16 /omit-if-no-ref/ 17 adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 { 20 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1 in12 */ 24 /omit-if-no-ref/ [all …]
|
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | run_common.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 RUN_BENCH="sudo ./bench -w3 -d10 -a" 8 local len=${#1} 10 printf "\n%s\n" "$1" 11 for i in $(seq 1 $len); do printf '='; done 17 local len=${#1} 18 printf "\t%s\n" "$1" 23 echo "$*" | sed -E "s/.*hits\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 28 echo "$*" | sed -E "s/.*drops\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+M\/s).*/\1/" 33 echo "$*" | sed -E "s/.*Percentage\s=\s+([0-9]+\.[0-9]+).*/\1/" [all …]
|
/linux/tools/memory-model/scripts/ |
H A D | parseargs.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 8 # Include into other Linux kernel tools/memory-model scripts. 12 # Author: Paul E. McKenney <paulmck@linux.ibm.com> 19 echo if test -z '"$'$1'"' > $T/s 21 echo $1='"'$2'"' >> $T/s 22 echo export $1 >> $T/s 24 echo $1_DEF='$'$1 >> $T/s 29 initparam LKMM_HERD_OPTIONS "-conf linux-kernel.cfg" 33 initparam LKMM_TIMEOUT "1m" 39 echo " --destdir path (place for .litmus.out, default by .litmus)" [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 # Kselftest framework requirement - SKIP code is 4. 19 # This test needs to be run in a network namespace with in_netns.sh. Check if 22 if [[ -z $(ip netns identify $$) ]]; then 30 if ! unshare --net $bpftool prog attach pinned \ 33 err=1 39 if unshare --net $bpftool prog attach pinned \ 42 err=1 48 err=1 51 rm -rf /sys/fs/bpf/flow [all …]
|
/linux/tools/perf/pmu-events/arch/x86/ |
H A D | mapfile.csv | 1 Family-model,Version,Filename,EventType 2 GenuineIntel-6-(97|9A|B7|BA|BF),v1.27,alderlake,core 3 GenuineIntel-6-BE,v1.27,alderlaken,core 4 GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core 5 GenuineIntel-6-(3D|47),v29,broadwell,core 6 GenuineIntel-6-56,v11,broadwellde,core 7 GenuineIntel-6-4F,v22,broadwellx,core 8 GenuineIntel-6-55-[56789ABCDEF],v1.22,cascadelakex,core 9 GenuineIntel-6-9[6C],v1.05,elkhartlake,core 10 GenuineIntel-6-CF,v1.09,emeraldrapids,core [all …]
|
/linux/crypto/ |
H A D | sm3.c | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * SM3 secure hash, as specified by OSCCA GM/T 0004-2012 SM3 and described 4 * at https://datatracker.ietf.org/doc/html/draft-sca-cfrg-sm3-02 7 * Copyright (C) 2017 Gilad Ben-Yossef <gilad@benyossef.com> 35 * Transform the message X which consists of 16 32-bit-words. See 36 * GM/T 004-2012 for details. 38 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument 40 ss1 = rol32((rol32((a), 12) + (e) + (t)), 7); \ 41 ss2 = ss1 ^ rol32((a), 12); \ 42 d += FF ## i(a, b, c) + ss2 + ((w1) ^ (w2)); \ [all …]
|
/linux/arch/sh/include/asm/ |
H A D | pgtable_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * notes on SH-X2 MMUs and 64-bit PTEs): 11 * - Bits 0 and 7 are reserved on SH-3 (_PAGE_WT and _PAGE_SZ1 on SH-4). 13 * - Bit 1 is the SH-bit, but is unused on SH-3 due to an MMU bug (the 14 * hardware PTEL value can't have the SH-bit set when MMUCR.IX is set, 15 * which is the default in cpu-sh3/mmu_context.h:MMU_CONTROL_INIT). 18 * SH-3 specific flags until all of the other unused bits have been 21 * - Bit 9 is reserved by everyone and used by _PAGE_PROTNONE. 23 * - Bits 10 and 11 are low bits of the PPN that are reserved on >= 4K pages. 26 * - On 29 bit platforms, bits 31 to 29 are used for the space attributes [all …]
|
/linux/lib/ |
H A D | hexdump.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * hex_to_bin - convert a hex digit to its real value 23 * hex_to_bin() converts one hex digit to its actual value or -1 in case of bad 26 * This function is used to load cryptographic keys, so it is coded in such a 30 * (ch - '9' - 1) is negative if ch <= '9' 31 * ('0' - 1 - ch) is negative if ch >= '0' 33 * '0' ... '9' 34 * we are only interested in the sign, so we do a shift ">> 8"; note that right 35 * shift of a negative value is implementation-defined, so we cast the 36 * value to (unsigned) before the shift --- we have 0xffffff if ch is in [all …]
|
H A D | cmdline_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 "\"\"", "" , "=" , "\"-", "," , "-," , ",-" , "-" , 13 "+," , "--", ",,", "''" , "\"\",", "\",\"", "-\"\"", "\"", 17 1, 1, 1, 1, 2, 3, 2, 3, 18 1, 3, 2, 1, 1, 1, 3, 1, 24 "-7" , "--7" , "-1-2" , "7--9", 25 "7-" , "-7--9", "7-9," , "9-7" , 26 "5-a", "a-5" , "5-8" , ",8-5", 27 "+,1", "-,4" , "-3,0-1,6", "4,-" , 28 " +2", " -9" , "0-1,-3,6", "- 9" , [all …]
|
H A D | test_hexdump.c | 13 '\xbe', '\x32', '\xdb', '\x7b', '\x0a', '\x18', '\x93', '\xb2', /* 00 - 07 */ 14 '\x70', '\xba', '\xc4', '\x24', '\x7d', '\x83', '\x34', '\x9b', /* 08 - 0f */ 15 '\xa6', '\x9c', '\x31', '\xad', '\x9c', '\x0f', '\xac', '\xe9', /* 10 - 17 */ 16 '\x4c', '\xd1', '\x19', '\x99', '\x43', '\xb1', '\xaf', '\x0c', /* 18 - 1f */ 19 static const unsigned char data_a[] = ".2.{....p..$}.4...1.....L...C..."; 22 "be", "32", "db", "7b", "0a", "18", "93", "b2", 23 "70", "ba", "c4", "24", "7d", "83", "34", "9b", 24 "a6", "9c", "31", "ad", "9c", "0f", "ac", "e9", 29 "32be", "7bdb", "180a", "b293", 30 "ba70", "24c4", "837d", "9b34", [all …]
|
/linux/arch/x86/include/asm/ |
H A D | pgtable-3level.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Intel Physical Address Extension (PAE) Mode - three-level page 12 #define pte_ERROR(e) \ argument 14 __FILE__, __LINE__, &(e), (e).pte_high, (e).pte_low) 15 #define pmd_ERROR(e) \ argument 17 __FILE__, __LINE__, &(e), pmd_val(e)) 18 #define pgd_ERROR(e) \ argument 20 __FILE__, __LINE__, &(e), pgd_val(e)) 31 * either not present or in a state where the hardware will 34 * value and then use set_pte to update it. -ben [all …]
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-lpc18xx.c | 18 #include <linux/pinctrl/pinconf-generic.h> 24 #include "pinctrl-utils.h" 68 TYPE_ND, /* Normal-drive */ 69 TYPE_HD, /* High-drive */ 70 TYPE_HS, /* High-speed */ 207 #define LPC18XX_ANALOG_ADC(a) ((a >> 5) & 0x3) argument 213 #define LPC_P(port, pin, f0, f1, f2, f3, f4, f5, f6, f7, a, t) \ argument 221 .analog = a, \ 225 #define LPC_N(pname, off, f0, f1, f2, f3, f4, f5, f6, f7, a, t) \ argument 233 .analog = a, \ [all …]
|
/linux/Documentation/networking/ |
H A D | pktgen.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Enable CONFIG_NET_PKTGEN to compile and build pktgen either in-kernel 8 or as a module. A module is preferred; modprobe pktgen if needed. Once 9 running, pktgen creates a thread for each CPU with affinity to that CPU. 10 Monitoring and controlling is done via /proc. It is easiest to select a 13 On a dual CPU:: 31 overload type of benchmarking, as this could hurt the normal use-case. 35 # ethtool -G ethX tx 1024 37 A larger TX ring can improve pktgen's performance, while it can hurt 38 in the general case, 1) because the TX ring buffer might get larger [all …]
|
/linux/scripts/genksyms/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | video-interfaces.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/video-interfaces.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sakari Ailus <sakari.ailus@linux.intel.com> 11 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 14 Video data pipelines usually consist of external devices, e.g. camera sensors, 20 bus controller nodes, e.g. I2C. 23 Configuration of a port depends on other devices participating in the data 29 #address-cells = <1>; [all …]
|
/linux/include/dt-bindings/pinctrl/ |
H A D | pinctrl-sg2000.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ 11 #include <dt-bindings/pinctrl/pinctrl-cv18xx.h> 14 ((((row) - 'A' + 1) << 8) + ((col) - 1)) 16 #define PIN_MIPI_TXM4 PINPOS('A', 2) 17 #define PIN_MIPIRX0N PINPOS('A', 4) 18 #define PIN_MIPIRX3P PINPOS('A', 6) 19 #define PIN_MIPIRX4P PINPOS('A', 7) 20 #define PIN_VIVO_D2 PINPOS('A', 9) 21 #define PIN_VIVO_D3 PINPOS('A', 10) 22 #define PIN_VIVO_D10 PINPOS('A', 12) [all …]
|
H A D | pinctrl-cv1812h.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */ 11 #include <dt-bindings/pinctrl/pinctrl-cv18xx.h> 14 ((((row) - 'A' + 1) << 8) + ((col) - 1)) 16 #define PIN_MIPI_TXM4 PINPOS('A', 2) 17 #define PIN_MIPIRX0N PINPOS('A', 4) 18 #define PIN_MIPIRX3P PINPOS('A', 6) 19 #define PIN_MIPIRX4P PINPOS('A', 7) 20 #define PIN_VIVO_D2 PINPOS('A', 9) 21 #define PIN_VIVO_D3 PINPOS('A', 10) 22 #define PIN_VIVO_D10 PINPOS('A', 12) [all …]
|
/linux/ |
H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 13 E: mea@nic.funet.fi 20 E: thomas.ab@samsung.com 24 E: dragos@iname.com 32 E: madler@alumni.caltech.edu 37 E: magrawal@nortelnetworks.com 44 E: airlied@linux.ie [all …]
|