Lines Matching refs:nfs_version
423 …XPRT **nfs_xprtp, void (*dispatch_fxn)(struct svc_req *rqstp, SVCXPRT *transp), u_long nfs_version) in create_nfs_service() argument
455 if (svc_reg(*nfs_xprtp, NFS_PROGRAM, nfs_version, dispatch_fxn, NULL) != 1) { in create_nfs_service()
744 get_nfs_version(char *host, struct sockaddr_in *sin, u_long nfs_version, const char *proto, u_long … in get_nfs_version() argument
754 if (!nfs_valid_version(nfs_version)) in get_nfs_version()
756 nfs_version = def; in get_nfs_version()
758 nfs_version = NFS_VERS_MAX; in get_nfs_version()
761 if (nfs_version == NFS_VERSION) {
763 (int) nfs_version, proto, host);
766 (int) NFS_VERSION, (int) nfs_version, proto, host);
775 clnt = clnt_create_vers_timed(host, NFS_PROGRAM, &versout, NFS_VERSION, nfs_version, proto, &tv);
777 clnt = clnt_create_vers(host, NFS_PROGRAM, &versout, NFS_VERSION, nfs_version, proto);
781 if (nfs_version == NFS_VERSION)
783 (int) nfs_version, proto, host, clnt_spcreateerror(""));
786 (int) NFS_VERSION, (int) nfs_version, proto, host, clnt_spcreateerror(""));