Lines Matching refs:comp_opts
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()
139 kfree(comp_opts); in squashfs_decompressor_setup()