Lines Matching refs:opts
121 struct fsg_opts *opts; in msg_do_config() local
129 opts = fsg_opts_from_func_inst(fi_msg); in msg_do_config()
160 struct fsg_opts *opts; in msg_bind() local
169 opts = fsg_opts_from_func_inst(fi_msg); in msg_bind()
171 opts->no_configfs = true; in msg_bind()
172 status = fsg_common_set_num_buffers(opts->common, fsg_num_buffers); in msg_bind()
176 fsg_common_set_ops(opts->common, &ops); in msg_bind()
178 status = fsg_common_set_cdev(opts->common, cdev, config.can_stall); in msg_bind()
182 fsg_common_set_sysfs(opts->common, true); in msg_bind()
183 status = fsg_common_create_luns(opts->common, &config); in msg_bind()
187 fsg_common_set_inquiry_string(opts->common, config.vendor_name, in msg_bind()
220 fsg_common_remove_luns(opts->common); in msg_bind()
222 fsg_common_free_buffers(opts->common); in msg_bind()