/lib/ |
D | locking-selftest.c | 212 #define L(x) raw_spin_lock(&lock_##x) argument 213 #define U(x) raw_spin_unlock(&lock_##x) argument 214 #define LU(x) L(x); U(x) argument 215 #define SI(x) raw_spin_lock_init(&lock_##x) argument 217 #define WL(x) write_lock(&rwlock_##x) argument 218 #define WU(x) write_unlock(&rwlock_##x) argument 219 #define WLU(x) WL(x); WU(x) argument 221 #define RL(x) read_lock(&rwlock_##x) argument 222 #define RU(x) read_unlock(&rwlock_##x) argument 223 #define RLU(x) RL(x); RU(x) argument [all …]
|
D | chacha.c | 15 static void chacha_permute(u32 *x, int nrounds) in chacha_permute() 77 u32 x[16]; in chacha_block() local 104 u32 x[16]; in hchacha_block() local
|
D | extable.c | 16 #define ex_to_insn(x) ((x)->insn) argument 18 static inline unsigned long ex_to_insn(const struct exception_table_entry *x) in ex_to_insn() 30 struct exception_table_entry *x = a, *y = b, tmp; in swap_ex() local 54 const struct exception_table_entry *x = a, *y = b; in cmp_ex_sort() local
|
D | crc32.c | 37 # define tole(x) ((__force u32) cpu_to_le32(x)) argument 39 # define tole(x) (x) argument 43 # define tobe(x) ((__force u32) cpu_to_be32(x)) argument 45 # define tobe(x) (x) argument 61 # define DO_CRC(x) crc = t0[(crc ^ (x)) & 255] ^ (crc >> 8) argument 217 static u32 __attribute_const__ gf2_multiply(u32 x, u32 y, u32 modulus)
|
D | decompress_inflate.c | 43 void(*error)(char *x)) { in __gunzip() 192 void (*error)(char *x)) in gunzip() 202 void (*error)(char *x)) in __decompress()
|
D | sha1.c | 38 #define setW(x, val) (*(volatile __u32 *)&W(x) = (val)) argument 40 #define setW(x, val) do { W(x) = (val); __asm__("":::"memory"); } while (0) argument 42 #define setW(x, val) (W(x) = (val)) argument 46 #define W(x) (array[(x)&15]) argument
|
D | decompress_unxz.c | 179 const uint8_t *x = a; in memeq() local 255 void (*error)(char *x)) in unxz() 403 void (*error)(char *x)) in __decompress()
|
D | decompress_unlz4.c | 31 STATIC inline int INIT unlz4(u8 *input, long in_len, in unlz4() 204 void (*error)(char *x) in __decompress()
|
D | crc4.c | 25 uint8_t crc4(uint8_t c, uint64_t x, int bits) in crc4()
|
D | checksum.c | 37 static inline unsigned short from32to16(unsigned int x) in from32to16() 180 static inline u32 from64to32(u64 x) in from64to32()
|
D | decompress_unlzo.c | 98 STATIC int INIT unlzo(u8 *input, long in_len, in unlzo() 283 void (*error)(char *x)) in __decompress()
|
D | inflate.c | 2 #define DEBG(x) argument 3 #define DEBG1(x) argument 356 unsigned x[BMAX+1]; /* bit offsets, then code stack */ in huft_build() member 358 unsigned *c, *v, *x; in huft_build() local
|
/lib/math/ |
D | prime_numbers.c | 69 static bool slow_is_prime_number(unsigned long x) in slow_is_prime_number() 82 static unsigned long slow_next_prime_number(unsigned long x) in slow_next_prime_number() 90 static unsigned long clear_multiples(unsigned long x, in clear_multiples() 109 static bool expand_to_next_prime(unsigned long x) in expand_to_next_prime() 188 unsigned long next_prime_number(unsigned long x) in next_prime_number() 221 bool is_prime_number(unsigned long x) in is_prime_number() 266 unsigned long x, last; in selftest() local
|
D | int_sqrt.c | 19 unsigned long int_sqrt(unsigned long x) in int_sqrt() 48 u32 int_sqrt64(u64 x) in int_sqrt64()
|
/lib/crypto/ |
D | sha256.c | 21 static inline u32 Ch(u32 x, u32 y, u32 z) in Ch() 26 static inline u32 Maj(u32 x, u32 y, u32 z) in Maj() 31 #define e0(x) (ror32(x, 2) ^ ror32(x, 13) ^ ror32(x, 22)) argument 32 #define e1(x) (ror32(x, 6) ^ ror32(x, 11) ^ ror32(x, 25)) argument 33 #define s0(x) (ror32(x, 7) ^ ror32(x, 18) ^ (x >> 3)) argument 34 #define s1(x) (ror32(x, 17) ^ ror32(x, 19) ^ (x >> 10)) argument
|
D | aes.c | 93 u32 x = w & 0x7f7f7f7f; in mul_by_x() local 102 u32 x = w & 0x3f3f3f3f; in mul_by_x2() local 110 static u32 mix_columns(u32 x) in mix_columns() 125 static u32 inv_mix_columns(u32 x) in inv_mix_columns()
|
D | des.c | 25 #define ROL(x, r) ((x) = rol32((x), (r))) argument 26 #define ROR(x, r) ((x) = ror32((x), (r))) argument 604 #define T1(x) pt[2 * (x) + 0] argument 605 #define T2(x) pt[2 * (x) + 1] argument 606 #define T3(x) pt[2 * (x) + 2] argument 607 #define T4(x) pt[2 * (x) + 3] argument
|
D | arc4.c | 40 u32 x, y, a, b; in arc4_crypt() local
|
/lib/lzo/ |
D | lzo1x_decompress_safe.c | 23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x)) argument 24 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x)) argument 25 #define NEED_IP(x) if (!HAVE_IP(x)) goto input_overrun argument 26 #define NEED_OP(x) if (!HAVE_OP(x)) goto output_overrun argument
|
/lib/mpi/ |
D | mpi-inline.h | 27 mpi_limb_t x; in mpihelp_add_1() local 70 mpi_limb_t x; in mpihelp_sub_1() local
|
D | generic_mpih-sub1.c | 23 mpi_limb_t x, y, cy; in mpihelp_sub_n() local
|
D | generic_mpih-add1.c | 24 mpi_limb_t x, y, cy; in mpihelp_add_n() local
|
D | generic_mpih-mul2.c | 26 mpi_limb_t x; in mpihelp_addmul_1() local
|
D | generic_mpih-mul3.c | 26 mpi_limb_t x; in mpihelp_submul_1() local
|
D | mpicoder.c | 260 int i, x, buf_len; in mpi_write_to_sgl() local 334 int x, j, z, lzeros, ents; in mpi_read_raw_from_sgl() local
|