Home
last modified time | relevance | path

Searched +full:a +full:- +full:h (Results 1 – 25 of 1136) sorted by relevance

12345678910>>...46

/linux/arch/x86/crypto/
H A Dsha256-avx2-asm.S2 # Implement fast SHA-256 with AVX2 instructions. (x86_64)
11 # This software is available to you under a choice of one of two
21 # - Redistributions of source code must retain the above
25 # - Redistributions in binary form must reproduce the above
32 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 # This code is described in an Intel White-Paper:
42 # "Fast SHA-256 Implementations on Intel Architecture Processors"
48 # This code schedules 2 blocks at a time, with 4 lanes per block
51 #include <linux/linkage.h>
52 #include <linux/cfi_types.h>
[all …]
H A Dsha512-avx2-asm.S2 # Implement fast SHA-512 with AVX2 instructions. (x86_64)
12 # This software is available to you under a choice of one of two
22 # - Redistributions of source code must retain the above
26 # - Redistributions in binary form must reproduce the above
33 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42 # This code is described in an Intel White-Paper:
43 # "Fast SHA-512 Implementations on Intel Architecture Processors"
49 # This code schedules 1 blocks at a time, with 4 lanes per block
52 #include <linux/linkage.h>
53 #include <linux/cfi_types.h>
[all …]
H A Dsha256-avx-asm.S2 # Implement fast SHA-256 with AVX1 instructions. (x86_64)
11 # This software is available to you under a choice of one of two
21 # - Redistributions of source code must retain the above
25 # - Redistributions in binary form must reproduce the above
32 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40 # This code is described in an Intel White-Paper:
41 # "Fast SHA-256 Implementations on Intel Architecture Processors"
47 # This code schedules 1 block at a time, with 4 lanes per block
50 #include <linux/linkage.h>
51 #include <linux/cfi_types.h>
[all …]
H A Dsha256-ssse3-asm.S2 # Implement fast SHA-256 with SSSE3 instructions. (x86_64)
11 # This software is available to you under a choice of one of two
21 # - Redistributions of source code must retain the above
25 # - Redistributions in binary form must reproduce the above
32 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 # This code is described in an Intel White-Paper:
42 # "Fast SHA-256 Implementations on Intel Architecture Processors"
49 #include <linux/linkage.h>
50 #include <linux/cfi_types.h>
58 # Add reg to mem using reg-mem add and store
[all …]
H A Dsm3-avx-asm_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * specified in: https://datatracker.ietf.org/doc/html/draft-sca-cfrg-sm3-02
14 #include <linux/linkage.h>
15 #include <linux/cfi_types.h>
16 #include <asm/frame.h>
34 #define K1 -208106958 /* 0xf3988a32 */
35 #define K2 -416213915 /* 0xe7311465 */
36 #define K3 -832427829 /* 0xce6228cb */
37 #define K4 -1664855657 /* 0x9cc45197 */
40 #define K7 -433943364 /* 0xe6228cbc */
[all …]
H A Dtwofish-x86_64-asm_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 .file "twofish-x86_64-asm.S"
10 #include <linux/linkage.h>
11 #include <asm/asm-offsets.h>
25 #define k 4128 /* key 1-32 ( word ) */
27 /* define a few register aliases to allow macro substitution */
60 * a input register containing a (rotated 16)
64 * operations on a and b are interleaved to increase performance
66 #define encrypt_round(a,b,c,d,round)\ argument
69 movzx a ## B, %edi;\
[all …]
/linux/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>
11 #include <linux/module.h>
12 #include <linux/unaligned.h>
13 #include <crypto/sm3.h>
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
[all …]
/linux/drivers/media/pci/zoran/
H A Dvideocodec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * bound to a master device.
11 #include <linux/kernel.h>
12 #include <linux/module.h>
13 #include <linux/init.h>
14 #include <linux/types.h>
15 #include <linux/slab.h>
17 #include "videocodec.h"
39 struct codec_list *h = codeclist_top; in videocodec_attach() local
41 struct attached_list *a, *ptr; in videocodec_attach() local
[all …]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_drv.h1 /* SPDX-License-Identifier: MIT */
18 * - added support for tiled system memory buffer objects
19 * - added support for NOUVEAU_GETPARAM_GRAPH_UNITS on [nvc0,nve0].
20 * - added support for compressed memory storage types on [nvc0,nve0].
21 * - added support for software methods 0x600,0x644,0x6ac on nvc0
26 * - fixes multiple bugs in flip completion events and timestamping
28 * - object api exposed to userspace
29 * - fermi,kepler,maxwell zbc
31 * - allow concurrent access to bo's mapped read/write.
33 * - add NOUVEAU_GEM_DOMAIN_COHERENT flag
[all …]
/linux/arch/s390/kernel/
H A Dcompat_linux.c1 // SPDX-License-Identifier: GPL-2.0
11 * Heavily inspired by the 32-bit Sparc compat code which is
18 #include <linux/kernel.h>
19 #include <linux/sched.h>
20 #include <linux/fs.h>
21 #include <linux/mm.h>
22 #include <linux/file.h>
23 #include <linux/signal.h>
24 #include <linux/resource.h>
25 #include <linux/times.h>
[all …]
/linux/Documentation/staging/
H A Dlzo.rst8 This is not a specification. No specification seems to be publicly available
20 The stream is composed of a series of instructions, operands, and data. The
21 instructions consist in a few bits representing an opcode, and bits forming
26 - a distance when copying data from the dictionary (past output buffer)
27 - a length (number of bytes to copy from dictionary)
28 - the number of literals to copy, which is retained in variable "state"
29 as a piece of information for next instructions.
32 extra data can be a complement for the operand (eg: a length or a distance
33 encoded on larger values), or a literal to be copied to the output buffer.
35 The first byte of the block follows a different encoding from other bytes, it
[all …]
/linux/tools/include/nolibc/
H A Dnolibc.h1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */
2 /* nolibc.h
3 * Copyright (C) 2017-2018 Willy Tarreau <w@1wt.eu>
7 * This file is designed to be used as a libc alternative for minimal programs
8 * with very limited requirements. It consists of a small number of syscall and
14 * - The lower level is the arch-specific syscall() definition, consisting in
17 * are castto a long stored in a register. These expressions always return
18 * the syscall's return value as a signed long value which is often either
19 * a pointer or the negated errno value.
21 * - The second level is mostly architecture-independent. It is made of
[all …]
/linux/tools/sched_ext/
H A DREADME.md6 This directory contains a number of example sched_ext schedulers. These
11 Some of the examples are performant, production-ready schedulers. That is, for
12 the correct workload and with the correct tuning, they may be deployed in a
25 There are a few toolchain dependencies for compiling the example schedulers.
32 is actively working on adding a BPF backend compiler as well, but are still
47 non-trivial ones.
51 In order to run a sched_ext scheduler, you'll have to run a kernel compiled
52 with the patches in this repository, and with a minimum set of necessary
72 There is a `Kconfig` file in this directory whose contents you can append to
76 ## Getting a vmlinux.h file
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_osdep.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
7 #include <linux/types.h>
8 #include <linux/if_ether.h>
9 #include <linux/if_vlan.h>
10 #include <linux/tcp.h>
11 #include <linux/pci.h>
13 /* get readq/writeq support for 32 bit kernels, use the low-first version */
14 #include <linux/io-64-nonatomic-lo-hi.h>
16 #define wr32(a, reg, value) writel((value), ((a)->hw_addr + (reg))) argument
[all …]
/linux/security/
H A Dlsm_audit.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/types.h>
12 #include <linux/stddef.h>
13 #include <linux/kernel.h>
14 #include <linux/gfp.h>
15 #include <linux/fs.h>
16 #include <linux/init.h>
17 #include <net/sock.h>
18 #include <linux/un.h>
19 #include <net/af_unix.h>
[all …]
/linux/fs/bcachefs/
H A Dmean_and_variance.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/types.h>
6 #include <linux/limits.h>
7 #include <linux/math.h>
8 #include <linux/math64.h>
13 * u128_u: u128 user mode, because not all architectures support a real int128
26 static inline u128_u u64_to_u128(u64 a) in u64_to_u128() argument
28 return (u128_u) { .v = a }; in u64_to_u128()
31 static inline u64 u128_lo(u128_u a) in u128_lo() argument
33 return a.v; in u128_lo()
[all …]
/linux/lib/
H A Dlocking-selftest.c1 // SPDX-License-Identifier: GPL-2.0
3 * lib/locking-selftest.c
6 * mutexes and rw-semaphores.
14 #include <linux/rwsem.h>
15 #include <linux/mutex.h>
16 #include <linux/ww_mutex.h>
17 #include <linux/sched.h>
18 #include <linux/sched/mm.h>
19 #include <linux/delay.h>
20 #include <linux/lockdep.h>
[all …]
/linux/tools/perf/util/
H A Daffinity.c1 // SPDX-License-Identifier: GPL-2.0
4 #include <sched.h>
5 #include <stdlib.h>
6 #include <linux/bitmap.h>
7 #include <linux/zalloc.h>
8 #include "perf.h"
9 #include "cpumap.h"
10 #include "affinity.h"
14 int sz = cpu__max_cpu().cpu + 8 - 1; in get_cpu_set_size()
24 int affinity__setup(struct affinity *a) in affinity__setup() argument
[all …]
/linux/arch/x86/kernel/
H A Di8259.c1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/linkage.h>
3 #include <linux/errno.h>
4 #include <linux/signal.h>
5 #include <linux/sched.h>
6 #include <linux/ioport.h>
7 #include <linux/interrupt.h>
8 #include <linux/irq.h>
9 #include <linux/timex.h>
10 #include <linux/random.h>
[all …]
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_malloc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * of PCI-SCSI IO processors.
6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * Copyright (C) 1998-2000 Gerard Roudier
12 * a port of the FreeBSD ncr driver to Linux-1.2.13.
16 * Stefan Esser <se@mi.Uni-Koeln.de>
24 *-----------------------------------------------------------------------------
27 #include "sym_glue.h"
30 * Simple power of two buddy-like generic allocator.
52 void *a; in ___sym_malloc() local
[all …]
/linux/include/linux/
H A Dlist_nulls.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/poison.h>
6 #include <linux/const.h>
9 * Special version of lists, where end of list is not a NULL pointer,
10 * but a 'nulls' marker, which can have many different values.
13 * In the standard hlist, termination of a list is the NULL pointer.
15 * a list are aligned on a word (4 or 8 bytes alignment).
17 * Set to 1 : This is a 'nulls' end-of-list marker (ptr >> 1)
18 * Set to 0 : This is a pointer to some object (ptr)
30 ((ptr)->first = (struct hlist_nulls_node *) NULLS_MARKER(nulls))
[all …]
/linux/tools/lib/subcmd/
H A Dparse-options.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/kernel.h>
6 #include <stdbool.h>
7 #include <stdint.h>
60 * the character to use as a short option name, '\0' if none.
89 * default value to fill (*->value) with for PARSE_OPT_OPTARG.
118 #define OPT_ARGUMENT(l, h) { .type = OPTION_ARGUMENT, .long_name = (l), .help = (h) } argument
119 #define OPT_GROUP(h) { .type = OPTION_GROUP, .help = (h) } argument
120 …ne OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .value =… argument
121 …PT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), .value =… argument
[all …]
/linux/tools/testing/selftests/user_events/
H A Ddyn_test.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <errno.h>
9 #include <linux/user_events.h>
10 #include <stdio.h>
11 #include <stdlib.h>
12 #include <fcntl.h>
13 #include <sys/ioctl.h>
14 #include <sys/stat.h>
15 #include <unistd.h>
17 #include "../kselftest_harness.h"
[all …]
/linux/arch/alpha/kernel/
H A Derr_common.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/init.h>
11 #include <linux/sched.h>
13 #include <asm/io.h>
14 #include <asm/hwrpb.h>
15 #include <asm/smp.h>
16 #include <asm/err_common.h>
18 #include "err_impl.h"
19 #include "proto.h"
22 * err_print_prefix -- error handling print routines should prefix
[all …]
/linux/fs/ext4/
H A Dhash.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/fs.h>
9 #include <linux/unicode.h>
10 #include <linux/compiler.h>
11 #include <linux/bitops.h>
12 #include "ext4.h"
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()
33 /* F, G and H are basic MD4 functions: selection, majority, parity */
[all …]

12345678910>>...46