Home | History | Annotate | Download | only in ext2fs

Lines Matching refs:mnt

83 	struct mntent 	*mnt;
111 while ((mnt = getmntent (f)) != NULL) {
112 if (mnt->mnt_fsname[0] != '/')
114 if (strcmp(file, mnt->mnt_fsname) == 0)
116 if (stat(mnt->mnt_fsname, &st_buf) == 0) {
121 if (check_loop_mounted(mnt->mnt_fsname,
134 if (mnt == 0) {
161 if (stat(mnt->mnt_dir, &st_buf) < 0) {
166 mtab_file, mnt->mnt_dir);
175 mtab_file, file, mnt->mnt_dir);
184 if (hasmntopt(mnt, MNTOPT_RO))
189 strncpy(mtpt, mnt->mnt_dir, mtlen);
196 if (!strcmp(mnt->mnt_dir, "/")) {