Home
last modified time | relevance | path

Searched refs:lz4_comp_mem (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.15/crypto/
Dlz4.c16 void *lz4_comp_mem; member
34 ctx->lz4_comp_mem = lz4_alloc_ctx(NULL); in lz4_init()
35 if (IS_ERR(ctx->lz4_comp_mem)) in lz4_init()
50 lz4_free_ctx(NULL, ctx->lz4_comp_mem); in lz4_exit()
78 return __lz4_compress_crypto(src, slen, dst, dlen, ctx->lz4_comp_mem); in lz4_compress_crypto()
/Linux-v5.15/drivers/gpu/drm/gud/
Dgud_internal.h33 void *lz4_comp_mem; member
Dgud_drv.c578 gdrm->lz4_comp_mem = devm_kmalloc(dev, LZ4_MEM_COMPRESS, GFP_KERNEL); in gud_probe()
579 if (!gdrm->lz4_comp_mem) in gud_probe()
Dgud_pipe.c216 complen = LZ4_compress_default(buf, gdrm->bulk_buf, len, len, gdrm->lz4_comp_mem); in gud_prep_flush()