Lines Matching refs:S_netboot_info_p
68 static struct netboot_info * S_netboot_info_p; variable
398 if (S_netboot_info_p == NULL) { in netboot_iaddr()
402 *iaddr_p = S_netboot_info_p->client_ip; in netboot_iaddr()
411 if (S_netboot_info_p == NULL) { in netboot_rootpath()
418 if (S_netboot_info_p->mount_point_length == 0) { in netboot_rootpath()
421 if (path_len < S_netboot_info_p->mount_point_length) { in netboot_rootpath()
423 path_len, S_netboot_info_p->mount_point_length); in netboot_rootpath()
426 strlcpy(path, S_netboot_info_p->mount_point, path_len); in netboot_rootpath()
427 strlcpy(name, S_netboot_info_p->server_name, name_len); in netboot_rootpath()
428 *server_ip = S_netboot_info_p->server_ip; in netboot_rootpath()
650 S_netboot_info_p = netboot_info_init(iaddr); in netboot_mountroot()
651 switch (S_netboot_info_p->image_type) { in netboot_mountroot()
679 if (S_netboot_info_p == NULL in netboot_setup()
680 || S_netboot_info_p->image_path == NULL) { in netboot_setup()
684 error = imageboot_mount_image(S_netboot_info_p->image_path, -1, IMAGEBOOT_DMG); in netboot_setup()
687 } else if (S_netboot_info_p->second_image_path != NULL) { in netboot_setup()
688 error = imageboot_mount_image(S_netboot_info_p->second_image_path, 0, IMAGEBOOT_DMG); in netboot_setup()
695 netboot_info_free(&S_netboot_info_p); in netboot_setup()