Lines Matching refs:ffs_opts
3039 struct f_fs_opts *ffs_opts = in ffs_do_functionfs_bind() local
3052 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3054 ret = ffs_opts->dev->desc_ready ? 0 : -ENODEV; in ffs_do_functionfs_bind()
3055 func->ffs = ffs_opts->dev->ffs_data; in ffs_do_functionfs_bind()
3056 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3071 if (!ffs_opts->refcnt) { in ffs_do_functionfs_bind()
3076 ffs_opts->refcnt++; in ffs_do_functionfs_bind()
3079 return ffs_opts; in ffs_do_functionfs_bind()
3248 struct f_fs_opts *ffs_opts = ffs_do_functionfs_bind(f, c); in ffs_func_bind() local
3252 if (IS_ERR(ffs_opts)) in ffs_func_bind()
3253 return PTR_ERR(ffs_opts); in ffs_func_bind()
3256 if (ret && !--ffs_opts->refcnt) in ffs_func_bind()