Lines Matching refs:root_path
265 get_root_path(char * root_path) in get_root_path() argument
298 memcpy(root_path, path, len); in get_root_path()
299 root_path[len] = '\0'; in get_root_path()
321 char * root_path = NULL; in netboot_info_init() local
328 root_path = zalloc(ZV_NAMEI); in netboot_info_init()
330 if (PE_parse_boot_argn("rp0", root_path, MAXPATHLEN) == TRUE in netboot_info_init()
331 || PE_parse_boot_argn("rp", root_path, MAXPATHLEN) == TRUE in netboot_info_init()
332 || PE_parse_boot_argn("rootpath", root_path, MAXPATHLEN) == TRUE) { in netboot_info_init()
333 if (imageboot_format_is_valid(root_path)) { in netboot_info_init()
335 " ignoring\n", root_path); in netboot_info_init()
341 have_root_path = get_root_path(root_path); in netboot_info_init()
349 if (parse_image_path(root_path, &server_ip, &server_name, in netboot_info_init()
385 } else if (strncmp(root_path, kNetBootRootPathPrefixHTTP, in netboot_info_init()
389 root_path); in netboot_info_init()
397 if (PE_parse_boot_argn(IMAGEBOOT_ROOT_ARG, root_path, MAXPATHLEN) in netboot_info_init()
398 || PE_parse_boot_argn("rp1", root_path, MAXPATHLEN)) { in netboot_info_init()
401 root_path); in netboot_info_init()
408 zfree(ZV_NAMEI, root_path); in netboot_info_init()