Lines Matching refs:bootpath
78 static int load_bootpath_drivers(char *bootpath);
82 static boolean_t netboot_over_ib(char *bootpath);
582 get_bootpath_prop(char *bootpath) in get_bootpath_prop() argument
585 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1) in get_bootpath_prop()
587 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME); in get_bootpath_prop()
593 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) || in get_bootpath_prop()
594 strlen(bootpath) == 0) { in get_bootpath_prop()
596 "boot-path", bootpath) == -1) in get_bootpath_prop()
599 if (memcmp(bootpath, BP_ISCSI_DISK, in get_bootpath_prop()
602 get_iscsi_bootpath_vhci(bootpath); in get_bootpath_prop()
894 load_bootpath_drivers(char *bootpath) in load_bootpath_drivers() argument
904 if (bootpath == NULL || *bootpath == 0) in load_bootpath_drivers()
907 BMDPRINTF(("load_bootpath_drivers: %s\n", bootpath)); in load_bootpath_drivers()
934 pathcopy = i_ddi_strdup(bootpath, KM_SLEEP); in load_bootpath_drivers()
966 bootpath, leaf)); in load_bootpath_drivers()
981 bootpath); in load_bootpath_drivers()
995 if (netboot_over_ib(bootpath) && in load_bootpath_drivers()
1010 if (strstr(bootpath, "/hub@") && modloadonly("drv", "hubd") == -1) { in load_bootpath_drivers()
1162 netboot_over_ib(char *bootpath) in netboot_over_ib() argument
1167 pnode_t node = prom_finddevice(bootpath); in netboot_over_ib()
1183 if ((temp = strstr(bootpath, ":port=")) != NULL) { in netboot_over_ib()
1199 char bootpath[OBP_MAXPATHLEN]; in netboot_over_iscsi() local
1203 if (BOP_GETPROP(bootops, BP_BOOTPATH, bootpath) > 0) { in netboot_over_iscsi()
1204 if (memcmp(bootpath, BP_ISCSI_DISK, in netboot_over_iscsi()