Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 13 of 13) sorted by relevance

/lib/
Dasn1_decoder.c62 size_t dp = *_dp, len, n; in asn1_find_indefinite_length() local
66 if (unlikely(datalen - dp < 2)) { in asn1_find_indefinite_length()
67 if (datalen == dp) in asn1_find_indefinite_length()
73 tag = data[dp++]; in asn1_find_indefinite_length()
76 if (data[dp++] != 0) in asn1_find_indefinite_length()
79 *_len = dp - *_dp; in asn1_find_indefinite_length()
80 *_dp = dp; in asn1_find_indefinite_length()
88 if (unlikely(datalen - dp < 2)) in asn1_find_indefinite_length()
90 tmp = data[dp++]; in asn1_find_indefinite_length()
95 len = data[dp++]; in asn1_find_indefinite_length()
[all …]
Ddynamic_debug.c167 struct _ddebug *dp = &dt->ddebugs[i]; in ddebug_change() local
171 !match_wildcard(query->filename, dp->filename) && in ddebug_change()
173 kbasename(dp->filename)) && in ddebug_change()
175 trim_prefix(dp->filename))) in ddebug_change()
180 !match_wildcard(query->function, dp->function)) in ddebug_change()
188 p = strstr(dp->format, query->format+1); in ddebug_change()
189 if (p != dp->format) in ddebug_change()
191 } else if (!strstr(dp->format, query->format)) in ddebug_change()
197 dp->lineno < query->first_lineno) in ddebug_change()
200 dp->lineno > query->last_lineno) in ddebug_change()
[all …]
/lib/raid6/
Drecov_avx2.c19 u8 *p, *q, *dp, *dq; in raid6_2data_recov_avx2() local
30 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx2()
32 ptrs[disks-2] = dp; in raid6_2data_recov_avx2()
40 ptrs[faila] = dp; in raid6_2data_recov_avx2()
63 asm volatile("vpxor %0, %%ymm0, %%ymm0" : : "m" (dp[0])); in raid6_2data_recov_avx2()
64 asm volatile("vpxor %0, %%ymm8, %%ymm8" : : "m" (dp[32])); in raid6_2data_recov_avx2()
125 asm volatile("vmovdqa %%ymm0, %0" : "=m" (dp[0])); in raid6_2data_recov_avx2()
126 asm volatile("vmovdqa %%ymm8, %0" : "=m" (dp[32])); in raid6_2data_recov_avx2()
131 dp += 64; in raid6_2data_recov_avx2()
137 asm volatile("vpxor %0, %%ymm0, %%ymm0" : : "m" (*dp)); in raid6_2data_recov_avx2()
[all …]
Drecov_avx512.c27 u8 *p, *q, *dp, *dq; in raid6_2data_recov_avx512() local
41 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_avx512()
43 ptrs[disks-2] = dp; in raid6_2data_recov_avx512()
51 ptrs[faila] = dp; in raid6_2data_recov_avx512()
79 "m" (dp[0]), "m" (dp[64])); in raid6_2data_recov_avx512()
153 : "m" (dp[0]), "m" (dp[64])); in raid6_2data_recov_avx512()
158 dp += 128; in raid6_2data_recov_avx512()
166 : "m" (*q), "m" (*p), "m"(*dq), "m" (*dp)); in raid6_2data_recov_avx512()
214 : "m" (dp[0])); in raid6_2data_recov_avx512()
219 dp += 64; in raid6_2data_recov_avx512()
Drecov_ssse3.c19 u8 *p, *q, *dp, *dq; in raid6_2data_recov_ssse3() local
32 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_ssse3()
34 ptrs[disks-2] = dp; in raid6_2data_recov_ssse3()
42 ptrs[faila] = dp; in raid6_2data_recov_ssse3()
73 asm volatile("pxor %0,%%xmm0" : : "m" (dp[0])); in raid6_2data_recov_ssse3()
74 asm volatile("pxor %0,%%xmm8" : : "m" (dp[16])); in raid6_2data_recov_ssse3()
129 asm volatile("movdqa %%xmm0,%0" : "=m" (dp[0])); in raid6_2data_recov_ssse3()
130 asm volatile("movdqa %%xmm8,%0" : "=m" (dp[16])); in raid6_2data_recov_ssse3()
135 dp += 32; in raid6_2data_recov_ssse3()
141 asm volatile("pxor %0,%%xmm0" : : "m" (*dp)); in raid6_2data_recov_ssse3()
[all …]
Drecov_s390xc.c26 u8 *p, *q, *dp, *dq; in raid6_2data_recov_s390xc() local
37 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_s390xc()
39 ptrs[disks-2] = dp; in raid6_2data_recov_s390xc()
47 ptrs[faila] = dp; in raid6_2data_recov_s390xc()
58 xor_block(dp, p); in raid6_2data_recov_s390xc()
61 dq[i] = pbmul[dp[i]] ^ qmul[dq[i]]; in raid6_2data_recov_s390xc()
62 xor_block(dp, dq); in raid6_2data_recov_s390xc()
65 dp += 256; in raid6_2data_recov_s390xc()
Drecov_neon.c22 void __raid6_2data_recov_neon(int bytes, uint8_t *p, uint8_t *q, uint8_t *dp,
32 u8 *p, *q, *dp, *dq; in raid6_2data_recov_neon() local
44 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_neon()
46 ptrs[disks - 2] = dp; in raid6_2data_recov_neon()
54 ptrs[faila] = dp; in raid6_2data_recov_neon()
65 __raid6_2data_recov_neon(bytes, p, q, dp, dq, pbmul, qmul); in raid6_2data_recov_neon()
Drecov.c23 u8 *p, *q, *dp, *dq; in raid6_2data_recov_intx1() local
34 dp = (u8 *)ptrs[faila]; in raid6_2data_recov_intx1()
36 ptrs[disks-2] = dp; in raid6_2data_recov_intx1()
44 ptrs[faila] = dp; in raid6_2data_recov_intx1()
55 px = *p ^ *dp; in raid6_2data_recov_intx1()
58 *dp++ = db ^ px; /* Reconstructed A */ in raid6_2data_recov_intx1()
Drecov_neon_inner.c27 void __raid6_2data_recov_neon(int bytes, uint8_t *p, uint8_t *q, uint8_t *dp, in __raid6_2data_recov_neon() argument
52 px = veorq_u8(vld1q_u8(p), vld1q_u8(dp)); in __raid6_2data_recov_neon()
67 vst1q_u8(dp, veorq_u8(db, px)); in __raid6_2data_recov_neon()
72 dp += 16; in __raid6_2data_recov_neon()
/lib/mpi/
Dmpi-div.c85 mpi_ptr_t np, dp; in mpi_tdiv_qr() local
126 dp = den->d; in mpi_tdiv_qr()
134 rlimb = mpihelp_divmod_1(qp, np, nsize, dp[0]); in mpi_tdiv_qr()
139 rlimb = mpihelp_mod_1(np, nsize, dp[0]); in mpi_tdiv_qr()
160 normalization_steps = count_leading_zeros(dp[dsize - 1]); in mpi_tdiv_qr()
175 mpihelp_lshift(tp, dp, dsize, normalization_steps); in mpi_tdiv_qr()
176 dp = tp; in mpi_tdiv_qr()
192 if (dp == rp || (quot && (dp == qp))) { in mpi_tdiv_qr()
196 MPN_COPY(tp, dp, dsize); in mpi_tdiv_qr()
197 dp = tp; in mpi_tdiv_qr()
[all …]
Dmpih-div.c190 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) in mpihelp_divrem() argument
210 d = dp[0]; in mpihelp_divrem()
237 d1 = dp[1]; in mpihelp_divrem()
238 d0 = dp[0]; in mpihelp_divrem()
301 dX = dp[dsize - 1]; in mpihelp_divrem()
302 d1 = dp[dsize - 2]; in mpihelp_divrem()
307 || mpihelp_cmp(np, dp, dsize - 1) >= 0) { in mpihelp_divrem()
308 mpihelp_sub_n(np, np, dp, dsize); in mpihelp_divrem()
353 cy_limb = mpihelp_submul_1(np, dp, dsize, q); in mpihelp_divrem()
356 mpihelp_add_n(np, np, dp, dsize); in mpihelp_divrem()
Dmpi-internal.h201 mpi_ptr_t dp, mpi_size_t dsize);
/lib/math/
Drational.c58 unsigned long dp, a; in rational_best_approximation() local
65 dp = d; in rational_best_approximation()
68 n = dp; in rational_best_approximation()
94 if (!d1 || 2u * t > a || (2u * t == a && d0 * dp > d1 * d)) { in rational_best_approximation()