Lines Matching refs:ffs_opts
3003 struct f_fs_opts *ffs_opts = in ffs_do_functionfs_bind() local
3015 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3017 ret = ffs_opts->dev->desc_ready ? 0 : -ENODEV; in ffs_do_functionfs_bind()
3018 ffs_data = ffs_opts->dev->ffs_data; in ffs_do_functionfs_bind()
3019 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3035 if (!ffs_opts->refcnt) { in ffs_do_functionfs_bind()
3040 ffs_opts->refcnt++; in ffs_do_functionfs_bind()
3043 return ffs_opts; in ffs_do_functionfs_bind()
3211 struct f_fs_opts *ffs_opts = ffs_do_functionfs_bind(f, c); in ffs_func_bind() local
3215 if (IS_ERR(ffs_opts)) in ffs_func_bind()
3216 return PTR_ERR(ffs_opts); in ffs_func_bind()
3219 if (ret && !--ffs_opts->refcnt) in ffs_func_bind()