Lines Matching refs:v3
152 nfs_boot_getfh(__unused struct nfs_diskless *nd, __unused int v3, __unused int sotype) in nfs_boot_getfh() argument
186 static int md_mount(struct sockaddr_in *mdsin, char *path, int v3, int sotype,
312 nfs_boot_getfh(struct nfs_diskless *nd, int v3, int sotype) in nfs_boot_getfh() argument
316 nd->nd_root.ndm_nfsv3 = v3; in nfs_boot_getfh()
321 v3 ? 3 : 2, error); in nfs_boot_getfh()
328 nd->nd_private.ndm_nfsv3 = v3; in nfs_boot_getfh()
333 v3 ? 3 : 2, error); in nfs_boot_getfh()
721 int v3, in md_mount() argument
735 int mntversion = v3 ? RPCMNT_VER3 : RPCMNT_VER1; in md_mount()
747 error = krpc_portmap(mdsin, NFS_PROG, v3 ? NFS_VER3 : NFS_VER2, proto, &nfsport); in md_mount()
785 if (v3) { in md_mount()
847 int v3, sotype; in nfs_mountroot() local
865 v3 = 1; in nfs_mountroot()
869 error = nfs_boot_getfh(&nd, v3, sotype); in nfs_mountroot()
886 if (v3) { in nfs_mountroot()
893 v3 = 0; in nfs_mountroot()
935 if (v3) { in nfs_mountroot()
942 v3 = 0; in nfs_mountroot()