Lines Matching refs:root_path
264 get_root_path(char * root_path) in get_root_path() argument
297 memcpy(root_path, path, len); in get_root_path()
298 root_path[len] = '\0'; in get_root_path()
320 char * root_path = NULL; in netboot_info_init() local
327 root_path = zalloc(ZV_NAMEI); in netboot_info_init()
329 if (PE_parse_boot_argn("rp0", root_path, MAXPATHLEN) == TRUE in netboot_info_init()
330 || PE_parse_boot_argn("rp", root_path, MAXPATHLEN) == TRUE in netboot_info_init()
331 || PE_parse_boot_argn("rootpath", root_path, MAXPATHLEN) == TRUE) { in netboot_info_init()
332 if (imageboot_format_is_valid(root_path)) { in netboot_info_init()
334 " ignoring\n", root_path); in netboot_info_init()
340 have_root_path = get_root_path(root_path); in netboot_info_init()
348 if (parse_image_path(root_path, &server_ip, &server_name, in netboot_info_init()
352 } else if (strncmp(root_path, kNetBootRootPathPrefixHTTP, in netboot_info_init()
356 root_path); in netboot_info_init()
364 if (PE_parse_boot_argn(IMAGEBOOT_ROOT_ARG, root_path, MAXPATHLEN) in netboot_info_init()
365 || PE_parse_boot_argn("rp1", root_path, MAXPATHLEN)) { in netboot_info_init()
368 root_path); in netboot_info_init()
375 zfree(ZV_NAMEI, root_path); in netboot_info_init()