Home
last modified time | relevance | path

Searched +full:0 +full:- +full:9 +full:a +full:- +full:e (Results 1 – 25 of 1022) sorted by relevance

12345678910>>...41

/linux/arch/powerpc/crypto/
H A Daes-tab-4k.S1 /* 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/security/apparmor/
H A DMakefile1 # 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/rcutorture/bin/
H A Dkvm.sh2 # 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
56 cpus=0
[all …]
H A Dkvm-recheck-refscale.sh2 # 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 …]
/linux/tools/perf/tests/shell/
H A Dtest_arm_coresight.sh9 # SPDX-License-Identifier: GPL-2.0
12 glb_err=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
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 …]
H A Dtrace_btf_general.sh3 # SPDX-License-Identifier: GPL-2.0
5 err=0
8 . "$(dirname $0)"/lib/probe.sh
20 if [ ! -f /sys/kernel/btf/vmlinux ]
25 return 0
30 output="$(perf trace --sort-events -e renameat* --max-events=1 -- mv ${file1} ${file2} 2>&1)"
31 …if ! echo "$output" | grep -q -E "^mv/[0-9]+ renameat(2)?\(.*, \"${file1}\", .*, \"${file2}\", .*\…
40 # echo will insert a newline (\10) at the end of the buffer
41 output="$(perf trace --sort-events -e write --max-events=1 -- echo "${buffer}" 2>&1)"
42 if ! echo "$output" | grep -q -E "^echo/[0-9]+ write\([0-9]+, ${buffer}.*, [0-9]+\) += +[0-9]+$"
[all …]
H A Dtest_arm_spe.sh8 # SPDX-License-Identifier: GPL-2.0
12 perf list pmu | 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 …]
H A Dtrace+probe_vfs_getname.sh5 # then use it with 'perf trace' using 'touch' to write to a temp file, then
10 # SPDX-License-Identifier: GPL-2.0
14 . "$(dirname $0)"/lib/probe.sh
18 [ "$(id -u)" = 0 ] || exit 2
20 . "$(dirname $0)"/lib/probe_vfs_getname.sh
23 … tracepoint 2>/dev/null | grep -E 'syscalls:sys_enter_open(at)? ' | sed -r 's/.*sys_enter_([a-z]+)…
24 perf trace -e $evts touch $file 2>&1 | \
25-E " +[0-9]+\.[0-9]+ +\( +[0-9]+\.[0-9]+ ms\): +touch/[0-9]+ open(at)?\((dfd: +CWD, +)?filename: +…
31 if [ $err -eq 1 ] ; then
36 if [ $err -ne 0 ] ; then
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp13-pinctrl.dtsi1 // 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 Drun_common.sh2 # 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/lib/crypto/
H A Dsm3.c1 /* 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>
19 0x79cc4519, 0xf3988a32, 0xe7311465, 0xce6228cb,
20 0x9cc45197, 0x3988a32f, 0x7311465e, 0xe6228cbc,
21 0xcc451979, 0x988a32f3, 0x311465e7, 0x6228cbce,
22 0xc451979c, 0x88a32f39, 0x11465e73, 0x228cbce6,
23 0x9d8a7a87, 0x3b14f50f, 0x7629ea1e, 0xec53d43c,
24 0xd8a7a879, 0xb14f50f3, 0x629ea1e7, 0xc53d43ce,
[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.
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 …]
/linux/tools/perf/pmu-events/arch/x86/
H A Dmapfile.csv1 Family-model,Version,Filename,EventType
2 GenuineIntel-6-(97|9A|B7|BA|BF),v1.34,alderlake,core
3 GenuineIntel-6-BE,v1.34,alderlaken,core
4 GenuineIntel-6-C[56],v1.13,arrowlake,core
5 GenuineIntel-6-(1C|26|27|35|36),v5,bonnell,core
6 GenuineIntel-6-(3D|47),v30,broadwell,core
7 GenuineIntel-6-56,v12,broadwellde,core
8 GenuineIntel-6-4F,v23,broadwellx,core
9 GenuineIntel-6-55-[56789ABCDEF],v1.25,cascadelakex,core
10 GenuineIntel-6-DD,v1.00,clearwaterforest,core
[all …]
/linux/lib/
H A Dhexdump.c1 // 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 Dtest_hexdump.c13 '\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/arch/x86/include/asm/
H A Dpgtable-3level.h1 /* 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/arch/sh/include/asm/
H A Dpgtable_32.h1 /* 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/scripts/genksyms/
H A Dlex.l1 /* SPDX-License-Identifier: GPL-2.0-or-later */
23 /* We've got a two-level lexer here. We let flex do basic tokenization
29 IDENT [A-Za-z
[all...]
/linux/Documentation/networking/
H A Dpktgen.rst1 .. 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/drivers/pinctrl/
H A Dpinctrl-lpc18xx.c18 #include <linux/pinctrl/pinconf-generic.h>
24 #include "pinctrl-utils.h"
27 #define LPC18XX_SCU_REG_ENAIO0 0xc88
28 #define LPC18XX_SCU_REG_ENAIO1 0xc8c
29 #define LPC18XX_SCU_REG_ENAIO2 0xc90
30 #define LPC18XX_SCU_REG_ENAIO2_DAC BIT(0)
33 #define LPC18XX_SCU_PIN_MODE_MASK 0x7
39 #define LPC18XX_SCU_PIN_EHD_MASK 0x300
45 #define LPC18XX_SCU_I2C0_EFP BIT(0)
49 #define LPC18XX_SCU_I2C0_SCL_SHIFT 0
[all …]
/linux/lib/crypto/arm64/
H A Dsha2-armv8.pl2 # 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/Documentation/ABI/stable/
H A Dsysfs-class-tpm4 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/tools/tracing/rtla/src/
H A Dtimerlat_top.c1 // SPDX-License-Identifier: GPL-2.0
49 * timerlat_free_top - free runtime data
53 free(data->cpu_data); in timerlat_free_top()
59 timerlat_free_top(tool->data); in timerlat_free_top_tool()
64 * timerlat_alloc_histogram - alloc runtime data
75 data->nr_cpus = nr_cpus; in timerlat_alloc_top()
78 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top()
79 if (!data->cpu_data) in timerlat_alloc_top()
83 for (cpu = 0; cpu < nr_cpus; cpu++) { in timerlat_alloc_top()
84 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top()
[all …]
/linux/Documentation/leds/
H A Dleds-blinkm.rst5 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 daisy-chain up to 127 BlinkMs on an I2C bus.
16 The interface this driver provides is 3-fold:
18 a) LED multicolor class interface for use with triggers
23 blinkm-<i2c-bus-nr>-<i2c-device-nr>:rgb:indicator
25 $ ls -h /sys/class/leds/blinkm-1-9:rgb:indicator
32 Exactly three values between 0 and 255 must be written to multi_intensity to
37 The overall lightness be changed by writing a value between 0 and 255 to the
[all …]
/linux/net/netfilter/
H A Dnft_set_pipapo_avx2.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2019-2020 Red Hat GmbH
29 /* Load from memory into YMM register with non-temporal hint ("stream load"),
33 * - loading buckets from lookup tables, as they are not going to be used
36 * - loading the result bitmap from the previous field, as it's never used
40 asm volatile("vmovntdqa %0, %%ymm" #reg : : "m" (loc))
42 /* Stream a single lookup table bucket into YMM register given lookup table,
55 #define NFT_PIPAPO_AVX2_AND(dst, a, b) \ argument
56 asm volatile("vpand %ymm" #a ", %ymm" #b ", %ymm" #dst)
68 asm volatile("vmovdqa %%ymm" #reg ", %0" : "=m" (loc))
[all …]

12345678910>>...41