Searched refs:comp_opts (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.15/fs/squashfs/ |
D | decompressor.c | 91 void *buffer = NULL, *comp_opts; in get_comp_opts() local 101 comp_opts = ERR_PTR(-ENOMEM); in get_comp_opts() 107 comp_opts = ERR_PTR(-ENOMEM); in get_comp_opts() 115 comp_opts = ERR_PTR(length); in get_comp_opts() 120 comp_opts = squashfs_comp_opts(msblk, buffer, length); in get_comp_opts() 125 return comp_opts; in get_comp_opts() 132 void *stream, *comp_opts = get_comp_opts(sb, flags); in squashfs_decompressor_setup() local 134 if (IS_ERR(comp_opts)) in squashfs_decompressor_setup() 135 return comp_opts; in squashfs_decompressor_setup() 137 stream = squashfs_decompressor_create(msblk, comp_opts); in squashfs_decompressor_setup() [all …]
|
D | xz_wrapper.c | 34 struct comp_opts { struct 41 struct disk_comp_opts *comp_opts = buff; in squashfs_xz_comp_opts() argument 42 struct comp_opts *opts; in squashfs_xz_comp_opts() 51 if (comp_opts) { in squashfs_xz_comp_opts() 53 if (len < sizeof(*comp_opts)) { in squashfs_xz_comp_opts() 58 opts->dict_size = le32_to_cpu(comp_opts->dictionary_size); in squashfs_xz_comp_opts() 83 struct comp_opts *comp_opts = buff; in squashfs_xz_init() local 93 stream->state = xz_dec_init(XZ_PREALLOC, comp_opts->dict_size); in squashfs_xz_init() 181 .comp_opts = squashfs_xz_comp_opts,
|
D | decompressor_multi.c | 39 void *comp_opts; member 63 void *comp_opts) in squashfs_decompressor_create() argument 73 stream->comp_opts = comp_opts; in squashfs_decompressor_create() 89 stream->comp_opts); in squashfs_decompressor_create() 121 kfree(stream->comp_opts); in squashfs_decompressor_destroy() 157 stream->comp_opts); in get_decomp_stream()
|
D | lz4_wrapper.c | 35 struct lz4_comp_opts *comp_opts = buff; in lz4_comp_opts() local 38 if (comp_opts == NULL || len < sizeof(*comp_opts)) in lz4_comp_opts() 41 if (le32_to_cpu(comp_opts->version) != LZ4_LEGACY) { in lz4_comp_opts() 137 .comp_opts = lz4_comp_opts,
|
D | decompressor.h | 17 void *(*comp_opts)(struct squashfs_sb_info *, void *, int); member 29 return msblk->decompressor->comp_opts ? in squashfs_comp_opts() 30 msblk->decompressor->comp_opts(msblk, buff, length) : NULL; in squashfs_comp_opts()
|
D | decompressor_single.c | 28 void *comp_opts) in squashfs_decompressor_create() argument 37 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create() 43 kfree(comp_opts); in squashfs_decompressor_create()
|
D | decompressor_multi_percpu.c | 29 void *comp_opts) in squashfs_decompressor_create() argument 41 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create() 49 kfree(comp_opts); in squashfs_decompressor_create()
|