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

/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c253 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
[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.c112 if (strcmp(barg->gb_root.gr_fstyp, MNTTYPE_ZFS) == 0) {
115 barg->gb_root.gr_fs[GRBM_ZFS_BOOTFS].gfs_dev,
116 barg->gb_root.gr_physpath);
268 strcmp(barg->gb_root.gr_fs[GRBM_ZFS_BOOTFS].gfs_dev, zfn) == 0);
282 (void) memset(&barg->gb_root, 0, sizeof (barg->gb_root));
352 if (strcmp(barg->gb_root.gr_fstyp, MNTTYPE_ZFS) == 0)
354 barg->gb_root.gr_physpath);
438 if (strcmp(barg->gb_root.gr_fstyp, MNTTYPE_ZFS) != 0)
441 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.h120 grub_root_t gb_root; member in struct:_grub_barg

Completed in 85 milliseconds