Home
last modified time | relevance | path

Searched refs:cstrm (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/block/zram/
H A Dbackend_lz4hc.c12 LZ4_streamHC_t *cstrm; member
35 kfree(zctx->cstrm); in lz4hc_destroy()
58 zctx->cstrm = kzalloc(sizeof(*zctx->cstrm), GFP_KERNEL); in lz4hc_create()
59 if (!zctx->cstrm) in lz4hc_create()
76 if (!zctx->cstrm) { in lz4hc_compress()
82 LZ4_resetStreamHC(zctx->cstrm, params->level); in lz4hc_compress()
83 ret = LZ4_loadDictHC(zctx->cstrm, params->dict, in lz4hc_compress()
87 ret = LZ4_compress_HC_continue(zctx->cstrm, req->src, req->dst, in lz4hc_compress()
H A Dbackend_lz4.c12 LZ4_stream_t *cstrm; member
36 kfree(zctx->cstrm); in lz4_destroy()
58 zctx->cstrm = kzalloc(sizeof(*zctx->cstrm), GFP_KERNEL); in lz4_create()
59 if (!zctx->cstrm) in lz4_create()
76 if (!zctx->cstrm) { in lz4_compress()
82 ret = LZ4_loadDict(zctx->cstrm, params->dict, params->dict_sz); in lz4_compress()
85 ret = LZ4_compress_fast_continue(zctx->cstrm, req->src, in lz4_compress()