Lines Matching refs:ctx
47 static int LZ4_compressCtx(void *ctx, const char *source, char *dest,
49 static int LZ4_compress64kCtx(void *ctx, const char *source, char *dest,
494 LZ4_compressCtx(void *ctx, const char *source, char *dest, int isize,
498 struct refTables *srt = (struct refTables *)ctx;
689 LZ4_compress64kCtx(void *ctx, const char *source, char *dest, int isize,
693 struct refTables *srt = (struct refTables *)ctx;
873 void *ctx = umem_zalloc(sizeof (struct refTables), UMEM_DEFAULT);
880 if (ctx == NULL)
884 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize);
886 result = LZ4_compressCtx(ctx, source, dest, isize, osize);
888 umem_free(ctx, sizeof (struct refTables));