Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 7 of 7) sorted by relevance

/lib/mpi/
Dmpih-mul.c337 struct karatsuba_ctx *ctx) in mpihelp_mul_karatsuba_case() argument
341 if (!ctx->tspace || ctx->tspace_size < vsize) { in mpihelp_mul_karatsuba_case()
342 if (ctx->tspace) in mpihelp_mul_karatsuba_case()
343 mpi_free_limb_space(ctx->tspace); in mpihelp_mul_karatsuba_case()
344 ctx->tspace = mpi_alloc_limb_space(2 * vsize); in mpihelp_mul_karatsuba_case()
345 if (!ctx->tspace) in mpihelp_mul_karatsuba_case()
347 ctx->tspace_size = vsize; in mpihelp_mul_karatsuba_case()
350 MPN_MUL_N_RECURSE(prodp, up, vp, vsize, ctx->tspace); in mpihelp_mul_karatsuba_case()
356 if (!ctx->tp || ctx->tp_size < vsize) { in mpihelp_mul_karatsuba_case()
357 if (ctx->tp) in mpihelp_mul_karatsuba_case()
[all …]
Dmpi-internal.h199 void mpihelp_release_karatsuba_ctx(struct karatsuba_ctx *ctx);
215 struct karatsuba_ctx *ctx);
/lib/
Dlibcrc32c.c45 u32 *ctx = (u32 *)shash_desc_ctx(shash); in crc32c() local
50 *ctx = crc; in crc32c()
55 return *ctx; in crc32c()
Dcrc-t10dif.c26 char ctx[2]; in crc_t10dif() member
35 *(__u16 *)desc.ctx = 0; in crc_t10dif()
40 return *(__u16 *)desc.ctx; in crc_t10dif()
Dlocking-selftest.c1143 if (WARN_ON(!o.ctx) || in ww_test_fail_acquire()
1181 o.ctx = (void *)~0UL; in ww_test_normal()
1184 WARN_ON(o.ctx != (void *)~0UL); in ww_test_normal()
1187 o.ctx = (void *)~0UL; in ww_test_normal()
1193 WARN_ON(o.ctx != (void *)~0UL); in ww_test_normal()
1196 o.ctx = (void *)~0UL; in ww_test_normal()
1202 WARN_ON(o.ctx != (void *)~0UL); in ww_test_normal()
1205 o.ctx = (void *)~0UL; in ww_test_normal()
1212 WARN_ON(o.ctx != (void *)~0UL); in ww_test_normal()
1215 o.ctx = (void *)~0UL; in ww_test_normal()
[all …]
/lib/lz4/
Dlz4_compress.c52 static inline int lz4_compressctx(void *ctx, in lz4_compressctx() argument
58 HTYPE *hashtable = (HTYPE *)ctx; in lz4_compressctx()
238 static inline int lz4_compress64kctx(void *ctx, in lz4_compress64kctx() argument
244 u16 *hashtable = (u16 *)ctx; in lz4_compress64kctx()
Dlz4hc_compress.c317 static int lz4_compresshcctx(struct lz4hc_data *ctx, in lz4_compresshcctx() argument
344 ml = lz4hc_insertandfindbestmatch(ctx, ip, matchlimit, (&ref)); in lz4_compresshcctx()
356 ml2 = lz4hc_insertandgetwidermatch(ctx, ip + ml - 2, in lz4_compresshcctx()
410 ml3 = lz4hc_insertandgetwidermatch(ctx, in lz4_compresshcctx()