Lines Matching defs:opts
3931 struct f_fs_opts *opts = to_ffs_opts(item);
3935 ready = opts->dev->desc_ready;
3950 struct f_fs_opts *opts = to_ffs_opts(item);
3952 usb_put_function_instance(&opts->func_inst);
3970 struct f_fs_opts *opts;
3972 opts = to_f_fs_opts(f);
3973 ffs_release_dev(opts->dev);
3975 _ffs_free_dev(opts->dev);
3977 kfree(opts);
3989 struct f_fs_opts *opts;
3992 opts = kzalloc(sizeof(*opts), GFP_KERNEL);
3993 if (!opts)
3996 opts->func_inst.set_inst_name = ffs_set_inst_name;
3997 opts->func_inst.free_func_inst = ffs_free_inst;
4002 kfree(opts);
4005 opts->dev = dev;
4006 dev->opts = opts;
4008 config_group_init_type_name(&opts->func_inst.group, "",
4010 return &opts->func_inst;
4023 struct f_fs_opts *opts =
4038 if (!--opts->refcnt)
4240 struct f_fs_opts *opts;
4255 if (ffs_obj->opts)
4256 opts = ffs_obj->opts;
4260 if (opts->no_configfs || !opts->func_inst.group.cg_item.ci_parent
4261 || !kref_read(&opts->func_inst.group.cg_item.ci_kref))
4264 ci = opts->func_inst.group.cg_item.ci_parent->ci_parent;