Lines Matching defs:root_path
305 get_root_path(char * root_path)
339 memcpy(root_path, path, len);
340 root_path[len] = '\0';
353 char * root_path = NULL;
372 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
373 if (root_path == NULL)
375 if (PE_parse_boot_argn("rp", root_path, MAXPATHLEN) == TRUE
376 || PE_parse_boot_argn("rootpath", root_path, MAXPATHLEN) == TRUE
377 || get_root_path(root_path) == TRUE) {
383 if (parse_image_path(root_path, &server_ip, &server_name,
417 else if (strncmp(root_path, kNetBootRootPathPrefixHTTP,
422 info->image_path_length = strlen(root_path) + 1;
424 strlcpy(info->image_path, root_path, info->image_path_length);
430 FREE_ZONE(root_path, MAXPATHLEN, M_NAMEI);