Searched defs:bootpath (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_boot.c66 static char bootpath[OBP_MAXPATHLEN]; local
69 static char *name = "bootpath";
71 if (bootpath[0] != (char)0)
72 return (bootpath);
82 (void) prom_bounded_getprop(node, name, bootpath, length);
83 return (bootpath);
/illumos-gate/usr/src/boot/sys/boot/ofw/common/
H A Dmain.c95 char bootpath[64]; local
135 OF_getprop(chosen, "bootpath", bootpath, 64);
136 ch = strchr(bootpath, ':');
138 printf("Booted from: %s\n", bootpath);
153 env_setenv("currdev", EV_VOLATILE, bootpath,
155 env_setenv("loaddev", EV_VOLATILE, bootpath, env_noset,
/illumos-gate/usr/src/uts/common/os/
H A Discsiboot_prop.c291 * Generate the 'ssd' bootpath of an iSCSI boot device
295 get_iscsi_bootpath_vhci(char *bootpath) argument
304 (void) snprintf(bootpath, BO_MAXOBJNAME, "/iscsi/ssd@%s%s%04X,%d:%s",
311 * Generate the 'disk' bootpath of an iSCSI boot device
315 get_iscsi_bootpath_phy(char *bootpath) argument
329 (void) snprintf(bootpath, BO_MAXOBJNAME, "/iscsi/disk@%s%s%04X,%d:%s",
H A Dswapgeneric.c79 static int load_bootpath_drivers(char *bootpath);
83 static boolean_t netboot_over_ib(char *bootpath);
583 get_bootpath_prop(char *bootpath) argument
586 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1)
588 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME);
591 * Look for the 1275 compliant name 'bootpath' first,
594 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) ||
595 strlen(bootpath) == 0) {
597 "boot-path", bootpath)
895 load_bootpath_drivers(char *bootpath) argument
1163 netboot_over_ib(char *bootpath) argument
1200 char bootpath[OBP_MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c55 #define BPROP_BOOTPATH "bootpath"
230 * Add bootpath property to str if
233 * 2. bootpath property is not set
236 update_bootpath(char *str, size_t strsz, const char *bootpath) argument
242 /* zfs-bootfs is not specified, or bootpath is allready set */
252 bootpath, bfs) >= strsz - n)
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c323 get_bootpath_prop(char *bootpath) argument
326 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1)
328 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME);
330 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) ||
331 strlen(bootpath) == 0) {
333 "boot-path", bootpath) == -1)
336 if (memcmp(bootpath, BP_ISCSI_DISK,
338 get_iscsi_bootpath_vhci(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);
207 if (fflag && (strcmp(slotname, bootpath) == 0)) {
209 MSGSTR(4504, " Ignoring %s (bootpath)\n"), slotname);
623 (void) memset((char *)&bootpath[0], 0, PATH_MAX);
662 (void) memset((char *)&bootpath[0], 0, PATH_MAX);
663 (void) strcat(bootpath, bootdev);
664 (void) strcat(bootpath, sbusmem);
666 (void) strncat(bootpath, p2, 1);
667 (void) strcat(bootpath, slo
[all...]
H A Dqlgcupdate.c148 static uchar_t bootpath[PATH_MAX]; local
242 /* get bootpath */
243 if (!q_getbootdev((uchar_t *)&bootpath[0]) &&
245 (void) fprintf(stdout, " Bootpath: %s\n", bootpath);
268 if (fflag && (strstr((char *)bootpath,
271 MSGSTR(21005, "Ignoring %s (bootpath)\n"),
701 q_getbootdev(uchar_t *bootpath) argument
746 * Copy boot device path to bootpath. First remove leading
756 (void) strcpy((char *)bootpath, (char *)p);
758 (void) strcat((char *)bootpath, slo
1051 static uchar_t bootpath[PATH_MAX]; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/
H A Dboot1.c42 static char bootpath[128]; variable
116 ofw_getprop(chosenh, "bootpath", bootpath, sizeof(bootpath));
119 bootpath[sizeof(bootpath) - 1] = '\0';
344 bootpath);
347 " Boot loader: %s\n", bootpath, path);
350 if (domount(bootpath) == -1)
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A Dmain.c142 static char bootpath[64]; variable
751 zfs_probe_dev(bootpath, &guid);
775 * Don't probe the boot disk twice. Note that bootpath
778 if (strncmp(alias, bootpath, strlen(alias)) == 0)
857 OF_getprop(chosen, "bootpath", bootpath, sizeof(bootpath));
868 (void)strncpy(bootpath, zfs_fmtdev(&zfs_currdev),
869 sizeof(bootpath) - 1);
870 bootpath[sizeo
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c1694 char *bootpath = NULL; local
1788 if (!bootfile_payload(docroot, &bootpath)) {
1791 payload = bootpath;
1893 free_path(&bootpath);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1449 * The caller should already allocate MAXPATHLEN memory for bootpath and devid.
1452 vdev_get_bootpath(char *nv, uint64_t inguid, char *devid, char *bootpath, argument
1484 bootpath, DATA_TYPE_STRING, NULL) != 0)
1485 bootpath[0] = '\0';
1491 if (grub_strlen(bootpath) >= MAXPATHLEN ||
1512 bootpath, is_spare) == 0)

Completed in 83 milliseconds