Lines Matching refs:mnt
46 struct mntent *mnt; in check_mntent_file() local
67 while ((mnt = getmntent (f)) != NULL) { in check_mntent_file()
68 if (mnt->mnt_fsname[0] != '/') in check_mntent_file()
70 if (strcmp(file, mnt->mnt_fsname) == 0) in check_mntent_file()
72 if (stat(mnt->mnt_fsname, &st_buf) == 0) { in check_mntent_file()
86 if (mnt == 0) { in check_mntent_file()
113 if (stat(mnt->mnt_dir, &st_buf) < 0) { in check_mntent_file()
118 mtab_file, mnt->mnt_dir); in check_mntent_file()
127 mtab_file, file, mnt->mnt_dir); in check_mntent_file()
136 if (hasmntopt(mnt, MNTOPT_RO)) in check_mntent_file()
141 strncpy(mtpt, mnt->mnt_dir, mtlen); in check_mntent_file()
148 if (!strcmp(mnt->mnt_dir, "/")) { in check_mntent_file()