Searched refs:strm (Results 1 – 8 of 8) sorted by relevance
/fs/erofs/ |
D | decompressor_lzma.c | 26 struct z_erofs_lzma *strm; in z_erofs_lzma_exit() local 29 strm = z_erofs_lzma_head; in z_erofs_lzma_exit() 30 if (!strm) { in z_erofs_lzma_exit() 38 while (strm) { in z_erofs_lzma_exit() 39 struct z_erofs_lzma *n = strm->next; in z_erofs_lzma_exit() 41 if (strm->state) in z_erofs_lzma_exit() 42 xz_dec_microlzma_end(strm->state); in z_erofs_lzma_exit() 43 kfree(strm); in z_erofs_lzma_exit() 45 strm = n; in z_erofs_lzma_exit() 59 struct z_erofs_lzma *strm = kzalloc(sizeof(*strm), GFP_KERNEL); in z_erofs_lzma_init() local [all …]
|
/fs/btrfs/ |
D | zlib.c | 27 z_stream strm; member 50 kvfree(workspace->strm.workspace); in zlib_free_workspace() 66 workspace->strm.workspace = kvzalloc(workspacesize, GFP_KERNEL); in zlib_alloc_workspace() 83 if (!workspace->strm.workspace || !workspace->buf) in zlib_alloc_workspace() 115 if (Z_OK != zlib_deflateInit(&workspace->strm, workspace->level)) { in zlib_compress_pages() 121 workspace->strm.total_in = 0; in zlib_compress_pages() 122 workspace->strm.total_out = 0; in zlib_compress_pages() 133 workspace->strm.next_in = workspace->buf; in zlib_compress_pages() 134 workspace->strm.avail_in = 0; in zlib_compress_pages() 135 workspace->strm.next_out = cpage_out; in zlib_compress_pages() [all …]
|
/fs/ |
D | binfmt_flat.c | 207 z_stream strm; in decompress_exec() local 212 memset(&strm, 0, sizeof(strm)); in decompress_exec() 213 strm.workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL); in decompress_exec() 214 if (!strm.workspace) in decompress_exec() 226 strm.next_in = buf; in decompress_exec() 227 strm.avail_in = ret; in decompress_exec() 228 strm.total_in = 0; in decompress_exec() 281 strm.next_in += ret; in decompress_exec() 282 strm.avail_in -= ret; in decompress_exec() 284 strm.next_out = dst; in decompress_exec() [all …]
|
/fs/squashfs/ |
D | lzo_wrapper.c | 53 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()
|
D | zlib_wrapper.c | 42 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()
|
D | lz4_wrapper.c | 79 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()
|
D | zstd_wrapper.c | 51 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()
|
D | xz_wrapper.c | 108 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()
|