Lines Matching refs:gb_root
253 if (get_zfs_root(zfh, &menu->gm_fs, &barg->gb_root) != 0 ||
254 get_one_physpath(barg->gb_root.gr_physpath, barg->gb_prtnum,
261 if (barg->gb_root.gr_fs[GRBM_ZFS_TOPFS].gfs_mountp[0] == 0) {
262 if (grub_fsd_mount_tmp(barg->gb_root.gr_fs +
269 barg->gb_root.gr_fs[GRBM_ZFS_TOPFS].gfs_mountp,
276 (void) strlcpy(barg->gb_root.gr_fstyp, MNTTYPE_ZFS,
277 sizeof (barg->gb_root.gr_fstyp));
282 grub_fsd_umount_tmp(barg->gb_root.gr_fs + GRBM_ZFS_TOPFS);
297 (void) strlcpy(barg->gb_root.gr_fs[GRBM_UFS].gfs_dev, path,
298 sizeof (barg->gb_root.gr_fs[GRBM_UFS].gfs_dev));
314 barg->gb_root.gr_physpath, DI_PRIMARY_LINK, barg, get_devlink) != 0)
319 if (grub_fsd_get_mountp(barg->gb_root.gr_fs + GRBM_UFS,
322 slice_ufs(barg->gb_root.gr_fs[GRBM_UFS].gfs_dev)) != 0 ||
323 (ret = grub_fsd_mount_tmp(barg->gb_root.gr_fs + GRBM_UFS,
329 barg->gb_root.gr_fs[GRBM_UFS].gfs_mountp, barg->gb_bootsign);
334 (void) strlcpy(barg->gb_root.gr_fstyp, MNTTYPE_UFS,
335 sizeof (barg->gb_root.gr_fstyp));
338 grub_fsd_umount_tmp(barg->gb_root.gr_fs + GRBM_UFS);
359 (void) snprintf(barg->gb_root.gr_physpath,
360 sizeof (barg->gb_root.gr_physpath), "%s:%c", path, barg->gb_slcnum);
363 prtnum = get_sol_prtnum(barg->gb_root.gr_physpath);
394 path = strrchr(barg->gb_root.gr_physpath, ':');