Lines Matching defs:rootpath
80 static void pxe_setnfshandle(char *rootpath);
286 * which brought us to life and a default rootpath.
291 if (!rootpath[0])
292 strcpy(rootpath, PXENFSROOTPATH);
294 for (i = 0; rootpath[i] != '\0' && i < FNAME_SIZE; i++)
295 if (rootpath[i] == ':')
297 if (i && i != FNAME_SIZE && rootpath[i] == ':') {
298 rootpath[i++] = '\0';
299 if (inet_addr(&rootpath[0]) != INADDR_NONE)
300 rootip.s_addr = inet_addr(&rootpath[0]);
301 bcopy(&rootpath[i], &temp[0], strlen(&rootpath[i])+1);
302 bcopy(&temp[0], &rootpath[0], strlen(&rootpath[i])+1);
305 printf("pxe_open: server path: %s\n", rootpath);
316 setenv("boot.nfsroot.path", rootpath, 1);
346 pxe_setnfshandle(rootpath);
368 printf(" pxe0: %s:%s\n", inet_ntoa(rootip), rootpath);
432 if ((error = nfs_getrootfh(d, rootpath, nfs_root_node.fh)) != 0)
438 pxe_setnfshandle(char *rootpath)
484 if ((error = nfs_getrootfh(d, rootpath, &nfs_root_node.fhsize,
493 pxe_setnfshandle(char *rootpath)