Searched refs:rootpath (Results 1 - 9 of 9) sorted by relevance
/freebsd-10.3-release/contrib/apr/file_io/unix/ |
H A D | filepath.c | 64 APR_DECLARE(apr_status_t) apr_filepath_root(const char **rootpath, 70 *rootpath = apr_pstrdup(p, "/"); 82 const char *rootpath, 88 apr_size_t rootlen; /* is the length of the src rootpath */ 90 apr_size_t keptlen; /* is the length of the retained rootpath */ 101 /* If addpath is rooted, then rootpath is unused. 114 if (!rootpath && !(flags & APR_FILEPATH_NOTABOVEROOT)) 115 rootpath = ""; 119 * requires a relative result. If the rootpath is 121 * if rootpath wa [all...] |
/freebsd-10.3-release/sys/boot/common/ |
H A D | dev_net.c | 173 setenv("boot.nfsroot.path", rootpath, 1); 317 if (bp_getfile(sock, "root", &rootip, rootpath)) { 328 printf("net_open: server path: %s\n", rootpath); 355 * Strip the server's address off of the rootpath if present and return it in 356 * network byte order, leaving just the pathname part in the global rootpath. 364 for (i = 0; rootpath[i] != '\0' && i < FNAME_SIZE; i++) 365 if (rootpath[i] == ':') 367 if (i && i != FNAME_SIZE && rootpath[i] == ':') { 368 rootpath[i++] = '\0'; 369 addr = inet_addr(&rootpath[ [all...] |
/freebsd-10.3-release/lib/libstand/ |
H A D | globals.c | 22 char rootpath[FNAME_SIZE] = "/"; /* root mount path */ variable
|
H A D | net.h | 71 extern char rootpath[FNAME_SIZE];
|
H A D | nfs.c | 463 printf("nfs_open: %s (rootpath=%s)\n", upath, rootpath); 465 if (!rootpath[0]) { 466 printf("no rootpath, no nfs\n"); 488 if ((error = nfs_getrootfh(desc, rootpath, nfs_root_node.fh))) 502 setenv("boot.nfsroot.path", rootpath, 1); 1105 printf("nfs_open: %s (rootpath=%s)\n", upath, rootpath); 1107 if (!rootpath[0]) { 1108 printf("no rootpath, n [all...] |
H A D | bootp.c | 389 strlcpy(rootpath, val, sizeof(rootpath));
|
/freebsd-10.3-release/sys/boot/i386/libi386/ |
H A D | pxe.c | 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[ 438 pxe_setnfshandle(char *rootpath) argument 493 pxe_setnfshandle(char *rootpath) argument [all...] |
/freebsd-10.3-release/contrib/apr/include/ |
H A D | apr_file_info.h | 282 /** Cause apr_filepath_merge to fail if addpath is above rootpath 284 * if the rootpath is NULL or empty. In APR 2.0 this should be 285 * changed to imply NOTABSOLUTE if the rootpath is NULL or empty. 292 /** Cause apr_filepath_merge to fail if addpath is above rootpath, 293 * even given a rootpath /foo/bar and an addpath ../bar/bash 314 * Extract the rootpath from the given filepath 315 * @param rootpath the root file path returned with APR_SUCCESS or APR_EINCOMPLETE 325 * returns the rootpath of "/" and filepath points at "foo". This is far 336 APR_DECLARE(apr_status_t) apr_filepath_root(const char **rootpath, 342 * Merge additional file path onto the previously processed rootpath [all...] |
/freebsd-10.3-release/sys/boot/uboot/lib/ |
H A D | net.c | 111 /* Silently get out right away if we don't have rootpath. */ 112 if (ub_env_get("rootpath") == NULL) 144 * Get optional serverip before rootpath; the latter can override it. 154 * There must be a rootpath. It may be ip:/path or it may be just the 157 if ((envstr = ub_env_get("rootpath")) == NULL) 159 strncpy(rootpath, envstr, sizeof(rootpath) - 1); 164 printf("No server address for rootpath '%s'\n", envstr);
|
Completed in 178 milliseconds