Searched refs:dstrm (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/block/zram/ |
H A D | backend_lz4.c | 11 LZ4_streamDecode_t *dstrm; member 35 kfree(zctx->dstrm); in lz4_destroy() 54 zctx->dstrm = kzalloc(sizeof(*zctx->dstrm), GFP_KERNEL); in lz4_create() 55 if (!zctx->dstrm) in lz4_create() 101 if (!zctx->dstrm) { in lz4_decompress() 106 ret = LZ4_setStreamDecode(zctx->dstrm, params->dict, in lz4_decompress() 110 ret = LZ4_decompress_safe_continue(zctx->dstrm, req->src, in lz4_decompress()
|
H A D | backend_lz4hc.c | 11 LZ4_streamDecode_t *dstrm; member 34 kfree(zctx->dstrm); in lz4hc_destroy() 54 zctx->dstrm = kzalloc(sizeof(*zctx->dstrm), GFP_KERNEL); in lz4hc_create() 55 if (!zctx->dstrm) in lz4hc_create() 102 if (!zctx->dstrm) { in lz4hc_decompress() 107 ret = LZ4_setStreamDecode(zctx->dstrm, params->dict, in lz4hc_decompress() 111 ret = LZ4_decompress_safe_continue(zctx->dstrm, req->src, in lz4hc_decompress()
|