Lines Matching refs:ctx
43 static int LZ4_compressCtx(void *ctx, const char *source, char *dest,
45 static int LZ4_compress64kCtx(void *ctx, const char *source, char *dest,
517 LZ4_compressCtx(void *ctx, const char *source, char *dest, int isize,
521 struct refTables *srt = (struct refTables *)ctx;
712 LZ4_compress64kCtx(void *ctx, const char *source, char *dest, int isize,
716 struct refTables *srt = (struct refTables *)ctx;
896 void *ctx = kmem_zalloc(sizeof (struct refTables), KM_NOSLEEP);
903 if (ctx == NULL)
907 result = LZ4_compress64kCtx(ctx, source, dest, isize, osize);
909 result = LZ4_compressCtx(ctx, source, dest, isize, osize);
911 kmem_free(ctx, sizeof (struct refTables));