Home
last modified time | relevance | path

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

/titanic_54/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()
/titanic_54/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()
/titanic_54/usr/src/boot/sys/boot/ofw/common/
H A Dmain.c91 char bootpath[64]; in main() local
129 OF_getprop(chosen, "bootpath", bootpath, 64); in main()
130 ch = strchr(bootpath, ':'); in main()
132 printf("Booted from: %s\n", bootpath); in main()
147 env_setenv("currdev", EV_VOLATILE, bootpath, in main()
149 env_setenv("loaddev", EV_VOLATILE, bootpath, env_noset, in main()
/titanic_54/usr/src/boot/sys/boot/sparc64/loader/
H A Dmain.c141 static char bootpath[64]; variable
750 zfs_probe_dev(bootpath, &guid); in sparc64_zfs_probe()
777 if (strncmp(alias, bootpath, strlen(alias)) == 0) in sparc64_zfs_probe()
856 OF_getprop(chosen, "bootpath", bootpath, sizeof(bootpath)); in main()
867 (void)strncpy(bootpath, zfs_fmtdev(&zfs_currdev), in main()
868 sizeof(bootpath) - 1); in main()
869 bootpath[sizeof(bootpath) - 1] = '\0'; in main()
884 if (bootpath[strlen(bootpath) - 2] == ':' && in main()
885 bootpath[strlen(bootpath) - 1] == 'f') in main()
886 bootpath[strlen(bootpath) - 1] = 'a'; in main()
[all …]
/titanic_54/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 …]
/titanic_54/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c42 static char bootpath[128]; variable
116 ofw_getprop(chosenh, "bootpath", bootpath, sizeof(bootpath)); in ofw_init()
119 bootpath[sizeof(bootpath) - 1] = '\0'; in ofw_init()
344 bootpath); in main()
347 " Boot loader: %s\n", bootpath, path); in main()
350 if (domount(bootpath) == -1) in main()
/titanic_54/usr/src/uts/common/sys/
H A Dbootprops.h159 get_iscsi_bootpath_vhci(char *bootpath);
162 get_iscsi_bootpath_phy(char *bootpath);
/titanic_54/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()
/titanic_54/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()
/titanic_54/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1452 vdev_get_bootpath(char *nv, uint64_t inguid, char *devid, char *bootpath, in vdev_get_bootpath() argument
1484 bootpath, DATA_TYPE_STRING, NULL) != 0) in vdev_get_bootpath()
1485 bootpath[0] = '\0'; in vdev_get_bootpath()
1491 if (grub_strlen(bootpath) >= MAXPATHLEN || in vdev_get_bootpath()
1512 bootpath, is_spare) == 0) in vdev_get_bootpath()
/titanic_54/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade285 $EEPROM bootpath="$new_bootpath"
H A Dstmsboot.sh262 $EEPROM bootpath="$new_bootpath"
/titanic_54/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c1694 char *bootpath = NULL; in main() local
1788 if (!bootfile_payload(docroot, &bootpath)) { in main()
1791 payload = bootpath; in main()
1893 free_path(&bootpath); in main()
/titanic_54/usr/src/psm/stand/bootblks/common/
H A Dboot.fth126 " bootpath" chosen-ph get-string-prop ( bootpath$ )
130 then ( bootpath$ )
/titanic_54/usr/src/boot/sys/boot/forth/
H A Dsupport.4th1521 : bootpath s" /platform/" ; word
1681 bootpath nip path nip + \ total length
1690 bootpath strcat