| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/ |
| D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 5 * should we have HOWTO engineer a correct matrix for a new device (without comparing to a different… 12 The mounting matrix is a device tree property used to orient any device 13 that produce three-dimensional data in relation to the world where it is 17 reference into the device frame of reference using a translation matrix as 20 The typical usecase is that where a component has an internal representation 21 of the (x,y,z) triplets, such as different registers to read these coordinates, 22 and thus implying that the component should be mounted in a certain orientation 25 For example a device with some kind of screen, where the user is supposed to 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | simple.json | 12 0, 17 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60", 18 "expExitCode": "0", 20 "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref", 36 0, 45 "matchPattern": "action order [0-9]*: Simple <Jamaica>.*ref", 46 "matchCount": "0", 61 0, 70 "expExitCode": "0", 72 "matchPattern": "action order [0-9]*: Simple <[A-Z][a-z]*>", [all …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | md5.c | 27 0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04, 28 0xe9, 0x80, 0x09, 0x98, 0xec, 0xf8, 0x42, 0x7e, 32 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 33 #define F2(x, y, z) F1(z, x, y) argument 34 #define F3(x, y, z) (x ^ y ^ z) argument 35 #define F4(x, y, z) (y ^ (x | ~z)) argument 37 #define MD5STEP(f, w, x, y, z, in, s) \ argument 38 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) 42 u32 a, b, c, d; in md5_transform() local 44 a = hash[0]; in md5_transform() [all …]
|
| D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 44 x &= 0xFFFFFFFF; in lshift() 45 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 48 static inline u32 F(u32 x, u32 y, u32 z) in F() argument 50 return (x & y) | ((~x) & z); in F() 53 static inline u32 G(u32 x, u32 y, u32 z) in G() argument 55 return (x & y) | (x & z) | (y & z); in G() 58 static inline u32 H(u32 x, u32 y, u32 z) in H() argument 60 return x ^ y ^ z; in H() 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument [all …]
|
| D | rmd256.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-256 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 35 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 36 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 37 #define F3(x, y, z) ((x | ~y) ^ z) argument 38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 40 #define ROUND(a, b, c, d, f, k, x, s) { \ argument 41 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ [all …]
|
| D | rmd320.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-320 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 37 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 38 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 39 #define F3(x, y, z) ((x | ~y) ^ z) argument 40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 41 #define F5(x, y, z) (x ^ (y | ~z)) argument 43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument [all …]
|
| D | rmd128.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-128 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 35 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 36 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 37 #define F3(x, y, z) ((x | ~y) ^ z) argument 38 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 40 #define ROUND(a, b, c, d, f, k, x, s) { \ argument 41 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ [all …]
|
| D | rmd160.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * RIPEMD-160 - RACE Integrity Primitives Evaluation Message Digest. 7 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 9 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 37 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 38 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 39 #define F3(x, y, z) ((x | ~y) ^ z) argument 40 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 41 #define F5(x, y, z) (x ^ (y | ~z)) argument 43 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument [all …]
|
| /kernel/linux/linux-4.19/crypto/ |
| D | md5.c | 30 0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04, 31 0xe9, 0x80, 0x09, 0x98, 0xec, 0xf8, 0x42, 0x7e, 35 #define F1(x, y, z) (z ^ (x & (y ^ z))) argument 36 #define F2(x, y, z) F1(z, x, y) argument 37 #define F3(x, y, z) (x ^ y ^ z) argument 38 #define F4(x, y, z) (y ^ (x | ~z)) argument 40 #define MD5STEP(f, w, x, y, z, in, s) \ argument 41 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x) 45 u32 a, b, c, d; in md5_transform() local 47 a = hash[0]; in md5_transform() [all …]
|
| D | md4.c | 11 * Copyright (c) Andrew Tridgell 1997-1998. 44 x &= 0xFFFFFFFF; in lshift() 45 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 48 static inline u32 F(u32 x, u32 y, u32 z) in F() argument 50 return (x & y) | ((~x) & z); in F() 53 static inline u32 G(u32 x, u32 y, u32 z) in G() argument 55 return (x & y) | (x & z) | (y & z); in G() 58 static inline u32 H(u32 x, u32 y, u32 z) in H() argument 60 return x ^ y ^ z; in H() 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument [all …]
|
| D | rmd256.c | 4 * RIPEMD-256 - RACE Integrity Primitives Evaluation Message Digest. 6 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 8 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 40 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 41 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 42 #define F3(x, y, z) ((x | ~y) ^ z) argument 43 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 45 #define ROUND(a, b, c, d, f, k, x, s) { \ argument 46 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ 47 (a) = rol32((a), (s)); \ [all …]
|
| D | rmd320.c | 4 * RIPEMD-320 - RACE Integrity Primitives Evaluation Message Digest. 6 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 8 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 42 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 43 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 44 #define F3(x, y, z) ((x | ~y) ^ z) argument 45 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 46 #define F5(x, y, z) (x ^ (y | ~z)) argument 48 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument 49 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ [all …]
|
| D | rmd128.c | 4 * RIPEMD-128 - RACE Integrity Primitives Evaluation Message Digest. 6 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 8 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 40 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 41 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 42 #define F3(x, y, z) ((x | ~y) ^ z) argument 43 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 45 #define ROUND(a, b, c, d, f, k, x, s) { \ argument 46 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ 47 (a) = rol32((a), (s)); \ [all …]
|
| D | rmd160.c | 4 * RIPEMD-160 - RACE Integrity Primitives Evaluation Message Digest. 6 * Based on the reference implementation by Antoon Bosselaers, ESAT-COSIC 8 * Copyright (c) 2008 Adrian-Ken Rueegsegger <ken@codelabs.ch> 42 #define F1(x, y, z) (x ^ y ^ z) /* XOR */ argument 43 #define F2(x, y, z) (z ^ (x & (y ^ z))) /* x ? y : z */ argument 44 #define F3(x, y, z) ((x | ~y) ^ z) argument 45 #define F4(x, y, z) (y ^ (z & (x ^ y))) /* z ? x : y */ argument 46 #define F5(x, y, z) (x ^ (y | ~z)) argument 48 #define ROUND(a, b, c, d, e, f, k, x, s) { \ argument 49 (a) += f((b), (c), (d)) + le32_to_cpup(&(x)) + (k); \ [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | simple.json | 12 0, 17 "cmdUnderTest": "$TC actions add action simple sdata \"A triumph\" index 60", 18 "expExitCode": "0", 20 "matchPattern": "action order [0-9]*: Simple <A triumph>.*index 60 ref", 36 0, 45 "matchPattern": "action order [0-9]*: Simple <Jamaica>.*ref", 46 "matchCount": "0", 61 0, 70 "expExitCode": "0", 72 "matchPattern": "action order [0-9]*: Simple <[A-Z][a-z]*>", [all …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-test-1-run.sh | 3 # Run a kvm-based test of the specified tree on the specified configs. 6 # Execute this in the source tree. Do not run it as a background task 9 # Usage: kvm-test-1-run.sh config builddir resdir seconds qemu-args boot_args 11 # qemu-args defaults to "-enable-kvm -nographic", along with arguments 17 # Anything you specify for either qemu-args or boot_args is appended to 18 # the default values. The "-smp" value is deduced from the contents of 30 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 # You should have received a copy of the GNU General Public License 35 # http://www.gnu.org/licenses/gpl-2.0.html. 41 T=${TMPDIR-/tmp}/kvm-test-1-run.sh.$$ [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-test-1-run.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Run a kvm-based test of the specified tree on the specified configs. 7 # Execute this in the source tree. Do not run it as a background task 10 # Usage: kvm-test-1-run.sh config builddir resdir seconds qemu-args boot_args 12 # qemu-args defaults to "-enable-kvm -nographic", along with arguments 18 # Anything you specify for either qemu-args or boot_args is appended to 19 # the default values. The "-smp" value is deduced from the contents of 28 T=${TMPDIR-/tmp}/kvm-test-1-run.sh.$$ 29 trap 'rm -rf $T' 0 36 config_dir=`echo $config_template | sed -e 's,/[^/]*$,,'` [all …]
|
| /kernel/linux/linux-5.10/tools/memory-model/Documentation/ |
| D | litmus-tests.txt | 1 Linux-Kernel Memory Model Litmus Tests 4 This file describes the LKMM litmus-test format by example, describes 6 versions of this material appeared in a number of LWN articles, including: 9 A formal kernel memory-ordering model (part 2) 20 tool, please see tools/memory-model/README. 23 Copy-Pasta 27 existing litmus test than it is to create one from scratch. A number 30 tools/memory-model/litmus-tests/ 31 Documentation/litmus-tests/ 40 The -l and -L arguments to "git grep" can be quite helpful in identifying [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/boot/ |
| D | wrapper | 2 # SPDX-License-Identifier: GPL-2.0-only 6 # This script takes a kernel binary and optionally an initrd image 7 # and/or a device-tree blob, and creates a bootable zImage for a 11 # -o zImage specify output file 12 # -p platform specify platform (links in $platform.o) 13 # -i initrd specify initrd file 14 # -d devtree specify device-tree blob 15 # -s tree.dts specify device-tree source file (needs dtc installed) 16 # -e esm_blob specify ESM blob for secure images 17 # -c cache $kernel.strip.gz (use if present & newer, else make) [all …]
|
| /kernel/linux/linux-4.19/fs/ext4/ |
| D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #define DELTA 0x9E3779B9 17 __u32 sum = 0; in TEA_transform() 18 __u32 b0 = buf[0], b1 = buf[1]; in TEA_transform() 19 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform() local 24 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform() 26 } while (--n); in TEA_transform() 28 buf[0] += b0; in TEA_transform() 33 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 34 #define G(x, y, z) (((x) & (y)) + (((x) ^ (y)) & (z))) argument [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/boot/ |
| D | wrapper | 7 # This script takes a kernel binary and optionally an initrd image 8 # and/or a device-tree blob, and creates a bootable zImage for a 12 # -o zImage specify output file 13 # -p platform specify platform (links in $platform.o) 14 # -i initrd specify initrd file 15 # -d devtree specify device-tree blob 16 # -s tree.dts specify device-tree source file (needs dtc installed) 17 # -c cache $kernel.strip.gz (use if present & newer, else make) 18 # -C prefix specify command prefix for cross-building tools 20 # -D dir specify directory containing data files used by script [all …]
|
| /kernel/linux/linux-5.10/scripts/mod/ |
| D | sumversion.c | 23 * Copyright (c) Andrew Tridgell 1997-1998. 48 x &= 0xFFFFFFFF; in lshift() 49 return ((x << s) & 0xFFFFFFFF) | (x >> (32 - s)); in lshift() 52 static inline uint32_t F(uint32_t x, uint32_t y, uint32_t z) in F() argument 54 return (x & y) | ((~x) & z); in F() 57 static inline uint32_t G(uint32_t x, uint32_t y, uint32_t z) in G() argument 59 return (x & y) | (x & z) | (y & z); in G() 62 static inline uint32_t H(uint32_t x, uint32_t y, uint32_t z) in H() argument 64 return x ^ y ^ z; in H() 67 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | patch-kernel | 2 # SPDX-License-Identifier: GPL-2.0 4 # usage: patch-kernel [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ] 8 # scripts/patch-kernel . .. 11 # scripts/patch-kernel . .. -ac 13 # scripts/patch-kernel . .. 2.4.9 14 # Gets standard kernel 2.4.9 15 # scripts/patch-kernel . .. 2.4.9 -ac 16 # Gets 2.4.9 with latest ac patches 17 # scripts/patch-kernel . .. 2.4.9 -ac11 18 # Gets 2.4.9 with ac patch ac11 [all …]
|
| /kernel/linux/linux-4.19/scripts/ |
| D | patch-kernel | 2 # SPDX-License-Identifier: GPL-2.0 4 # usage: patch-kernel [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ] 8 # scripts/patch-kernel . .. 11 # scripts/patch-kernel . .. -ac 13 # scripts/patch-kernel . .. 2.4.9 14 # Gets standard kernel 2.4.9 15 # scripts/patch-kernel . .. 2.4.9 -ac 16 # Gets 2.4.9 with latest ac patches 17 # scripts/patch-kernel . .. 2.4.9 -ac11 18 # Gets 2.4.9 with ac patch ac11 [all …]
|
| /kernel/linux/linux-5.10/fs/ext4/ |
| D | hash.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #define DELTA 0x9E3779B9 18 __u32 sum = 0; in TEA_transform() 19 __u32 b0 = buf[0], b1 = buf[1]; in TEA_transform() 20 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform() local 25 b0 += ((b1 << 4)+a) ^ (b1+sum) ^ ((b1 >> 5)+b); in TEA_transform() 27 } while (--n); in TEA_transform() 29 buf[0] += b0; in TEA_transform() 34 #define F(x, y, z) ((z) ^ ((x) & ((y) ^ (z)))) argument 35 #define G(x, y, z) (((x) & (y)) + (((x) ^ (y)) & (z))) argument [all …]
|