/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 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 …]
|
/Linux-v6.1/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 …]
|
/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. 12 # Authors: Paul E. McKenney <paulmck@linux.ibm.com> 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 [all …]
|
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 …]
|
D | kvm-test-1-run-batch.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Carry out a kvm-based run for the specified batch of scenarios, which 5 # might have been built by --build-only kvm.sh run. 7 # Usage: kvm-test-1-run-batch.sh SCENARIO [ SCENARIO ... ] 9 # Each SCENARIO is the name of a directory in the current directory 10 # containing a ready-to-run qemu-cmd file. 14 # Authors: Paul E. McKenney <paulmck@kernel.org> 16 T=${TMPDIR-/tmp}/kvm-test-1-run-batch.sh.$$ 17 trap 'rm -rf $T' 0 20 echo ---- Running batch $* [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/tools/perf/pmu-events/arch/x86/ |
D | mapfile.csv | 1 Family-model,Version,Filename,EventType 2 GenuineIntel-6-(97|9A|B7|BA|BE|BF),v1.15,alderlake,core 3 GenuineIntel-6-(1C|26|27|35|36),v4,bonnell,core 4 GenuineIntel-6-(3D|47),v26,broadwell,core 5 GenuineIntel-6-56,v23,broadwellde,core 6 GenuineIntel-6-4F,v19,broadwellx,core 7 GenuineIntel-6-55-[56789ABCDEF],v1.16,cascadelakex,core 8 GenuineIntel-6-9[6C],v1.03,elkhartlake,core 9 GenuineIntel-6-5[CF],v13,goldmont,core 10 GenuineIntel-6-7A,v1.01,goldmontplus,core [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
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 | 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 */ 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", 25 "4c", "d1", "19", "99", "43", "b1", "af", "0c", 29 "32be", "7bdb", "180a", "b293", 30 "ba70", "24c4", "837d", "9b34", [all …]
|
/Linux-v6.1/scripts/ |
D | rust_is_available.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Tests whether a suitable Rust toolchain is available. 6 # Pass `-v` for human output and more checks (as warnings). 8 set -e 10 min_tool_version=$(dirname $0)/min-tool-version.sh 12 # Convert the version string x.y.z to a canonical up-to-7-digits form. 15 # instances in other version scripts) to give a bit more space to 16 # `rustc` since it will reach 1.100.0 in late 2026. 20 set -- $1 25 if ! command -v "$RUSTC" >/dev/null; then [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/Documentation/networking/ |
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:: 16 root 129 0.3 0.0 0 0 ? SW 2003 523:20 [kpktgend_0] 17 root 130 0.3 0.0 0 0 ? SW 2003 509:50 [kpktgend_1] 31 overload type of benchmarking, as this could hurt the normal use-case. 35 # ethtool -G ethX tx 1024 [all …]
|
/Linux-v6.1/net/netfilter/ipvs/ |
D | ip_vs_est.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Global data moved to netns i.e struct netns_ipvs 28 This code is to estimate rate in a shorter interval (such as 8 29 seconds) for virtual services and real servers. For measure rate in a 30 long interval, it is easy to implement a user level daemon which 38 avgrate = avgrate*(1-W) + rate*W 40 where W = 2^(-2) 46 * Netlink users can see 64-bit values but sockopt users are restricted 47 to 32-bit values for conns, packets, bps, cps and pps. 49 * A lot of code is taken from net/core/gen_estimator.c [all …]
|
/Linux-v6.1/drivers/pinctrl/ |
D | pinctrl-lpc18xx.c | 19 #include <linux/pinctrl/pinconf-generic.h> 22 #include "pinctrl-utils.h" 25 #define LPC18XX_SCU_REG_ENAIO0 0xc88 26 #define LPC18XX_SCU_REG_ENAIO1 0xc8c 27 #define LPC18XX_SCU_REG_ENAIO2 0xc90 28 #define LPC18XX_SCU_REG_ENAIO2_DAC BIT(0) 31 #define LPC18XX_SCU_PIN_MODE_MASK 0x7 37 #define LPC18XX_SCU_PIN_EHD_MASK 0x300 43 #define LPC18XX_SCU_I2C0_EFP BIT(0) 47 #define LPC18XX_SCU_I2C0_SCL_SHIFT 0 [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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
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-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/arch/ia64/include/asm/ |
D | pgtable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * the IA-64 page table tree. 9 * This hopefully works with any (fixed) IA-64 page-size, as defined 12 * Copyright (C) 1998-2005 Hewlett-Packard Co 13 * David Mosberger-Tang <davidm@hpl.hp.com> 25 * First, define the various bits in a PTE. Note that the PTE format 29 #define _PAGE_P_BIT 0 34 #define _PAGE_MA_WB (0x0 << 2) /* write back memory attribute */ 35 #define _PAGE_MA_UC (0x4 << 2) /* uncacheable memory attribute */ 36 #define _PAGE_MA_UCE (0x5 << 2) /* UC exported attribute */ [all …]
|
/Linux-v6.1/arch/arm64/crypto/ |
D | sha512-armv8.pl | 2 # SPDX-License-Identifier: GPL-2.0 12 # Copyright 2014-2016 The OpenSSL Project Authors. All Rights Reserved. 15 # this file except in compliance with the License. You can obtain a copy 31 # SHA256-hw SHA256(*) SHA512 32 # Apple A7 1.97 10.5 (+33%) 6.73 (-1%(**)) 33 # Cortex-A53 2.38 15.5 (+115%) 10.0 (+150%(***)) 34 # Cortex-A57 2.31 11.6 (+86%) 7.51 (+260%(***)) 36 # X-Gene 20.0 (+100%) 12.8 (+300%(***)) 41 # (**) The result is a trade-off: it's possible to improve it by 43 # on Cortex-A53 (or by 4 cycles per round). [all …]
|
/Linux-v6.1/Documentation/leds/ |
D | leds-blinkm.rst | 5 The leds-blinkm driver supports the devices of the BlinkM family. 7 They are RGB-LED modules driven by a (AT)tiny microcontroller and 9 0x09 but this can be changed through a command. By this you could 10 dasy-chain up to 127 BlinkMs on an I2C bus. 16 The interface this driver provides is 2-fold: 18 a) LED class interface for use with triggers 23 blinkm-<i2c-bus-nr>-<i2c-device-nr>-<color> 25 $ ls -h /sys/class/leds/blinkm-6-* 26 /sys/class/leds/blinkm-6-9-blue: 29 /sys/class/leds/blinkm-6-9-green: [all …]
|