Lines Matching defs:ent
117 struct mntent *ent;
139 while ((ent = getmntent(mounts))) {
140 if (strncmp(ent->mnt_fsname, match, strlen(match)))
142 if (stat(ent->mnt_fsname, &sb)) {
144 ent->mnt_fsname, errno, strerror(errno));
151 if (hasmntopt(ent, MNTOPT_RO) != NULL)
153 if (strcmp(ent->mnt_type, "vfat") == 0)
155 if (strcmp(ent->mnt_dir, "/") == 0) {
159 error |= vss_do_freeze(ent->mnt_dir, cmd);
184 if (ent) {
185 strncpy(errdir, ent->mnt_dir, sizeof(errdir)-1);
191 if (ent)