Lines Matching refs:ffs_opts
2932 struct f_fs_opts *ffs_opts = in ffs_do_functionfs_bind() local
2945 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
2947 ret = ffs_opts->dev->desc_ready ? 0 : -ENODEV; in ffs_do_functionfs_bind()
2948 func->ffs = ffs_opts->dev->ffs_data; in ffs_do_functionfs_bind()
2949 if (!ffs_opts->no_configfs) in ffs_do_functionfs_bind()
2964 if (!ffs_opts->refcnt) { in ffs_do_functionfs_bind()
2969 ffs_opts->refcnt++; in ffs_do_functionfs_bind()
2972 return ffs_opts; in ffs_do_functionfs_bind()
3141 struct f_fs_opts *ffs_opts = ffs_do_functionfs_bind(f, c); in ffs_func_bind() local
3145 if (IS_ERR(ffs_opts)) in ffs_func_bind()
3146 return PTR_ERR(ffs_opts); in ffs_func_bind()
3149 if (ret && !--ffs_opts->refcnt) in ffs_func_bind()