Lines Matching defs:bootpath
80 static int load_bootpath_drivers(char *bootpath);
84 static boolean_t netboot_over_ib(char *bootpath);
522 get_bootpath_prop(char *bootpath)
525 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1)
527 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME);
530 * Look for the 1275 compliant name 'bootpath' first,
533 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) ||
534 strlen(bootpath) == 0) {
536 "boot-path", bootpath) == -1)
539 if (memcmp(bootpath, BP_ISCSI_DISK,
542 get_iscsi_bootpath_vhci(bootpath);
834 load_bootpath_drivers(char *bootpath)
844 if (bootpath == NULL || *bootpath == 0)
847 BMDPRINTF(("load_bootpath_drivers: %s\n", bootpath));
874 pathcopy = i_ddi_strdup(bootpath, KM_SLEEP);
906 bootpath, leaf));
921 bootpath);
931 * IP over IB driver based on the bootpath. The following
935 if (netboot_over_ib(bootpath) &&
950 if (strstr(bootpath, "/hub@") && modloadonly("drv", "hubd") == -1) {
951 cmn_err(CE_WARN, "bootpath contains a USB hub, "
1092 * This routine returns B_TRUE if the bootpath corresponds to
1095 * The format of the bootpath for the IP over IB looks like
1102 netboot_over_ib(char *bootpath)
1107 pnode_t node = prom_finddevice(bootpath);
1123 if ((temp = strstr(bootpath, ":port=")) != NULL) {
1139 char bootpath[OBP_MAXPATHLEN];
1143 if (BOP_GETPROP(bootops, BP_BOOTPATH, bootpath) > 0) {
1144 if (memcmp(bootpath, BP_ISCSI_DISK,