Lines Matching defs:mnt
1494 struct mntent *mnt;
1516 while ((mnt = getmntent(f))) {
1517 if (!ntfs_realpath_canonicalize(mnt->mnt_fsname, real_fsname))
1523 if (!mnt)
1526 if (!strcmp(mnt->mnt_dir, "/"))
1529 if (hasmntopt(mnt, "ro") && !hasmntopt(mnt, "rw"))
1548 struct mnttab *mnt = NULL;
1557 mnt = (struct mnttab*)ntfs_malloc(MNT_LINE_MAX + 1);
1558 if (!real_fsname || !mnt) {
1570 while (!getmntent(f, mnt)) {
1571 if (!ntfs_realpath_canonicalize(mnt->mnt_special, real_fsname))
1575 if (!strcmp(mnt->mnt_mountp, "/"))
1577 if (hasmntopt(mnt, "ro") && !hasmntopt(mnt, "rw"))
1584 free(mnt);