Searched refs:gb_root (Results 1 - 5 of 5) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c193 if (get_zfs_root(zfh, &menu->gm_fs, &barg->gb_root) != 0 ||
194 get_one_physpath(barg->gb_root.gr_physpath, barg->gb_prtnum,
201 if (barg->gb_root.gr_fs[GRBM_ZFS_TOPFS].gfs_mountp[0] == 0) {
202 if (grub_fsd_mount_tmp(barg->gb_root.gr_fs +
209 barg->gb_root.gr_fs[GRBM_ZFS_TOPFS].gfs_mountp,
216 (void) strlcpy(barg->gb_root.gr_fstyp, MNTTYPE_ZFS,
217 sizeof (barg->gb_root.gr_fstyp));
222 grub_fsd_umount_tmp(barg->gb_root.gr_fs + GRBM_ZFS_TOPFS);
237 (void) strlcpy(barg->gb_root.gr_fs[GRBM_UFS].gfs_dev, path,
238 sizeof (barg->gb_root
[all...]
H A Dlibgrub_entry.c80 (fsd = grub_get_rootfsd(&barg->gb_root)) == NULL)
117 (void) bcopy(&mp->gm_root, &barg->gb_root, sizeof (barg->gb_root));
144 return (ent->ge_barg.gb_root.gr_fstyp);
178 return (grub_get_rootfsd(&ent->ge_barg.gb_root));
H A Dlibgrub_cmd.c109 if (strcmp(barg->gb_root.gr_fstyp, MNTTYPE_ZFS) == 0) {
112 barg->gb_root.gr_fs[GRBM_ZFS_BOOTFS].gfs_dev,
113 barg->gb_root.gr_physpath);
265 strcmp(barg->gb_root.gr_fs[GRBM_ZFS_BOOTFS].gfs_dev, zfn) == 0);
279 (void) memset(&barg->gb_root, 0, sizeof (barg->gb_root));
349 if (strcmp(barg->gb_root.gr_fstyp, MNTTYPE_ZFS) == 0)
351 barg->gb_root.gr_physpath);
430 if (strcmp(barg->gb_root.gr_fstyp, MNTTYPE_ZFS) != 0)
433 gfs_devp = barg->gb_root
[all...]
H A Dlibgrub_bargs.c110 if ((fsd = grub_get_rootfsd(&barg->gb_root)) == NULL)
119 barg->gb_root.gr_fstyp)) != 0)
H A Dlibgrub_impl.h116 grub_root_t gb_root; member in struct:_grub_barg

Completed in 98 milliseconds