Searched refs:rootpath (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/contrib/apr/file_io/unix/ |
| H A D | filepath.c | 70 *rootpath = apr_pstrdup(p, "/"); in apr_filepath_root() 115 rootpath = ""; in apr_filepath_merge() 124 if (!rootpath) in apr_filepath_merge() 125 rootpath = ""; in apr_filepath_merge() 126 else if (rootpath[0] == '/') in apr_filepath_merge() 131 if (!rootpath) { in apr_filepath_merge() 138 rootpath = getpath; in apr_filepath_merge() 149 rootlen = strlen(rootpath); in apr_filepath_merge() 178 memcpy(path, rootpath, rootlen); in apr_filepath_merge() 279 if (strncmp(rootpath, path, rootlen)) { in apr_filepath_merge() [all …]
|
| /freebsd-12.1/stand/common/ |
| H A D | dev_net.c | 182 setenv("boot.tftproot.path", rootpath, 1); in net_open() 185 setenv("boot.nfsroot.path", rootpath, 1); in net_open() 322 if (bp_getfile(sock, "root", &rootip, rootpath)) { in net_getparams() 333 printf("net_open: server path: %s\n", rootpath); in net_getparams() 397 if (strncmp(rootpath, uri_schemes[i].scheme, in net_parse_rootpath() 404 ptr = rootpath; in net_parse_rootpath() 410 addr = inet_addr(rootpath); in net_parse_rootpath() 411 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath() 428 bcopy(val, rootpath, strlen(val) + 1); in net_parse_rootpath() 432 bcopy(ptr, rootpath, strlen(ptr) + 1); in net_parse_rootpath()
|
| /freebsd-12.1/stand/uboot/lib/ |
| H A D | net.c | 122 strlcpy(rootpath, envstr, sizeof(rootpath)); in get_env_net_params() 123 setenv("dhcp.root-path", rootpath, 0); in get_env_net_params()
|
| /freebsd-12.1/contrib/apr/include/ |
| H A D | apr_file_info.h | 336 APR_DECLARE(apr_status_t) apr_filepath_root(const char **rootpath, 355 const char *rootpath,
|
| /freebsd-12.1/stand/libsa/ |
| H A D | globals.c | 22 char rootpath[FNAME_SIZE] = "/"; /* root mount path */ variable
|
| H A D | tftp.c | 463 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char); in tftp_open() 469 if (rootpath[strlen(rootpath) - 1] == '/' || path[0] == '/') in tftp_open() 474 rootpath, extraslash, path); in tftp_open()
|
| H A D | nfs.c | 489 printf("nfs_open: %s (rootpath=%s)\n", upath, rootpath); in nfs_open() 491 if (!rootpath[0]) { in nfs_open() 505 if ((error = nfs_getrootfh(desc, rootpath, &nfs_root_node.fhsize, in nfs_open() 520 setenv("boot.nfsroot.path", rootpath, 1); in nfs_open()
|
| H A D | net.h | 79 extern char rootpath[FNAME_SIZE];
|
| H A D | bootp.c | 397 strlcpy(rootpath, val, sizeof(rootpath)); in vend_rfc1048()
|
| /freebsd-12.1/stand/i386/libi386/ |
| H A D | pxe.c | 255 printf(" %s:%s", inet_ntoa(rootip), rootpath); in pxe_print()
|