/lib/math/ |
D | int_sqrt.c | 22 unsigned long b, m, y = 0; in int_sqrt() local 29 b = y + m; in int_sqrt() 30 y >>= 1; in int_sqrt() 34 y += m; in int_sqrt() 39 return y; in int_sqrt() 51 u64 b, m, y = 0; in int_sqrt64() local 58 b = y + m; in int_sqrt64() 59 y >>= 1; in int_sqrt64() 63 y += m; in int_sqrt64() 68 return y; in int_sqrt64()
|
D | prime_numbers.c | 69 unsigned long y = int_sqrt(x); in slow_is_prime_number() local 71 while (y > 1) { in slow_is_prime_number() 72 if ((x % y) == 0) in slow_is_prime_number() 74 y--; in slow_is_prime_number() 77 return y == 1; in slow_is_prime_number() 111 unsigned long sz, y; in expand_to_next_prime() local 144 for (y = 2UL; y < sz; y = find_next_bit(new->primes, sz, y + 1)) in expand_to_next_prime() 145 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
|
/lib/crypto/ |
D | arc4.c | 18 ctx->y = 0; in arc4_setkey() 40 u32 x, y, a, b; in arc4_crypt() local 47 y = ctx->y; in arc4_crypt() 50 y = (y + a) & 0xff; in arc4_crypt() 51 b = S[y]; in arc4_crypt() 54 S[y] = a; in arc4_crypt() 59 ty = (y + ta) & 0xff; in arc4_crypt() 64 y = ty; in arc4_crypt() 70 ctx->y = y; in arc4_crypt()
|
D | aes.c | 95 u32 y = w & 0x80808080; in mul_by_x() local 98 return (x << 1) ^ (y >> 7) * 0x1b; in mul_by_x() 104 u32 y = w & 0x80808080; in mul_by_x2() local 108 return (x << 2) ^ (y >> 7) * 0x36 ^ (z >> 6) * 0x1b; in mul_by_x2() 121 u32 y = mul_by_x(x) ^ ror32(x, 16); in mix_columns() local 123 return y ^ ror32(x ^ y, 8); in mix_columns() 143 u32 y = mul_by_x2(x); in inv_mix_columns() local 145 return mix_columns(x ^ y ^ ror32(y, 16)); in inv_mix_columns()
|
D | sha256.c | 40 static inline u32 Ch(u32 x, u32 y, u32 z) in Ch() argument 42 return z ^ (x & (y ^ z)); in Ch() 45 static inline u32 Maj(u32 x, u32 y, u32 z) in Maj() argument 47 return (x & y) | (z & (x | y)); in Maj()
|
D | Makefile | 51 ifneq ($(CONFIG_CRYPTO_MANAGER_DISABLE_TESTS),y)
|
/lib/crypto/mpi/ |
D | generic_mpih-sub1.c | 23 mpi_limb_t x, y, cy; in mpihelp_sub_n() local 37 y = s2_ptr[j]; in mpihelp_sub_n() 39 y += cy; /* add previous carry to subtrahend */ in mpihelp_sub_n() 40 cy = y < cy; /* get out carry from that addition */ in mpihelp_sub_n() 41 y = x - y; /* main subtract */ in mpihelp_sub_n() 42 cy += y > x; /* get out carry from the subtract, combine */ in mpihelp_sub_n() 43 res_ptr[j] = y; in mpihelp_sub_n()
|
D | generic_mpih-add1.c | 24 mpi_limb_t x, y, cy; in mpihelp_add_n() local 38 y = s2_ptr[j]; in mpihelp_add_n() 40 y += cy; /* add previous carry to one addend */ in mpihelp_add_n() 41 cy = y < cy; /* get out carry from that addition */ in mpihelp_add_n() 42 y += x; /* add other addend */ in mpihelp_add_n() 43 cy += y < x; /* get out carry from that add, combine */ in mpihelp_add_n() 44 res_ptr[j] = y; in mpihelp_add_n()
|
D | ec.c | 66 p->y = mpi_new(0); in mpi_point_init() 75 mpi_free(p->y); p->y = NULL; in mpi_point_free_parts() 84 mpi_set(d->y, s->y); in point_set() 98 mpi_resize(p->y, nlimbs); in point_resize() 99 p->y->nlimbs = nlimbs; in point_resize() 108 mpi_swap_cond(d->y, s->y, swap); in point_swap_cond() 681 int mpi_ec_get_affine(MPI x, MPI y, MPI_POINT point, struct mpi_ec_ctx *ctx) in mpi_ec_get_affine() argument 699 if (y) { in mpi_ec_get_affine() 702 ec_mulm(y, point->y, z3, ctx); in mpi_ec_get_affine() 716 if (y) { in mpi_ec_get_affine() [all …]
|
D | mpi-mod.c | 17 MPI y; member 60 ctx->y = tmp; in mpi_barrett_init() 70 mpi_free(ctx->y); in mpi_barrett_free() 99 MPI y = ctx->y; in mpi_mod_barrett() local 120 mpi_mul(r2, r2, y); in mpi_mod_barrett()
|
/lib/ |
D | extable.c | 29 struct exception_table_entry *x = a, *y = b, tmp; in swap_ex() local 33 x->insn = y->insn + delta; in swap_ex() 34 y->insn = tmp.insn - delta; in swap_ex() 37 swap_ex_entry_fixup(x, y, tmp, delta); in swap_ex() 39 x->fixup = y->fixup + delta; in swap_ex() 40 y->fixup = tmp.fixup - delta; in swap_ex() 53 const struct exception_table_entry *x = a, *y = b; in cmp_ex_sort() local 56 if (ex_to_insn(x) > ex_to_insn(y)) in cmp_ex_sort() 58 if (ex_to_insn(x) < ex_to_insn(y)) in cmp_ex_sort()
|
D | hashtable_test.c | 188 struct hashtable_test_entry *x, *y; in hashtable_test_hash_for_each_possible() local 220 hash_for_each(hash, bkt, y, node) { in hashtable_test_hash_for_each_possible() 221 KUNIT_ASSERT_GE_MSG(test, y->key, 0, "Unexpected key in hashtable."); in hashtable_test_hash_for_each_possible() 222 KUNIT_ASSERT_LE_MSG(test, y->key, 1, "Unexpected key in hashtable."); in hashtable_test_hash_for_each_possible() 223 buckets[y->key] = bkt; in hashtable_test_hash_for_each_possible() 242 struct hashtable_test_entry *x, *y; in hashtable_test_hash_for_each_possible_safe() local 278 hash_for_each(hash, bkt, y, node) { in hashtable_test_hash_for_each_possible_safe() 279 KUNIT_ASSERT_GE_MSG(test, y->key, 0, "Unexpected key in hashtable."); in hashtable_test_hash_for_each_possible_safe() 280 KUNIT_ASSERT_LE_MSG(test, y->key, 1, "Unexpected key in hashtable."); in hashtable_test_hash_for_each_possible_safe() 281 buckets[y->key] = bkt; in hashtable_test_hash_for_each_possible_safe()
|
D | test_bits.c | 44 unsigned int x, y; in genmask_input_check_test() local 50 KUNIT_EXPECT_EQ(test, 0, GENMASK_INPUT_CHECK(x, y)); in genmask_input_check_test()
|
D | ts_bm.c | 117 int x = i+g-1, y = j+g-1, ret = 0; in subpattern() local 119 while(pattern[x--] == pattern[y--]) { in subpattern() 120 if (y < 0) { in subpattern()
|
D | inflate.c | 350 int y; /* number of dummy codes added */ in huft_build() local 411 for (y = 1 << j; j < i; j++, y <<= 1) in huft_build() 412 if ((y -= c[j]) < 0) { in huft_build() 416 if ((y -= c[i]) < 0) { in huft_build() 420 c[i] += y; in huft_build() 558 ret = y != 0 && g != 1; in huft_build()
|
D | Kconfig.kcsan | 57 default y 85 default y 118 default y 136 default y 170 default y 186 default y 208 default y 217 default y
|
D | crc32.c | 216 static u32 __attribute_const__ gf2_multiply(u32 x, u32 y, u32 modulus) argument 218 u32 product = x & 1 ? y : 0; 224 product ^= x & 1 ? y : 0;
|
D | decompress_unxz.c | 182 const uint8_t *y = b; in memeq() local 186 if (x[i] != y[i]) in memeq()
|
/lib/raid6/ |
D | s390vx.uc | 28 * vector register y left by 1 bit and stores the result in 31 static inline void SHLBYTE(int x, int y) 33 asm volatile ("VAB %0,%1,%1" : : "i" (x), "i" (y)); 37 * For each of the 16 bytes in the vector register y the MASK() 42 static inline void MASK(int x, int y) 44 asm volatile ("VESRAVB %0,%1,24" : : "i" (x), "i" (y)); 47 static inline void AND(int x, int y, int z) 49 asm volatile ("VN %0,%1,%2" : : "i" (x), "i" (y), "i" (z)); 52 static inline void XOR(int x, int y, int z) 54 asm volatile ("VX %0,%1,%2" : : "i" (x), "i" (y), "i" (z)); [all …]
|
D | algos.c | 132 #define time_before(x, y) ((x) < (y)) argument
|
D | Makefile | 16 ifeq ($(CONFIG_ALTIVEC),y) 38 ifeq ($(CONFIG_KERNEL_MODE_NEON),y)
|
/lib/kunit/ |
D | .kunitconfig | 1 CONFIG_KUNIT=y 2 CONFIG_KUNIT_TEST=y 3 CONFIG_KUNIT_EXAMPLE_TEST=y
|
D | Makefile | 12 ifeq ($(CONFIG_KUNIT_DEBUGFS),y) 22 ifeq ($(CONFIG_KUNIT_TEST),y)
|
/lib/xz/ |
D | Kconfig | 14 default y 19 default y 24 default y 29 default y 34 default y 39 default y
|
/lib/fonts/ |
D | Kconfig | 27 default y if !SPARC && !FONTS 40 default y if !SPARC && !FONTS 50 default y if !SPARC && !FONTS && MAC 66 default y if !SPARC && !FONTS && AMIGA 74 default y if !SPARC && !FONTS && ARM && ARCH_ACORN 129 def_bool y
|