Searched refs:zstrm (Results 1 – 3 of 3) sorted by relevance
38 if (!IS_ERR_OR_NULL(zstrm->tfm)) in zcomp_strm_free()39 crypto_free_comp(zstrm->tfm); in zcomp_strm_free()41 zstrm->tfm = NULL; in zcomp_strm_free()42 zstrm->buffer = NULL; in zcomp_strm_free()57 if (IS_ERR_OR_NULL(zstrm->tfm) || !zstrm->buffer) { in zcomp_strm_init()58 zcomp_strm_free(zstrm); in zcomp_strm_init()144 zstrm->buffer, dst_len); in zcomp_compress()160 struct zcomp_strm *zstrm; in zcomp_cpu_up_prepare() local164 local_lock_init(&zstrm->lock); in zcomp_cpu_up_prepare()175 struct zcomp_strm *zstrm; in zcomp_cpu_dead() local[all …]
36 int zcomp_compress(struct zcomp_strm *zstrm,39 int zcomp_decompress(struct zcomp_strm *zstrm,
1260 struct zcomp_strm *zstrm; in __zram_bvec_read() local1296 zstrm = zcomp_stream_get(zram->comp); in __zram_bvec_read()1306 ret = zcomp_decompress(zstrm, src, size, dst); in __zram_bvec_read()1361 struct zcomp_strm *zstrm; in __zram_bvec_write() local1377 zstrm = zcomp_stream_get(zram->comp); in __zram_bvec_write()1379 ret = zcomp_compress(zstrm, src, &comp_len); in __zram_bvec_write()1432 src = zstrm->buffer; in __zram_bvec_write()
Completed in 11 milliseconds