Home
last modified time | relevance | path

Searched refs:rootpath (Results 1 – 21 of 21) sorted by relevance

/netbsd/src/sys/arch/ia64/stand/common/
Ddev_net.c120 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()
[all …]
/netbsd/src/sys/arch/hp300/stand/common/
Dnetio.c206 memset(rootpath, 0, sizeof(rootpath)); in netmountroot()
207 kgets(rootpath, sizeof(rootpath)); in netmountroot()
208 if (rootpath[0] == '\0' || rootpath[0] == '\n') in netmountroot()
242 if (bp_getfile(netdev_sock, "root", &rootip, rootpath)) in netmountroot()
254 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in netmountroot()
258 if (nfs_mount(netdev_sock, rootip, rootpath)) in netmountroot()
/netbsd/src/sys/arch/sparc/stand/ofwboot/
Dnet.c131 *rootpath = '\0'; in net_clear_params()
147 if (bp_getfile(netdev_sock, "root", &rootip, rootpath)) in net_mountroot_bootparams()
230 printf(" root addr=%s\n path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
233 if (nfs_mount(netdev_sock, rootip, rootpath) != 0) in net_mountroot()
/netbsd/src/sys/arch/evbarm/stand/boot2440/
Ddev_net.c99 strncpy(rootpath, c, (filename-c)); in net_open()
100 rootpath[(filename-c)] = '\0'; in net_open()
101 printf("Root path: %s\n", rootpath); in net_open()
115 && (nfs_mount(netdev_sock, rootip, rootpath) != 0)) { in net_open()
/netbsd/src/usr.sbin/puffs/mount_psshfs/
Dfs.c93 char *rootpath; in psshfs_handshake() local
140 if (psbuf_get_str(pb, &rootpath, NULL) == -1) in psshfs_handshake()
145 psbuf_req_str(pb, SSH_FXP_LSTAT, NEXTREQ(pctx), rootpath); in psshfs_handshake()
157 reterr((stderr, "remote path (%s) not a directory", rootpath), in psshfs_handshake()
167 po_root->po_path = rootpath; in psshfs_handshake()
168 po_root->po_len = strlen(rootpath); in psshfs_handshake()
/netbsd/src/sys/arch/newsmips/stand/boot/
Dnet.c135 if (bp_getfile(netdev_sock, "root", &rootip, rootpath)) in net_mountroot()
154 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
157 if (nfs_mount(netdev_sock, rootip, rootpath) != 0) in net_mountroot()
/netbsd/src/sys/arch/sparc/stand/common/
Dnet.c124 if (bp_getfile(netdev_sock, "root", &rootip, rootpath)) in net_mountroot_bootparams()
177 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
180 if (nfs_mount(netdev_sock, rootip, rootpath) != 0) in net_mountroot()
/netbsd/src/sys/arch/vax/boot/boot/
Dnetio.c156 if (bp_getfile(0, "root", &rootip, rootpath)) in net_devinit()
160 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_devinit()
164 r = nfs_mount(0, rootip, rootpath); in net_devinit()
/netbsd/src/sys/lib/libsa/
Dbootp.c269 if (rootpath[0] != '\0') in bootp()
270 printf("server path: %s\n", rootpath); in bootp()
393 if (tag == TAG_ROOTPATH && size < sizeof(rootpath)) { in vend_rfc1048()
394 strncpy(rootpath, (char *)cp, sizeof(rootpath)); in vend_rfc1048()
395 rootpath[size] = '\0'; in vend_rfc1048()
Ddev_net.c118 error = nfs_mount(netdev_sock, rootip, rootpath); in net_open()
271 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams()
279 printf("server path: %s\n", rootpath); in net_getparams()
Dglobals.c20 char rootpath[FNAME_SIZE]; /* root mount path */ variable
Dnet.h94 extern char rootpath[FNAME_SIZE];
Dnfs.c609 if (nfs_mount(*((int *)(f->f_devdata)), rootip, rootpath)) in nfs_open()
/netbsd/src/sys/arch/alpha/stand/netboot/
Ddev_net.c118 error = nfs_mount(netdev_sock, rootip, rootpath); in net_open()
224 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams()
231 printf("boot: server path: %s\n", rootpath); in net_getparams()
/netbsd/src/sys/arch/shark/stand/ofwboot/
Dnet.c148 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
153 if (nfs_mount(netdev_sock, rootip, rootpath) < 0) in net_mountroot()
/netbsd/src/sys/arch/ofppc/stand/ofwboot/
Dnet.c152 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
157 if (nfs_mount(netdev_sock, rootip, rootpath) < 0) in net_mountroot()
/netbsd/src/sys/arch/macppc/stand/ofwboot/
Dnet.c151 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath); in net_mountroot()
156 if (nfs_mount(netdev_sock, rootip, rootpath) < 0) in net_mountroot()
/netbsd/src/sys/nfs/
Dnfs_bootdhcp.c703 char *rootpath; in bootp_extract() local
715 mydomain = myname = rootpath = NULL; in bootp_extract()
781 rootpath = p; in bootp_extract()
891 if (rootpath && in bootp_extract()
896 rootpath, rootpathlen); in bootp_extract()
/netbsd/src/sys/arch/next68k/stand/boot/
Den.c485 if (myip.s_addr == 0 || rootip.s_addr == 0 || rootpath[0] == '\0')
489 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath);
492 if (nfs_mount(sock, rootip, rootpath) < 0)
/netbsd/src/sys/arch/sandpoint/stand/altboot/
Ddev_net.c83 && (error = nfs_mount(netdev_sock, rootip, rootpath)) != 0) in net_open()
/netbsd/src/lib/librumphijack/
Dhijack.c1114 static const char *rootpath = "/"; variable
1123 rv = rootpath; in path_host2rump()