/netbsd-src/sys/arch/ia64/stand/common/ |
H A D | dev_net.c | 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() [all …]
|
/netbsd-src/sys/arch/hp300/stand/common/ |
H A D | netio.c | 206 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/stand/efiboot/ |
H A D | dev_net.c | 72 if (rootpath[0] != '\0') in net_open() 73 printf("boot: server path: %s\n", rootpath); in net_open() 78 if (rootpath[0] != '\0') { in net_open() 79 error = nfs_mount(net_socket, rootip, rootpath); in net_open()
|
H A D | devopen.c | 41 else if (rootpath[0] != '\0') in devopen()
|
/netbsd-src/sys/arch/sparc/stand/ofwboot/ |
H A D | net.c | 131 *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/ |
H A D | dev_net.c | 99 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/ |
H A D | fs.c | 93 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/ |
H A D | net.c | 135 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/ |
H A D | net.c | 124 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/ |
H A D | netio.c | 156 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/ |
H A D | bootp.c | 269 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()
|
H A D | dev_net.c | 118 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()
|
H A D | globals.c | 20 char rootpath[FNAME_SIZE]; /* root mount path */ variable
|
H A D | net.h | 94 extern char rootpath[FNAME_SIZE];
|
H A D | nfs.c | 609 if (nfs_mount(*((int *)(f->f_devdata)), rootip, rootpath)) in nfs_open()
|
/netbsd-src/sys/arch/alpha/stand/netboot/ |
H A D | dev_net.c | 118 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/evbmips/stand/sbmips/netboot/ |
H A D | dev_net.c | 118 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/ |
H A D | net.c | 148 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/macppc/stand/ofwboot/ |
H A D | net.c | 151 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/arch/ofppc/stand/ofwboot/ |
H A D | net.c | 152 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/i386/stand/efiboot/ |
H A D | dev_net.c | 243 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams() 251 printf("server path: %s\n", rootpath); in net_getparams()
|
/netbsd-src/sys/nfs/ |
H A D | nfs_bootdhcp.c | 703 char *rootpath; in bootp_extract() 715 mydomain = myname = rootpath = NULL; in bootp_extract() 777 printf("nfs_boot: rootpath >= %d bytes\n", in bootp_extract() 781 rootpath = p; in bootp_extract() 891 if (rootpath && in bootp_extract() 896 rootpath, rootpathlen); in bootp_extract() 702 char *rootpath; bootp_extract() local
|
/netbsd-src/sys/arch/next68k/stand/boot/ |
H A D | en.c | 485 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/ |
H A D | dev_net.c | 83 && (error = nfs_mount(netdev_sock, rootip, rootpath)) != 0) in net_open()
|
/netbsd-src/lib/librumphijack/ |
H A D | hijack.c | 1114 static const char *rootpath = "/"; 1123 rv = rootpath; in path_host2rump() 1113 static const char *rootpath = "/"; global() variable
|