Lines Matching refs:ffs_opts
3030 struct f_fs_opts *ffs_opts = in ffs_do_functionfs_bind() local
3043 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3045 ret = ffs_opts->dev->desc_ready ? 0 : -ENODEV; in ffs_do_functionfs_bind()
3046 func->ffs = ffs_opts->dev->ffs_data; in ffs_do_functionfs_bind()
3047 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3062 if (!ffs_opts->refcnt) { in ffs_do_functionfs_bind()
3067 ffs_opts->refcnt++; in ffs_do_functionfs_bind()
3070 return ffs_opts; in ffs_do_functionfs_bind()
3239 struct f_fs_opts *ffs_opts = ffs_do_functionfs_bind(f, c); in ffs_func_bind() local
3243 if (IS_ERR(ffs_opts)) in ffs_func_bind()
3244 return PTR_ERR(ffs_opts); in ffs_func_bind()
3247 if (ret && !--ffs_opts->refcnt) in ffs_func_bind()