Home
last modified time | relevance | path

Searched refs:bootpath (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dswapgeneric.c80 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()
[all …]
H A Discsiboot_prop.c295 get_iscsi_bootpath_vhci(char *bootpath) in get_iscsi_bootpath_vhci() argument
304 (void) snprintf(bootpath, BO_MAXOBJNAME, "/iscsi/ssd@%s%s%04X,%d:%s", in get_iscsi_bootpath_vhci()
315 get_iscsi_bootpath_phy(char *bootpath) in get_iscsi_bootpath_phy() argument
329 (void) snprintf(bootpath, BO_MAXOBJNAME, "/iscsi/disk@%s%s%04X,%d:%s", in get_iscsi_bootpath_phy()
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_boot.c66 static char bootpath[OBP_MAXPATHLEN]; in prom_bootpath() local
71 if (bootpath[0] != (char)0) in prom_bootpath()
72 return (bootpath); in prom_bootpath()
82 (void) prom_bounded_getprop(node, name, bootpath, length); in prom_bootpath()
83 return (bootpath); in prom_bootpath()
/illumos-gate/usr/src/cmd/luxadm/
H A Dfcalupdate.c116 static char bootpath[PATH_MAX]; variable
194 (void) fprintf(stdout, " Bootpath: %s\n", bootpath); in fcal_update()
207 if (fflag && (strcmp(slotname, bootpath) == 0)) { in fcal_update()
623 (void) memset((char *)&bootpath[0], 0, PATH_MAX); in getbootdev()
662 (void) memset((char *)&bootpath[0], 0, PATH_MAX); in getbootdev()
663 (void) strcat(bootpath, bootdev); in getbootdev()
664 (void) strcat(bootpath, sbusmem); in getbootdev()
666 (void) strncat(bootpath, p2, 1); in getbootdev()
667 (void) strcat(bootpath, slot); in getbootdev()
668 (void) strncat(bootpath, p2, 1); in getbootdev()
H A Dqlgcupdate.c148 static uchar_t bootpath[PATH_MAX]; in q_qlgc_update() local
243 if (!q_getbootdev((uchar_t *)&bootpath[0]) && in q_qlgc_update()
245 (void) fprintf(stdout, " Bootpath: %s\n", bootpath); in q_qlgc_update()
268 if (fflag && (strstr((char *)bootpath, in q_qlgc_update()
701 q_getbootdev(uchar_t *bootpath) in q_getbootdev() argument
756 (void) strcpy((char *)bootpath, (char *)p); in q_getbootdev()
758 (void) strcat((char *)bootpath, slot); in q_getbootdev()
1051 static uchar_t bootpath[PATH_MAX]; in emulex_update() local
1093 if (!q_getbootdev((uchar_t *)&bootpath[0]) && in emulex_update()
1095 (void) fprintf(stdout, " Bootpath: %s\n", bootpath); in emulex_update()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dbootprops.h159 get_iscsi_bootpath_vhci(char *bootpath);
162 get_iscsi_bootpath_phy(char *bootpath);
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c323 get_bootpath_prop(char *bootpath) in get_bootpath_prop() argument
326 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1) in get_bootpath_prop()
328 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME); in get_bootpath_prop()
330 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) || in get_bootpath_prop()
331 strlen(bootpath) == 0) { in get_bootpath_prop()
333 "boot-path", bootpath) == -1) in get_bootpath_prop()
336 if (memcmp(bootpath, BP_ISCSI_DISK, in get_bootpath_prop()
338 get_iscsi_bootpath_vhci(bootpath); in get_bootpath_prop()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c236 update_bootpath(char *str, size_t strsz, const char *bootpath) in update_bootpath() argument
252 bootpath, bfs) >= strsz - n) in update_bootpath()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1453 vdev_get_bootpath(char *nv, uint64_t inguid, char *devid, char *bootpath, in vdev_get_bootpath() argument
1485 bootpath, DATA_TYPE_STRING, NULL) != 0) in vdev_get_bootpath()
1486 bootpath[0] = '\0'; in vdev_get_bootpath()
1492 if (grub_strlen(bootpath) >= MAXPATHLEN || in vdev_get_bootpath()
1513 bootpath, is_spare) == 0) in vdev_get_bootpath()
/illumos-gate/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade285 $EEPROM bootpath="$new_bootpath"
H A Dstmsboot.sh262 $EEPROM bootpath="$new_bootpath"
/illumos-gate/usr/src/boot/forth/
H A Dsupport.4th1628 : bootpath s" /platform/" ;
1785 bootpath nip path nip + \ total length
1794 bootpath strcat