Home
last modified time | relevance | path

Searched refs:strm (Results 1 – 11 of 11) sorted by relevance

/fs/btrfs/
A Dzlib.c30 z_stream strm; member
53 kvfree(workspace->strm.workspace); in zlib_free_workspace()
167 workspace->strm.total_in = 0; in zlib_compress_folios()
168 workspace->strm.total_out = 0; in zlib_compress_folios()
180 workspace->strm.avail_in = 0; in zlib_compress_folios()
272 workspace->strm.avail_in = 0; in zlib_compress_folios()
305 if (workspace->strm.total_out >= workspace->strm.total_in) { in zlib_compress_folios()
339 workspace->strm.total_in = 0; in zlib_decompress_bio()
341 workspace->strm.total_out = 0; in zlib_decompress_bio()
352 workspace->strm.next_in += 2; in zlib_decompress_bio()
[all …]
/fs/erofs/
A Ddecompressor_zstd.c27 if (!strm) { in z_erofs_isolate_strms()
34 return strm; in z_erofs_isolate_strms()
42 for (strm = z_erofs_isolate_strms(true); strm; strm = n) { in z_erofs_zstd_exit()
43 n = strm->next; in z_erofs_zstd_exit()
46 kfree(strm); in z_erofs_zstd_exit()
62 strm = kzalloc(sizeof(*strm), GFP_KERNEL); in z_erofs_zstd_init()
63 if (!strm) { in z_erofs_zstd_init()
106 for (strm = z_erofs_isolate_strms(true); strm; strm = n) { in z_erofs_load_zstd_config()
109 head = strm; in z_erofs_load_zstd_config()
116 for (strm = head; strm; strm = strm->next) { in z_erofs_load_zstd_config()
[all …]
A Ddecompressor_deflate.c25 strm = z_erofs_deflate_head; in z_erofs_deflate_exit()
26 if (!strm) { in z_erofs_deflate_exit()
33 while (strm) { in z_erofs_deflate_exit()
36 vfree(strm->z.workspace); in z_erofs_deflate_exit()
37 kfree(strm); in z_erofs_deflate_exit()
39 strm = n; in z_erofs_deflate_exit()
74 strm = kzalloc(sizeof(*strm), GFP_KERNEL); in z_erofs_load_deflate_config()
75 if (!strm) in z_erofs_load_deflate_config()
80 kfree(strm); in z_erofs_load_deflate_config()
121 if (!strm) { in __z_erofs_deflate_decompress()
[all …]
A Ddecompressor_lzma.c28 if (!strm) { in z_erofs_lzma_exit()
36 while (strm) { in z_erofs_lzma_exit()
39 if (strm->state) in z_erofs_lzma_exit()
41 kfree(strm); in z_erofs_lzma_exit()
43 strm = n; in z_erofs_lzma_exit()
57 struct z_erofs_lzma *strm = kzalloc(sizeof(*strm), GFP_KERNEL); in z_erofs_lzma_init() local
59 if (!strm) { in z_erofs_lzma_init()
112 if (!strm) { in z_erofs_load_lzma_config()
124 head = strm; in z_erofs_load_lzma_config()
129 for (strm = head; strm; strm = strm->next) { in z_erofs_load_lzma_config()
[all …]
/fs/
A Dbinfmt_flat.c186 z_stream strm; in decompress_exec() local
191 memset(&strm, 0, sizeof(strm)); in decompress_exec()
193 if (!strm.workspace) in decompress_exec()
205 strm.next_in = buf; in decompress_exec()
206 strm.avail_in = ret; in decompress_exec()
207 strm.total_in = 0; in decompress_exec()
260 strm.next_in += ret; in decompress_exec()
263 strm.next_out = dst; in decompress_exec()
265 strm.total_out = 0; in decompress_exec()
280 strm.total_in = 0; in decompress_exec()
[all …]
/fs/squashfs/
A Dlzo_wrapper.c53 static void lzo_free(void *strm) in lzo_free() argument
55 struct squashfs_lzo *stream = strm; in lzo_free()
65 static int lzo_uncompress(struct squashfs_sb_info *msblk, void *strm, in lzo_uncompress() argument
71 struct squashfs_lzo *stream = strm; in lzo_uncompress()
A Dzlib_wrapper.c42 static void zlib_free(void *strm) in zlib_free() argument
44 z_stream *stream = strm; in zlib_free()
52 static int zlib_uncompress(struct squashfs_sb_info *msblk, void *strm, in zlib_uncompress() argument
59 z_stream *stream = strm; in zlib_uncompress()
A Dlz4_wrapper.c79 static void lz4_free(void *strm) in lz4_free() argument
81 struct squashfs_lz4 *stream = strm; in lz4_free()
91 static int lz4_uncompress(struct squashfs_sb_info *msblk, void *strm, in lz4_uncompress() argument
97 struct squashfs_lz4 *stream = strm; in lz4_uncompress()
A Dzstd_wrapper.c51 static void zstd_free(void *strm) in zstd_free() argument
53 struct workspace *wksp = strm; in zstd_free()
61 static int zstd_uncompress(struct squashfs_sb_info *msblk, void *strm, in zstd_uncompress() argument
65 struct workspace *wksp = strm; in zstd_uncompress()
A Dxz_wrapper.c108 static void squashfs_xz_free(void *strm) in squashfs_xz_free() argument
110 struct squashfs_xz *stream = strm; in squashfs_xz_free()
119 static int squashfs_xz_uncompress(struct squashfs_sb_info *msblk, void *strm, in squashfs_xz_uncompress() argument
126 struct squashfs_xz *stream = strm; in squashfs_xz_uncompress()
/fs/bcachefs/
A Dcompress.c169 strm->workspace = workspace; in zlib_set_workspace()
206 z_stream strm = { in __bio_uncompress() local
215 zlib_set_workspace(&strm, workspace); in __bio_uncompress()
216 zlib_inflateInit2(&strm, -MAX_WBITS); in __bio_uncompress()
217 ret2 = zlib_inflate(&strm, Z_FINISH); in __bio_uncompress()
366 z_stream strm = { in attempt_compress() local
373 zlib_set_workspace(&strm, workspace); in attempt_compress()
374 if (zlib_deflateInit2(&strm, in attempt_compress()
383 if (zlib_deflate(&strm, Z_FINISH) != Z_STREAM_END) in attempt_compress()
386 if (zlib_deflateEnd(&strm) != Z_OK) in attempt_compress()
[all …]

Completed in 807 milliseconds