Lines Matching refs:bootpath
80 static int load_bootpath_drivers(char *bootpath);
84 static boolean_t netboot_over_ib(char *bootpath);
522 get_bootpath_prop(char *bootpath) in get_bootpath_prop() argument
525 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1) in get_bootpath_prop()
527 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME); in get_bootpath_prop()
533 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) || in get_bootpath_prop()
534 strlen(bootpath) == 0) { in get_bootpath_prop()
536 "boot-path", bootpath) == -1) in get_bootpath_prop()
539 if (memcmp(bootpath, BP_ISCSI_DISK, in get_bootpath_prop()
542 get_iscsi_bootpath_vhci(bootpath); in get_bootpath_prop()
834 load_bootpath_drivers(char *bootpath) in load_bootpath_drivers() argument
844 if (bootpath == NULL || *bootpath == 0) in load_bootpath_drivers()
847 BMDPRINTF(("load_bootpath_drivers: %s\n", bootpath)); in load_bootpath_drivers()
874 pathcopy = i_ddi_strdup(bootpath, KM_SLEEP); in load_bootpath_drivers()
906 bootpath, leaf)); in load_bootpath_drivers()
921 bootpath); in load_bootpath_drivers()
935 if (netboot_over_ib(bootpath) && in load_bootpath_drivers()
950 if (strstr(bootpath, "/hub@") && modloadonly("drv", "hubd") == -1) { in load_bootpath_drivers()
1102 netboot_over_ib(char *bootpath) in netboot_over_ib() argument
1107 pnode_t node = prom_finddevice(bootpath); in netboot_over_ib()
1123 if ((temp = strstr(bootpath, ":port=")) != NULL) { in netboot_over_ib()
1139 char bootpath[OBP_MAXPATHLEN]; in netboot_over_iscsi() local
1143 if (BOP_GETPROP(bootops, BP_BOOTPATH, bootpath) > 0) { in netboot_over_iscsi()
1144 if (memcmp(bootpath, BP_ISCSI_DISK, in netboot_over_iscsi()