Home
last modified time | relevance | path

Searched refs:nfs_port (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dmount.c387 nfs4init(char *path, uint16_t nfs_port) in nfs4init() argument
402 if (nfs_port == 0) in nfs4init()
403 nfs_port = 2049; in nfs4init()
405 root_to.sin_port = htons(nfs_port); in nfs4init()
569 int nfs_port = 0; /* Cause pmap to get port */ in boot_nfs_mountroot() local
698 nfs_port = atoi(val); in boot_nfs_mountroot()
704 nfs_port = 0; in boot_nfs_mountroot()
733 if (istcp && nfs4init(root_path, nfs_port) == 0) { in boot_nfs_mountroot()
747 if (istcp && nfs4init(root_path, nfs_port) == 0) { in boot_nfs_mountroot()
765 root_to.sin_port = htons(nfs_port); /* NFS is next after mount */ in boot_nfs_mountroot()
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c500 int nfs_port; local
509 got_port = nopt(&m, MNTOPT_PORT, &nfs_port);
511 nfs_port = 0;
512 nfs_port &= USHRT_MAX;
526 if (pingnfs(list[i].host, 1, NULL, 0, nfs_port,
H A Dautod_nfs.c682 uint_t nfs_port = 0; in nfsmount() local
760 got_val = nopt(&m, MNTOPT_PORT, (int *)&nfs_port); in nfsmount()
762 nfs_port = 0; /* "unspecified" */ in nfsmount()
763 if (nfs_port > USHRT_MAX) { in nfsmount()
764 syslog(LOG_ERR, "%s: invalid port number %d", mntpnt, nfs_port); in nfsmount()
880 if (nfs_port != 0 && mfs->mfs_port != 0 && in nfsmount()
881 nfs_port != mfs->mfs_port) { in nfsmount()
885 "option\n", mfs->mfs_port, nfs_port); in nfsmount()
889 } else if (nfs_port != 0) in nfsmount()
890 thisport = nfs_port; in nfsmount()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c170 static ushort_t nfs_port = 0; variable
529 port = nfs_port; in mount_nfs()
530 } else if (nfs_port != 0 && nfs_port != port) { in mount_nfs()
535 (unsigned int)ntohs(nfs_port)); in mount_nfs()
1052 nfs_port = htons((ushort_t)num); in set_args()