Searched refs:comp_opts (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/fs/squashfs/ |
D | decompressor.c | 97 void *buffer = NULL, *comp_opts; in get_comp_opts() local 107 comp_opts = ERR_PTR(-ENOMEM); in get_comp_opts() 113 comp_opts = ERR_PTR(-ENOMEM); in get_comp_opts() 121 comp_opts = ERR_PTR(length); in get_comp_opts() 126 comp_opts = squashfs_comp_opts(msblk, buffer, length); in get_comp_opts() 131 return comp_opts; in get_comp_opts() 138 void *stream, *comp_opts = get_comp_opts(sb, flags); in squashfs_decompressor_setup() local 140 if (IS_ERR(comp_opts)) in squashfs_decompressor_setup() 141 return comp_opts; in squashfs_decompressor_setup() 143 stream = squashfs_decompressor_create(msblk, comp_opts); in squashfs_decompressor_setup() [all …]
|
D | xz_wrapper.c | 47 struct comp_opts { struct 54 struct disk_comp_opts *comp_opts = buff; in squashfs_xz_comp_opts() argument 55 struct comp_opts *opts; in squashfs_xz_comp_opts() 64 if (comp_opts) { in squashfs_xz_comp_opts() 66 if (len < sizeof(*comp_opts)) { in squashfs_xz_comp_opts() 71 opts->dict_size = le32_to_cpu(comp_opts->dictionary_size); in squashfs_xz_comp_opts() 96 struct comp_opts *comp_opts = buff; in squashfs_xz_init() local 106 stream->state = xz_dec_init(XZ_PREALLOC, comp_opts->dict_size); in squashfs_xz_init() 187 .comp_opts = squashfs_xz_comp_opts,
|
D | decompressor_multi.c | 41 void *comp_opts; member 65 void *comp_opts) in squashfs_decompressor_create() argument 75 stream->comp_opts = comp_opts; in squashfs_decompressor_create() 91 stream->comp_opts); in squashfs_decompressor_create() 123 kfree(stream->comp_opts); in squashfs_decompressor_destroy() 159 stream->comp_opts); in get_decomp_stream()
|
D | lz4_wrapper.c | 37 struct lz4_comp_opts *comp_opts = buff; in lz4_comp_opts() local 40 if (comp_opts == NULL || len < sizeof(*comp_opts)) in lz4_comp_opts() 43 if (le32_to_cpu(comp_opts->version) != LZ4_LEGACY) { in lz4_comp_opts() 136 .comp_opts = lz4_comp_opts,
|
D | decompressor.h | 28 void *(*comp_opts)(struct squashfs_sb_info *, void *, int); member 41 return msblk->decompressor->comp_opts ? in squashfs_comp_opts() 42 msblk->decompressor->comp_opts(msblk, buff, length) : NULL; in squashfs_comp_opts()
|
D | decompressor_single.c | 30 void *comp_opts) in squashfs_decompressor_create() argument 39 stream->stream = msblk->decompressor->init(msblk, comp_opts); in squashfs_decompressor_create() 45 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() 48 kfree(comp_opts); in squashfs_decompressor_create()
|