Searched refs:strm (Results 1 – 7 of 7) sorted by relevance
/fs/btrfs/ |
D | zlib.c | 24 z_stream strm; member 61 kvfree(workspace->strm.workspace); in zlib_free_workspace() 77 workspace->strm.workspace = kvmalloc(workspacesize, GFP_KERNEL); in zlib_alloc_workspace() 80 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() 136 workspace->strm.next_in = data_in; in zlib_compress_pages() 137 workspace->strm.next_out = cpage_out; in zlib_compress_pages() 138 workspace->strm.avail_out = PAGE_SIZE; in zlib_compress_pages() [all …]
|
/fs/ |
D | binfmt_flat.c | 196 z_stream strm; in decompress_exec() local 201 memset(&strm, 0, sizeof(strm)); in decompress_exec() 202 strm.workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL); in decompress_exec() 203 if (!strm.workspace) in decompress_exec() 215 strm.next_in = buf; in decompress_exec() 216 strm.avail_in = ret; in decompress_exec() 217 strm.total_in = 0; in decompress_exec() 270 strm.next_in += ret; in decompress_exec() 271 strm.avail_in -= ret; in decompress_exec() 273 strm.next_out = dst; in decompress_exec() [all …]
|
/fs/squashfs/ |
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 57 z_stream *stream = strm; in zlib_uncompress()
|
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 69 struct squashfs_lzo *stream = strm; in lzo_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 95 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 125 struct squashfs_xz *stream = strm; in squashfs_xz_uncompress()
|