Searched refs:mntl (Results 1 – 6 of 6) sorted by relevance
355 struct mntlist *mntl; local358 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() local495 for (mntl = current_mounts; mntl; mntl = mntl->mntl_next) { in do_unmounts()496 mnt = mntl->mntl_mnt; in do_unmounts()
45 struct mntlist *mntl; in getmntlist() local48 mntl = fsgetmntlist(); in getmntlist()50 return (mntl); in getmntlist()
63 mntlist_t *mntl; in fsgetmntlist() local72 mntl = fsmkmntlist(mfp); in fsgetmntlist()75 return (mntl); in fsgetmntlist()147 fsfreemntlist(mntlist_t *mntl) in fsfreemntlist() argument151 while (mntl) { in fsfreemntlist()152 fsfreemnttab(mntl->mntl_mnt); in fsfreemntlist()153 mntl_tmp = mntl; in fsfreemntlist()154 mntl = mntl->mntl_next; in fsfreemntlist()
173 struct mntlist *mntl; in tsol_mkmntlist() local183 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()
281 struct mntlist *mntl; in main() local342 mntl = mkmntlist(); in main()383 mlp = findmntent(cp, &argstat[i], mntl); in main()1024 struct mntlist *mntl; in mkmntlist() local1035 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()
1777 mntlist_t *ml, *mntl, *mntpnt = NULL; in find_lofsentry() local1793 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()