Lines Matching refs:ffs_opts
3492 struct f_fs_opts *ffs_opts = in ffs_do_functionfs_bind() local
3504 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3506 ret = ffs_opts->dev->desc_ready ? 0 : -ENODEV; in ffs_do_functionfs_bind()
3507 ffs_data = ffs_opts->dev->ffs_data; in ffs_do_functionfs_bind()
3508 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
3524 if (!ffs_opts->refcnt) { in ffs_do_functionfs_bind()
3529 ffs_opts->refcnt++; in ffs_do_functionfs_bind()
3532 return ffs_opts; in ffs_do_functionfs_bind()
3700 struct f_fs_opts *ffs_opts = ffs_do_functionfs_bind(f, c); in ffs_func_bind() local
3704 if (IS_ERR(ffs_opts)) in ffs_func_bind()
3705 return PTR_ERR(ffs_opts); in ffs_func_bind()
3708 if (ret && !--ffs_opts->refcnt) in ffs_func_bind()