Lines Matching refs:nfs_mod
1389 struct nfs_subversion *nfs_mod; in nfs_fs_context_validate() local
1458 if (!ctx->nfs_mod) { in nfs_fs_context_validate()
1459 nfs_mod = get_nfs_version(ctx->version); in nfs_fs_context_validate()
1460 if (IS_ERR(nfs_mod)) { in nfs_fs_context_validate()
1461 ret = PTR_ERR(nfs_mod); in nfs_fs_context_validate()
1464 ctx->nfs_mod = nfs_mod; in nfs_fs_context_validate()
1468 if (fc->fs_type != ctx->nfs_mod->nfs_fs) { in nfs_fs_context_validate()
1470 __module_get(ctx->nfs_mod->nfs_fs->owner); in nfs_fs_context_validate()
1471 fc->fs_type = ctx->nfs_mod->nfs_fs; in nfs_fs_context_validate()
1507 return ctx->nfs_mod->rpc_ops->try_get_tree(fc); in nfs_get_tree()
1533 __module_get(ctx->nfs_mod->owner); in nfs_fs_context_dup()
1551 if (ctx->nfs_mod) in nfs_fs_context_free()
1552 put_nfs_version(ctx->nfs_mod); in nfs_fs_context_free()
1624 ctx->nfs_mod = nfss->nfs_client->cl_nfs_mod; in nfs_init_fs_context()
1625 __module_get(ctx->nfs_mod->owner); in nfs_init_fs_context()