Lines Matching defs:bpath
393 mangle_os_bootpath(char *bpath)
398 node = prom_finddevice(bpath);
408 * Internally, within boot, bpath is used to access
414 prom_strip_options(bpath, stripped_pathname);
424 redirect_boot_path(char *bpath, char *redirect)
427 char *p = bpath + strlen(bpath);
441 while (--p >= bpath && *p != '@' && *p != '/')
450 v2path = bpath;
533 * bpath is the boot device path buffer.
536 static char bpath[OBP_MAXPATHLEN], bargs[OBP_MAXPATHLEN];
602 (void) strncpy(bpath, prom_bootpath(), sizeof (bpath) - 1);
603 bpath[sizeof (bpath) - 1] = '\0';
606 dprintf("bootpath: 0x%p %s\n", (void *)bpath, bpath);
615 v2path = bpath;
624 * If bpath is a network card, set v2path to a copy of bpath with the
627 mangle_os_bootpath(bpath);
637 if (bootprog(bpath, bargs, user_specified_filename) == 0) {