Lines Matching refs:vers

219  * These will only be used when the vers mount option is not used and
398 int oldvers = 0, vers = 0;
555 oldvers = vers;
566 &vers, &nconf, port);
582 if ((r != RET_OK) || (vers == NFS_V4)) {
605 r = get_fh(argp, host, path, &vers,
630 r = get_fh(argp, host, newpath, &vers,
660 if (oldvers && vers != oldvers) {
671 if (!(argp->flags & NFSMNT_LLOCK) && vers == NFS_VERSION &&
701 if (make_secure(argp, host, nconf, use_pubfh, vers) < 0) {
1259 bool_t use_pubfh, rpcvers_t vers)
1304 if (nfs_sec.sc_rpcnum == AUTH_DH || vers == NFS_V4) {
1309 if (use_pubfh == FALSE && vers != NFS_V4)
1339 if (vers == NFS_V4 && syncaddr &&
1381 * with version "vers" by using the nconf configuration data
1393 get_the_addr(char *hostname, ulong_t prog, ulong_t vers,
1421 if ((get_pubfh == TRUE) || (vers == NFS_V4)) {
1427 /* NFS where vers==4 does not support UDP */
1428 if (vers == NFS_V4 &&
1459 if (rpcb_getaddr(prog, vers, nconf, &tbind->addr,
1476 cl = clnt_tli_create(fd, nconf, &tbind->addr, prog, vers, 0, 0);
1503 if ((get_pubfh == TRUE) && (vers != NFS_V4)) {
1511 if ((sec = nfs_sec_nego(vers, cl, fspath, &snego)) ==
1583 if (vers == NFS_VERSION) {
1639 if (vers == NFS_VERSION)
1641 else if (vers == NFS_V3)
1729 * with version "vers". If the port number is specified (non zero)
1751 get_addr(char *hostname, ulong_t prog, ulong_t vers, struct netconfig **nconfp,
1767 return (get_the_addr(hostname, prog, vers, *nconfp, port,
1810 vers, nconf, port, tinfo,
1838 if ((nb = get_the_addr(hostname, prog, vers, nconf, port,
1869 if ((nb = get_the_addr(hostname, prog, vers, nconf,
2487 * exhaust transport errors on all vers.