Lines Matching refs:gfs_mountp
201 if (barg->gb_root.gr_fs[GRBM_ZFS_TOPFS].gfs_mountp[0] == 0) { in zfs_bootsign()
209 barg->gb_root.gr_fs[GRBM_ZFS_TOPFS].gfs_mountp, in zfs_bootsign()
269 barg->gb_root.gr_fs[GRBM_UFS].gfs_mountp, barg->gb_bootsign); in ufs_bootsign_check()
435 (void) strlcpy(root->gr_fs[GRBM_UFS].gfs_mountp, mp.mnt_mountp, in grub_current_root()
436 sizeof (root->gr_fs[GRBM_UFS].gfs_mountp)); in grub_current_root()
470 fsd->gfs_mountp[0] = 0; in grub_fsd_get_mountp()
479 (void) strlcpy(fsd->gfs_mountp, mp.mnt_mountp, in grub_fsd_get_mountp()
480 sizeof (fsd->gfs_mountp)); in grub_fsd_get_mountp()
507 fsd->gfs_mountp[0] = 0; in grub_fsd_mount_tmp()
521 (void) snprintf(fsd->gfs_mountp, sizeof (fsd->gfs_mountp), in grub_fsd_mount_tmp()
523 if (mkdtemp(fsd->gfs_mountp) != NULL) { in grub_fsd_mount_tmp()
524 if ((rc = mount(fsd->gfs_dev, fsd->gfs_mountp, in grub_fsd_mount_tmp()
531 (void) rmdir(fsd->gfs_mountp); in grub_fsd_mount_tmp()
538 fsd->gfs_mountp[0] = 0; in grub_fsd_mount_tmp()
560 if (fsd->gfs_mountp[0] != 0) { in grub_fsd_umount_tmp()
561 (void) umount2(fsd->gfs_mountp, 0); in grub_fsd_umount_tmp()
562 (void) rmdir(fsd->gfs_mountp); in grub_fsd_umount_tmp()
563 fsd->gfs_mountp[0] = 0; in grub_fsd_umount_tmp()