Lines Matching defs:root_path
273 get_root_path(char * root_path)
307 memcpy(root_path, path, len);
308 root_path[len] = '\0';
331 char * root_path = NULL;
339 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
340 if (root_path == NULL)
342 if (PE_parse_boot_argn("rp0", root_path, MAXPATHLEN) == TRUE
343 || PE_parse_boot_argn("rp", root_path, MAXPATHLEN) == TRUE
344 || PE_parse_boot_argn("rootpath", root_path, MAXPATHLEN) == TRUE) {
345 if (imageboot_format_is_valid(root_path)) {
347 " ignoring\n", root_path);
354 have_root_path = get_root_path(root_path);
362 if (parse_image_path(root_path, &server_ip, &server_name,
396 else if (strncmp(root_path, kNetBootRootPathPrefixHTTP,
400 root_path);
409 if (PE_parse_boot_argn(IMAGEBOOT_ROOT_ARG, root_path, MAXPATHLEN)
410 || PE_parse_boot_argn("rp1", root_path, MAXPATHLEN)) {
413 root_path);
420 FREE_ZONE(root_path, MAXPATHLEN, M_NAMEI);