Lines Matching defs:mnt
47 struct mntent *mnt;
68 while ((mnt = getmntent (f)) != NULL) {
69 if (strcmp(file, mnt->mnt_fsname) == 0)
71 if (stat(mnt->mnt_fsname, &st_buf) == 0) {
85 if (mnt == 0) {
112 if (stat(mnt->mnt_dir, &st_buf) < 0) {
117 mtab_file, mnt->mnt_dir);
126 mtab_file, file, mnt->mnt_dir);
135 if (hasmntopt(mnt, MNTOPT_RO))
140 strncpy(mtpt, mnt->mnt_dir, mtlen);
147 if (LONE_CHAR(mnt->mnt_dir, '/')) {