Searched defs:mnt (Results 1 - 7 of 7) sorted by relevance
/osnet-11/usr/src/lib/libast/common/string/ |
H A D | fmtfs.c | 33 #include <mnt.h> 61 register Mnt_t* mnt; local 80 while ((mnt = mntread(mp)) && (stat(mnt->dir, &rt) || rt.st_dev != st->st_dev)); 81 if (mnt && mnt->type) 82 s = mnt->type;
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getmntent.c | 307 hasmntopt(struct mnttab *mnt, char *opt) argument 313 if (mnt->mnt_mntopts == NULL) 315 (void) strcpy(opts, mnt->mnt_mntopts); 326 return (f - tmpopts + mnt->mnt_mntopts);
|
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 100 tsol_mnt_free(struct mnttab *mnt) argument 102 if (mnt->mnt_special) 103 free(mnt->mnt_special); 104 if (mnt->mnt_mountp) 105 free(mnt->mnt_mountp); 106 if (mnt->mnt_fstype) 107 free(mnt->mnt_fstype); 108 if (mnt->mnt_mntopts) 109 free(mnt->mnt_mntopts); 110 free(mnt); 121 struct mnttab *mnt = mlp->mntl_mnt; local 132 mntdup(struct mnttab *mnt) argument 174 struct mnttab mnt; local 258 struct mnttab *mnt = mlp->mntl_mnt; local 305 struct mnttab *mnt = mlp->mntl_mnt; local 376 struct mnttab *mnt = mlp->mntl_mnt; local [all...] |
/osnet-11/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 77 struct mnttab mnt; /* set bug not used */ local 105 if (vol_getmntdev(fp, &mnt, sb.st_rdev, &info) != 0) { 416 struct mnttab mnt; local 445 if (vol_getmntdev(fp, &mnt, sb.st_rdev, &info) != 0) { 456 *spclp = strdup(mnt.mnt_special); 471 cp = mnt.mnt_mountp; 480 mnt_dir = mnt.mnt_mountp; /* save dir path */
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | volume.c | 1444 struct mntent *mnt; local 1465 while ((mnt = getmntent(f))) { 1466 if (!realpath(mnt->mnt_fsname, real_fsname)) 1472 if (!mnt) 1475 if (!strcmp(mnt->mnt_dir, "/")) 1478 if (hasmntopt(mnt, "ro") && !hasmntopt(mnt, "rw"))
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | getroot.c | 290 struct extmnttab mnt; local 300 while (getextmntent (mnttab, &mnt, sizeof (mnt)) == 0) 302 if (stat(mnt.mnt_special, &specialst) != 0 || 307 if (strncmp(mnt.mnt_special, "/dev/dsk/", 9) == 0) { 308 device = xasprintf("/dev/rdsk/%s", mnt.mnt_special + 9); 310 } else if (strncmp(mnt.mnt_special, "/dev/lofi/", 10) == 0) { 311 device = xasprintf("/dev/rlofi/%s", mnt.mnt_special + 10); 313 } else if (strncmp(mnt.mnt_special, "/dev/ramdisk/", 13) == 0) { 314 device = xasprintf("/dev/rramdisk/%s", mnt 1599 struct statfs mnt; local 1613 struct extmnttab mnt; local [all...] |
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 2823 struct mnttab mnt; local 2884 mnt.mnt_mntopts = ""; 2886 mnt.mnt_mntopts = zhp->zfs_mntopts; 2902 if (hasmntopt(&mnt, mntopt_on) && !*val) { 2910 } else if (hasmntopt(&mnt, mntopt_off) && *val) {
|
Completed in 45 milliseconds