Home
last modified time | relevance | path

Searched refs:mpref (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c245 struct mnttab mpref; in is_mounted() local
251 bzero(&mpref, sizeof (mpref)); in is_mounted()
252 mpref.mnt_special = (char *)device_file; in is_mounted()
253 if (getmntany(f, &mp, &mpref) == 0) { in is_mounted()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c445 struct mnttab mpref = {0}; in grub_current_root() local
448 mpref.mnt_mountp = "/"; in grub_current_root()
456 rc = getmntany(fp, &mp, &mpref); in grub_current_root()
528 struct mnttab mpref = {0}; in grub_fsd_get_mountp() local
535 mpref.mnt_special = fsd->gfs_dev; in grub_fsd_get_mountp()
536 mpref.mnt_fstype = fstyp; in grub_fsd_get_mountp()
538 if ((rc = getmntany(fp, &mp, &mpref)) == 0) in grub_fsd_get_mountp()
/illumos-gate/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c51 struct mnttab mpref; in is_mounted() local
57 bzero(&mpref, sizeof (mpref)); in is_mounted()
58 mpref.mnt_special = (char *)device_file; in is_mounted()
59 if (getmntany(f, &mp, &mpref) == 0) { in is_mounted()
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c272 struct mnttab mntp, mpref; in preen() local
284 memset(&mpref, 0, sizeof (struct mnttab)); in preen()
303 mpref.mnt_special = *lp; in preen()
304 if (getmntany(mtab, &mntp, &mpref) == 0 && in preen()
328 mpref.mnt_special = bdev; in preen()
329 if (getmntany(mtab, &mntp, &mpref) != 0) { in preen()
/illumos-gate/usr/src/cmd/luxadm/
H A Dqlgcupdate.c704 struct mnttab mpref; in q_getbootdev() local
717 mntnull(&mpref); in q_getbootdev()
718 mpref.mnt_mountp = (char *)root; in q_getbootdev()
720 if (getmntany(fp, &mp, &mpref) != 0 || in q_getbootdev()
721 mpref.mnt_mountp == NULL) { in q_getbootdev()
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c1106 struct mnttab mpref = { 0 }; in update_temp() local
1125 mpref.mnt_mountp = "/"; in update_temp()
1126 if (getmntany(fp, &mp, &mpref) != 0) { in update_temp()
1309 struct mnttab mpref = { 0 }; in enable_hyper() local
1317 mpref.mnt_mountp = "/"; in enable_hyper()
1318 if (getmntany(fp, &mp, &mpref) != 0) { in enable_hyper()
H A Dbootadm.c5952 struct mnttab mpref = {0}; local
5968 mpref.mnt_special = special;
5969 mpref.mnt_fstype = fstype;
5971 ret = getmntany(mntfp, &mp, &mpref);
7244 struct mnttab mpref = {0}; local
7265 mpref.mnt_mountp = "/";
7267 mpref.mnt_mountp = osroot;
7269 ret = getmntany(mntfp, &mp, &mpref);
7931 struct mnttab mpref = {0}; local
7952 mpref.mnt_mountp = "/";
[all …]
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c578 struct mnttab mpref = {0}; in get_currdev() local
581 mpref.mnt_mountp = "/"; in get_currdev()
588 ret = getmntany(fp, &mp, &mpref); in get_currdev()
843 struct mnttab mpref = {0}; in get_dev() local
890 mpref.mnt_special = tmpdev; in get_dev()
891 ret = getmntany(fp, &mp, &mpref); in get_dev()
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c327 struct mnttab mp, mpref = { 0 }; in install_esp_cb() local
368 mpref.mnt_special = blkdev; in install_esp_cb()
369 ret = getmntany(fp, &mp, &mpref); in install_esp_cb()
769 struct mnttab mp, mpref = { 0 }; in read_einfo_esp_cb() local
811 mpref.mnt_special = blkdev; in read_einfo_esp_cb()
812 ret = getmntany(fp, &mp, &mpref); in read_einfo_esp_cb()
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Drmm_common.c1243 struct mnttab mpref = { NULL, NULL, NULL, NULL, NULL }; in rmm_get_mnttab_mount_point() local
1246 mpref.mnt_special = (char *)special; in rmm_get_mnttab_mount_point()
1247 if (getmntany(f, &mnt, &mpref) == 0) { in rmm_get_mnttab_mount_point()