Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 5 of 5) sorted by relevance

/lib/
Dbitfield_kunit.c11 #define CHECK_ENC_GET_U(tp, v, field, res) do { \ argument
13 u##tp _res; \
15 _res = u##tp##_encode_bits(v, field); \
17 "u" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != " #res "\n", \
20 u##tp##_get_bits(_res, field) != v); \
24 #define CHECK_ENC_GET_LE(tp, v, field, res) do { \ argument
26 __le##tp _res; \
28 _res = le##tp##_encode_bits(v, field); \
30 _res != cpu_to_le##tp(res), \
31 "le" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != 0x%llx",\
[all …]
/lib/mpi/
Dmpi-div.c167 mpi_ptr_t tp; in mpi_tdiv_qr() local
174 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr()
175 mpihelp_lshift(tp, dp, dsize, normalization_steps); in mpi_tdiv_qr()
176 dp = tp; in mpi_tdiv_qr()
193 mpi_ptr_t tp; in mpi_tdiv_qr() local
195 tp = marker[markidx++] = mpi_alloc_limb_space(dsize); in mpi_tdiv_qr()
196 MPN_COPY(tp, dp, dsize); in mpi_tdiv_qr()
197 dp = tp; in mpi_tdiv_qr()
Dmpih-mul.c368 if (!ctx->tp || ctx->tp_size < vsize) { in mpihelp_mul_karatsuba_case()
369 if (ctx->tp) in mpihelp_mul_karatsuba_case()
370 mpi_free_limb_space(ctx->tp); in mpihelp_mul_karatsuba_case()
371 ctx->tp = mpi_alloc_limb_space(2 * vsize); in mpihelp_mul_karatsuba_case()
372 if (!ctx->tp) { in mpihelp_mul_karatsuba_case()
382 MPN_MUL_N_RECURSE(ctx->tp, up, vp, vsize, ctx->tspace); in mpihelp_mul_karatsuba_case()
383 cy = mpihelp_add_n(prodp, prodp, ctx->tp, vsize); in mpihelp_mul_karatsuba_case()
384 mpihelp_add_1(prodp + vsize, ctx->tp + vsize, vsize, in mpihelp_mul_karatsuba_case()
422 if (ctx->tp) in mpihelp_release_karatsuba_ctx()
423 mpi_free_limb_space(ctx->tp); in mpihelp_release_karatsuba_ctx()
[all …]
Dmpi-pow.c179 mpi_ptr_t tp; in mpi_powm() local
210 tp = rp; in mpi_powm()
212 xp = tp; in mpi_powm()
238 tp = rp; in mpi_powm()
240 xp = tp; in mpi_powm()
Dmpi-internal.h169 mpi_ptr_t tp; member