Searched refs:comp_opts (Results 1 – 7 of 7) sorted by relevance
79 static struct lz4_comp_opts comp_opts; in lz4_dump_options() local81 comp_opts.version = LZ4_LEGACY; in lz4_dump_options()82 comp_opts.flags = hc ? LZ4_HC : 0; in lz4_dump_options()83 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in lz4_dump_options()85 *size = sizeof(comp_opts); in lz4_dump_options()86 return &comp_opts; in lz4_dump_options()112 struct lz4_comp_opts *comp_opts = buffer; in lz4_extract_options() local115 if(size < sizeof(*comp_opts)) in lz4_extract_options()118 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in lz4_extract_options()121 if(comp_opts->version != LZ4_LEGACY) { in lz4_extract_options()[all …]
167 static struct lzo_comp_opts comp_opts; in lzo_dump_options() local179 comp_opts.algorithm = algorithm; in lzo_dump_options()180 comp_opts.compression_level = algorithm == SQUASHFS_LZO1X_999 ? in lzo_dump_options()183 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in lzo_dump_options()185 *size = sizeof(comp_opts); in lzo_dump_options()186 return &comp_opts; in lzo_dump_options()212 struct lzo_comp_opts *comp_opts = buffer; in lzo_extract_options() local222 if(size < sizeof(*comp_opts)) in lzo_extract_options()225 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in lzo_extract_options()228 switch(comp_opts->algorithm) { in lzo_extract_options()[all …]
174 static struct gzip_comp_opts comp_opts; in gzip_dump_options() local193 comp_opts.compression_level = compression_level; in gzip_dump_options()194 comp_opts.window_size = window_size; in gzip_dump_options()195 comp_opts.strategy = strategies; in gzip_dump_options()197 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in gzip_dump_options()199 *size = sizeof(comp_opts); in gzip_dump_options()200 return &comp_opts; in gzip_dump_options()226 struct gzip_comp_opts *comp_opts = buffer; in gzip_extract_options() local238 if(size < sizeof(*comp_opts)) in gzip_extract_options()241 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in gzip_extract_options()[all …]
228 static struct comp_opts comp_opts; in xz_dump_options() local247 comp_opts.dictionary_size = dictionary_size; in xz_dump_options()248 comp_opts.flags = flags; in xz_dump_options()250 SQUASHFS_INSWAP_COMP_OPTS(&comp_opts); in xz_dump_options()252 *size = sizeof(comp_opts); in xz_dump_options()253 return &comp_opts; in xz_dump_options()279 struct comp_opts *comp_opts = buffer; in xz_extract_options() local288 if(size != sizeof(struct comp_opts)) in xz_extract_options()291 SQUASHFS_INSWAP_COMP_OPTS(comp_opts); in xz_extract_options()293 dictionary_size = comp_opts->dictionary_size; in xz_extract_options()[all …]
67 struct comp_opts { struct
106 int comp_opts = FALSE; variable6433 comp_opts = SQUASHFS_COMP_OPTS(sBlk.flags); in main()6466 comp_opts = TRUE; in main()6623 no_xattrs, comp_opts); in main()
18 static const struct xt_option_entry comp_opts[] = { variable125 .x6_options = comp_opts,