Lines Matching refs:mntpt
194 const char *mntpt; in umountfs() local
200 mntpt = name; in umountfs()
220 mntpt = name; in umountfs()
224 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) { in umountfs()
230 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) { in umountfs()
231 warnx("%s: not currently mounted", mntpt); in umountfs()
236 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) { in umountfs()
237 name = mntpt; in umountfs()
238 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) { in umountfs()
253 proto = getmntproto(mntpt); in umountfs()
276 (void)printf("%s: unmount from %s\n", name, mntpt); in umountfs()
315 if (unmount(mntpt, fflag) == -1) { in umountfs()
316 warn("%s", mntpt); in umountfs()