Lines Matching refs:rootpath
120 error = nfs_mount(netdev_sock, rootip, rootpath); in net_open()
129 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_open()
258 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams()
268 for (i = 0; i < FNAME_SIZE && rootpath[i] != '\0'; i++) in net_getparams()
269 if (rootpath[i] == ':') in net_getparams()
271 if (i && i != FNAME_SIZE && rootpath[i] == ':') { in net_getparams()
272 rootpath[i++] = '\0'; in net_getparams()
273 if (inet_addr(&rootpath[0]) != INADDR_NONE) in net_getparams()
274 rootip.s_addr = inet_addr(&rootpath[0]); in net_getparams()
275 memcpy(&temp[0], &rootpath[i], strlen(&rootpath[i])+1); in net_getparams()
276 memcpy(&rootpath[0], &temp[0], strlen(&rootpath[i])+1); in net_getparams()
281 printf("net_open: server path: %s\n", rootpath); in net_getparams()
307 setenv("boot.nfsroot.path", rootpath, 1); in net_getparams()