Searched refs:mnt (Results 1 - 18 of 18) sorted by relevance

/osnet-11/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c100 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/libast/common/string/
H A Dfmtfs.c33 #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/libast/common/port/
H A Dmnt.c32 #include <mnt.h>
37 NoN(mnt)
55 Mnt_t mnt;
72 hp->mnt.flags = 0;
77 hp->mnt.flags |= MNT_REMOTE;
87 hp->mnt.flags |= MNT_REMOTE;
92 hp->mnt.flags |= MNT_REMOTE;
95 hp->mnt.fs = (char*)fs;
96 hp->mnt.dir = (char*)dir;
97 hp->mnt
[all...]
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c106 static struct mnttab mnt;
108 if (getmntent (handle, &mnt) == 0) {
110 *mount_point = g_strdup (mnt.mnt_mountp);
112 return mnt.mnt_special;
117 struct mntent *mnt;
119 mnt = getmntent (handle);
121 if (mnt != NULL) {
123 *mount_point = g_strdup (mnt->mnt_dir);
125 return mnt->mnt_fsname;
177 struct mntent *mnt;
[all...]
/osnet-11/usr/src/lib/pybootmgmt/i386/
H A Dbootmgmt-helper-chain.ksh92 tmp=/tmp/mnt$$
127 tmp=/tmp/mnt$$
/osnet-11/usr/src/grub/grub2/util/
H A Dgetroot.c290 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...]
H A Dgrub-mkrescue.in307 mkdir /tmp/$$.mnt
308 if mount -F pcfs $lofidev /tmp/$$.mnt; then
309 cp -r ${efi_dir}/efi /tmp/$$.mnt
310 umount /tmp/$$.mnt
315 rmdir /tmp/$$.mnt
/osnet-11/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c77 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/grub/grub-0.97/util/
H A Dmkbimage189 mkdir ${image}.mnt
190 mount -t $fs /dev/loop1 ${image}.mnt
191 cp -a ${image}1/* ${image}.mnt/ && sync
192 umount ${image}.mnt
193 rmdir ${image}.mnt
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetmntent.c307 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/libntfs/common/libntfs/
H A Dvolume.c1444 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/lib/libast/
H A DMakefile112 mnt.h \
H A DMakefile.com243 common/port/mnt.o \
/osnet-11/usr/src/lib/libast/common/
H A Dllib-last92 #include <mnt.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Locale/
H A DCurrency.pm252 mnt:Tugrik
/osnet-11/usr/src/lib/nsswitch/pynss/common/
H A Dnssbase.py490 (src, mnt, type, opts, misc) = l.split()
494 if legacy == mnt: # lofs mount point match
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c2823 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) {
/osnet-11/usr/src/lib/brand/shared/zone/
H A Dcommon.ksh2960 typeset -A mnt

Completed in 101 milliseconds