Searched refs:nd_root (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/nfs/
H A Dnfsdiskless.h88 struct nfs_dlmount nd_root; /* Mount info for root */ member in struct:nfs_diskless
H A Dnfs_boot.c207 MALLOC_ZONE(nd->nd_root.ndm_path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
208 if (!nd->nd_root.ndm_path) {
213 MALLOC_ZONE(nd->nd_root.ndm_mntfrom, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
214 if (!nd->nd_root.ndm_mntfrom) {
219 sin_p = &nd->nd_root.ndm_saddr;
223 if (netboot_rootpath(&sin_p->sin_addr, nd->nd_root.ndm_host,
224 sizeof(nd->nd_root.ndm_host),
225 nd->nd_root.ndm_path, MAXPATHLEN) == TRUE) {
257 error = bp_getfile(&bp_sin, "root", &nd->nd_root.ndm_saddr,
258 nd->nd_root
[all...]
H A Dnfs_vfsops.c909 if (nd.nd_root.ndm_mntfrom)
910 FREE_ZONE(nd.nd_root.ndm_mntfrom,
912 if (nd.nd_root.ndm_path)
913 FREE_ZONE(nd.nd_root.ndm_path,
968 if ((error = nfs_mount_diskless(&nd.nd_root, "/", flags, &vp, &mp, ctx)))
970 if ((error = nfs_mount_diskless(&nd.nd_root, "/", MNT_ROOTFS, &vp, &mp, ctx)))
993 printf("root on %s\n", nd.nd_root.ndm_mntfrom);
1013 if (nd.nd_root.ndm_mntfrom)
1014 FREE_ZONE(nd.nd_root.ndm_mntfrom, MAXPATHLEN, M_NAMEI);
1015 if (nd.nd_root
[all...]

Completed in 80 milliseconds