Home
last modified time | relevance | path

Searched refs:mntl (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c355 struct mntlist *mntl; local
358 for (mntl = current_mounts; mntl; mntl = mntl->mntl_next) {
360 if (strcmp(mntpnt, mntl->mntl_mnt->mnt_mountp) == 0) {
361 found = mntl->mntl_mnt;
482 struct mntlist *mntl; in do_unmounts() local
495 for (mntl = current_mounts; mntl; mntl = mntl->mntl_next) { in do_unmounts()
496 mnt = mntl->mntl_mnt; in do_unmounts()
H A Dauto_mnttab.c45 struct mntlist *mntl; in getmntlist() local
48 mntl = fsgetmntlist(); in getmntlist()
50 return (mntl); in getmntlist()
/illumos-gate/usr/src/cmd/fs.d/
H A Dfslib.c63 mntlist_t *mntl; in fsgetmntlist() local
72 mntl = fsmkmntlist(mfp); in fsgetmntlist()
75 return (mntl); in fsgetmntlist()
147 fsfreemntlist(mntlist_t *mntl) in fsfreemntlist() argument
151 while (mntl) { in fsfreemntlist()
152 fsfreemnttab(mntl->mntl_mnt); in fsfreemntlist()
153 mntl_tmp = mntl; in fsfreemntlist()
154 mntl = mntl->mntl_next; in fsfreemntlist()
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c173 struct mntlist *mntl; in tsol_mkmntlist() local
183 mntl = (struct mntlist *)malloc(sizeof (*mntl)); in tsol_mkmntlist()
184 if (mntl == NULL) { in tsol_mkmntlist()
189 mntl->mntl_mnt = mntdup((struct mnttab *)(&mnt)); in tsol_mkmntlist()
190 if (mntl->mntl_mnt == NULL) { in tsol_mkmntlist()
195 mntl->mntl_next = mntst; in tsol_mkmntlist()
196 mntst = mntl; in tsol_mkmntlist()
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c281 struct mntlist *mntl; in main() local
342 mntl = mkmntlist(); in main()
383 mlp = findmntent(cp, &argstat[i], mntl); in main()
1024 struct mntlist *mntl; in mkmntlist() local
1035 mntl = (struct mntlist *)xmalloc(sizeof (*mntl)); in mkmntlist()
1036 mntl->mntl_mnt = mntdup((struct mnttab *)(&mnt)); in mkmntlist()
1037 mntl->mntl_next = mntst; in mkmntlist()
1038 mntl->mntl_devvalid = 1; in mkmntlist()
1039 mntl->mntl_dev = makedev(mnt.mnt_major, mnt.mnt_minor); in mkmntlist()
1040 mntst = mntl; in mkmntlist()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c1777 mntlist_t *ml, *mntl, *mntpnt = NULL; in find_lofsentry() local
1793 mntl = fsgetmntlist(); in find_lofsentry()
1799 for (ml = mntl; ml; ml = ml->mntl_next) { in find_lofsentry()
1855 fsfreemntlist(mntl); in find_lofsentry()
1857 mntl = fsgetmntlist(); in find_lofsentry()
1867 for (ml = mntl; ml; ml = ml->mntl_next) { in find_lofsentry()
1906 fsfreemntlist(mntl); in find_lofsentry()