Home
last modified time | relevance | path

Searched refs:bpath (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dboot_plat.c394 mangle_os_bootpath(char *bpath) in mangle_os_bootpath() argument
399 node = prom_finddevice(bpath); in mangle_os_bootpath()
415 prom_strip_options(bpath, stripped_pathname); in mangle_os_bootpath()
425 redirect_boot_path(char *bpath, char *redirect) in redirect_boot_path() argument
428 char *p = bpath + strlen(bpath); in redirect_boot_path()
451 v2path = bpath; in redirect_boot_path()
587 (void) strncpy(bpath, prom_bootpath(), sizeof (bpath) - 1); in main()
588 bpath[sizeof (bpath) - 1] = '\0'; in main()
591 dprintf("bootpath: 0x%p %s\n", (void *)bpath, bpath); in main()
600 v2path = bpath; in main()
[all …]
H A Dinetboot.c177 bootprog(char *bpath, char *bargs, boolean_t user_specified_filename) in bootprog() argument
179 systype = set_fstype(v2path, bpath); in bootprog()
182 printf("device path '%s'\n", bpath); in bootprog()
183 if (strcmp(bpath, v2path) != 0) in bootprog()
187 if (mountroot(bpath) != SUCCESS) in bootprog()
H A Dnfsconf.c53 set_fstype(char *v2path, char *bpath) in set_fstype() argument
/illumos-gate/usr/src/cmd/cxgbetool/
H A Dcxgbetool.c705 char *bpath; in cxgbetool_parse_path() local
738 bpath = di_devfs_minor_path(minor); in cxgbetool_parse_path()
739 if (bpath == NULL) { in cxgbetool_parse_path()
745 "/devices%s", bpath) >= sizeof (cxgbetool_nexus)) { in cxgbetool_parse_path()
748 "overflowed", bpath); in cxgbetool_parse_path()
750 di_devfs_path_free(bpath); in cxgbetool_parse_path()
/illumos-gate/usr/src/stand/sys/
H A Dbootvfs.h107 extern char *set_fstype(char *v2path, char *bpath);
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c735 char bpath[OBP_MAXPATHLEN]; in opromioctl_cb() local
736 if (get_bootpath_prop(bpath) != 0) { in opromioctl_cb()
740 valsize = strlen(bpath) + 1; in opromioctl_cb()
745 (void) strcpy(opp->oprom_array, bpath); in opromioctl_cb()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c1504 zfs_parse_bootfs(char *bpath, char *outpath) in zfs_parse_bootfs() argument
1510 if (*bpath == 0 || *bpath == '/') in zfs_parse_bootfs()
1513 (void) strcpy(outpath, bpath); in zfs_parse_bootfs()
1515 slashp = strchr(bpath, '/'); in zfs_parse_bootfs()
1528 error = dsl_dsobj_to_dsname(bpath, objnum, outpath); in zfs_parse_bootfs()