Home
last modified time | relevance | path

Searched refs:gfs_mountp (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c530 fsd->gfs_mountp[0] = 0; in grub_fsd_get_mountp()
540 sizeof (fsd->gfs_mountp)); in grub_fsd_get_mountp()
567 fsd->gfs_mountp[0] = 0; in grub_fsd_mount_tmp()
581 (void) snprintf(fsd->gfs_mountp, sizeof (fsd->gfs_mountp), in grub_fsd_mount_tmp()
583 if (mkdtemp(fsd->gfs_mountp) != NULL) { in grub_fsd_mount_tmp()
591 (void) rmdir(fsd->gfs_mountp); in grub_fsd_mount_tmp()
598 fsd->gfs_mountp[0] = 0; in grub_fsd_mount_tmp()
620 if (fsd->gfs_mountp[0] != 0) { in grub_fsd_umount_tmp()
621 (void) umount2(fsd->gfs_mountp, 0); in grub_fsd_umount_tmp()
622 (void) rmdir(fsd->gfs_mountp); in grub_fsd_umount_tmp()
[all …]
H A Dlibgrub_bargs.c117 if (fbarg->gba_fsd.gfs_mountp[0] == 0 && in barg2bootargs()
122 if (snprintf(path, sizeof (path), "%s%s", fbarg->gba_fsd.gfs_mountp, in barg2bootargs()
145 sizeof (fbarg->gba_bootargs), "%s %s", fbarg->gba_fsd.gfs_mountp, in barg2bootargs()
H A Dlibgrub_entry.c84 if (fsd->gfs_mountp[0] != 0) { in barg_cmdline()
85 if ((n = snprintf(cmd, size, "%s%s", fsd->gfs_mountp, in barg_cmdline()
H A Dlibgrubmgmt.h55 char gfs_mountp[MAXPATHLEN]; /* mount point */ member
H A Dlibgrub_menu.c373 if (mp->gm_root.gr_fs[GRBM_FS_TOP].gfs_mountp[0] == 0) { in grub_menu_init()
379 "%s/%s", mp->gm_root.gr_fs[GRBM_FS_TOP].gfs_mountp, in grub_menu_init()