| /kernel/linux/linux-5.10/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 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 */ 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) [all …]
|
| /kernel/linux/linux-6.6/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 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 */ 35 .long R(ff, f2, f2, 0d), R(d6, 6b, 6b, bd) [all …]
|
| /kernel/linux/linux-6.6/security/apparmor/ |
| 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 *address_family_names[] = {" > $@ ;\ [all …]
|
| /kernel/linux/linux-5.10/security/apparmor/ |
| 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 \ 9 apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o 11 clean-files := capability_names.h rlim_names.h net_names.h 13 # Build a lower case string table of address family names 26 quiet_cmd_make-af = GEN $@ 27 cmd_make-af = echo "static const char *address_family_names[] = {" > $@ ;\ 28 sed $< >>$@ -r -n -e "/AF_MAX/d" -e "/AF_LOCAL/d" -e "/AF_ROUTE/d" -e \ 29 's/^\#define[ \t]+AF_([A-Z0-9_]+)[ \t]+([0-9]+)(.*)/[\2] = "\L\1",/p';\ [all …]
|
| /kernel/linux/linux-6.6/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. 12 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 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 54 cpus=0 [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/ |
| D | pgtable-32.h | 19 #include <asm-generic/pgtable-nopmd.h> 26 * Regarding 32-bit MIPS huge page support (and the tradeoff it entails): 28 * We use the same huge page sizes as 64-bit MIPS. Assuming a 4KB page size, 29 * our 2-level table layout would normally have a PGD entry cover a contiguous 30 * 4MB virtual address region (pointing to a 4KB PTE page of 1,024 32-bit pte_t 31 * pointers, each pointing to a 4KB physical page). The problem is that 4MB, 32 * spanning both halves of a TLB EntryLo0,1 pair, requires 2MB hardware page 35 * pointers a PTE page holds, making its last half go to waste. Correspondingly, 37 * increases to match 64-bit MIPS, but PTE lookups remain CPU cache-friendly. 39 * NOTE: We don't yet support huge pages if extended-addressing is enabled [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| 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 adc1_ain_pins_a: adc1-ain-0 { 13 <STM32_PINMUX('B', 0, ANALOG)>, /* ADC1_INP9 */ 14 <STM32_PINMUX('C', 0, ANALOG)>, /* ADC1_INP10 */ 16 <STM32_PINMUX('A', 3, ANALOG)>; /* ADC1_INP15 */ 20 adc1_in6_pins_a: adc1-in6-0 { 26 adc12_ain_pins_a: adc12-ain-0 { 35 adc12_ain_pins_b: adc12-ain-1 { [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/ |
| D | run_common.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 RUN_BENCH="sudo ./bench -w3 -d10 -a" 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/" 38 echo -n "throughput: " 39 echo -n "$*" | sed -E "s/.*throughput\s+([0-9]+\.[0-9]+ ± [0-9]+\.[0-9]+\sM\sops\/s).*/\1/" 40 echo -n -e ", latency: " 41 echo "$*" | sed -E "s/.*latency\s+([0-9]+\.[0-9]+\sns\/op).*/\1/" 46 echo -n "hits throughput: " [all …]
|
| /kernel/linux/linux-6.6/tools/perf/tests/shell/ |
| D | test_arm_coresight.sh | 9 # SPDX-License-Identifier: GPL-2.0 12 glb_err=0 15 perf list | grep -q 'cs_etm//' && return 0 28 rm -f ${perfdata} 29 rm -f ${file} 30 rm -f "${perfdata}.old" 31 trap - EXIT TERM INT 39 rm -f $file 40 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \ 41 -- taskset -c $2 touch $file > /dev/null 2>&1 [all …]
|
| D | test_arm_spe.sh | 8 # SPDX-License-Identifier: GPL-2.0 12 perf list | grep -E -q 'arm_spe_[0-9]+//' && return 0 21 glb_err=0 25 rm -f ${perfdata} 26 rm -f ${perfdata}.old 33 if [ $2 = 0 ]; then 46 # from arm-spe.c/arm_spe_synth_events() 47 …events="(ld1-miss|ld1-access|llc-miss|lld-access|tlb-miss|tlb-access|branch-miss|remote-access|mem… 50 …# dd 3048 [002] 1 l1d-access: ffffaa64999c __GI___libc_write+0x3c (/lib/aarch64-… 51 …# dd 3048 [002] 1 tlb-access: ffffaa64999c __GI___libc_write+0x3c (/lib/aarch64-… [all …]
|
| D | trace+probe_vfs_getname.sh | 5 # then use it with 'perf trace' using 'touch' to write to a temp file, then 10 # SPDX-License-Identifier: GPL-2.0 13 . "$(dirname $0)"/lib/probe.sh 18 . "$(dirname $0)"/lib/probe_vfs_getname.sh 21 …alls:sys_enter_open* 2>/dev/null | grep -E 'open(at)? ' | sed -r 's/.*sys_enter_([a-z]+) +\[.*$/\1… 22 perf trace -e $evts touch $file 2>&1 | \ 23 …-E " +[0-9]+\.[0-9]+ +\( +[0-9]+\.[0-9]+ ms\): +touch/[0-9]+ open(at)?\((dfd: +CWD, +)?filename: +… 29 if [ $err -ne 0 ] ; then 41 rm -f ${file}
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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 adc1_in6_pins_a: adc1-in6-0 { 15 adc12_ain_pins_a: adc12-ain-0 { 24 adc12_ain_pins_b: adc12-ain-1 { 31 adc12_usb_cc_pins_a: adc12-usb-cc-pins-0 { 33 pinmux = <STM32_PINMUX('A', 4, ANALOG)>, /* ADC12 in18 */ 34 <STM32_PINMUX('A', 5, ANALOG)>; /* ADC12 in19 */ 38 cec_pins_a: cec-0 { [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 unmount=0 8 # Kselftest framework requirement - SKIP code is 4. 12 if [ $UID != 0 ]; then 17 # This test needs to be run in a network namespace with in_netns.sh. Check if 20 if [[ -z $(ip netns identify $$) ]]; then 21 err=0 28 if ! unshare --net $bpftool prog attach pinned \ 37 if unshare --net $bpftool prog attach pinned \ 49 rm -rf /sys/fs/bpf/flow [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| D | test_flow_dissector.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 unmount=0 10 # Kselftest framework requirement - SKIP code is 4. 14 if [ $UID != 0 ]; then 19 # This test needs to be run in a network namespace with in_netns.sh. Check if 22 if [[ -z $(ip netns identify $$) ]]; then 23 err=0 30 if ! unshare --net $bpftool prog attach pinned \ 39 if unshare --net $bpftool prog attach pinned \ 51 rm -rf /sys/fs/bpf/flow [all …]
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/ |
| D | mapfile.csv | 1 Family-model,Version,Filename,EventType 2 GenuineIntel-6-(97|9A|B7|BA|BF),v1.21,alderlake,core 3 GenuineIntel-6-BE,v1.21,alderlaken,core 4 GenuineIntel-6-(1C|26|27|35|36),v4,bonnell,core 5 GenuineIntel-6-(3D|47),v28,broadwell,core 6 GenuineIntel-6-56,v10,broadwellde,core 7 GenuineIntel-6-4F,v21,broadwellx,core 8 GenuineIntel-6-55-[56789ABCDEF],v1.19,cascadelakex,core 9 GenuineIntel-6-9[6C],v1.04,elkhartlake,core 10 GenuineIntel-6-5[CF],v13,goldmont,core [all …]
|
| /kernel/linux/linux-6.6/tools/memory-model/scripts/ |
| 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 29 initparam LKMM_HERD_OPTIONS "-conf linux-kernel.cfg" 35 scriptname=$0 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)" [all …]
|
| /kernel/linux/linux-5.10/tools/memory-model/scripts/ |
| 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.vnet.ibm.com> 19 echo if test -z '"$'$1'"' > $T/s 29 initparam LKMM_HERD_OPTIONS "-conf linux-kernel.cfg" 34 scriptname=$0 38 echo " --destdir path (place for .litmus.out, default by .litmus)" 39 echo " --herdopts -conf linux-kernel.cfg ..." 40 echo " --jobs N (number of jobs, default one per CPU)" 41 echo " --procs N (litmus tests with at most this many processes)" [all …]
|
| /kernel/linux/linux-6.6/crypto/ |
| 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> 16 0x79cc4519, 0xf3988a32, 0xe7311465, 0xce6228cb, 17 0x9cc45197, 0x3988a32f, 0x7311465e, 0xe6228cbc, 18 0xcc451979, 0x988a32f3, 0x311465e7, 0x6228cbce, 19 0xc451979c, 0x88a32f39, 0x11465e73, 0x228cbce6, 20 0x9d8a7a87, 0x3b14f50f, 0x7629ea1e, 0xec53d43c, 21 0xd8a7a879, 0xb14f50f3, 0x629ea1e7, 0xc53d43ce, [all …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/shell/ |
| D | test_arm_coresight.sh | 9 # SPDX-License-Identifier: GPL-2.0 16 perf list | grep -q 'cs_etm//' && return 0 26 rm -f ${perfdata} 27 rm -f ${file} 34 rm -f $file 35 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \ 36 -- taskset -c $2 touch $file 43 …6512 1 branches:u: ffffb220824c strcmp+0xc (/lib/aarch64-linux-gnu/ld-2.27.s… 44 …512 1 branches:u: ffffb22082e0 strcmp+0xa0 (/lib/aarch64-linux-gnu/ld-2.27.s… 45 …512 1 branches:u: ffffb2208320 strcmp+0xe0 (/lib/aarch64-linux-gnu/ld-2.27.s… [all …]
|
| /kernel/linux/linux-6.6/arch/sh/include/asm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/x86/include/asm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | cmdline_kunit.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 "\"\"", "" , "=" , "\"-", "," , "-," , ",-" , "-" , 13 "+," , "--", ",,", "''" , "\"\",", "\",\"", "-\"\"", "\"", 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" , 32 { 1, -7, }, { 0, -0, }, { 4, -1, 0, +1, 2, }, { 0, 7, }, 33 { 0, +7, }, { 0, -7, }, { 3, +7, 8, +9, 0, }, { 0, 9, }, [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/lib/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
| 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> 13 if test -d "$i" -a -r "$i" 23 configfile=`echo $i | sed -e 's/^.*\///'` 25 sed -e 's/^\[[^]]*]//' < $i/console.log | tr -d '\015' | 26 awk -v configfile="$configfile" ' 28 if (dataphase + 0 == 0) { 30 # print configfile, $0; [all …]
|