Lines Matching refs:ent
115 struct mntent *ent; in vss_operate() local
137 while ((ent = getmntent(mounts))) { in vss_operate()
138 if (strncmp(ent->mnt_fsname, match, strlen(match))) in vss_operate()
140 if (stat(ent->mnt_fsname, &sb)) { in vss_operate()
142 ent->mnt_fsname, errno, strerror(errno)); in vss_operate()
149 if (hasmntopt(ent, MNTOPT_RO) != NULL) in vss_operate()
151 if (strcmp(ent->mnt_type, "vfat") == 0) in vss_operate()
153 if (strcmp(ent->mnt_dir, "/") == 0) { in vss_operate()
157 error |= vss_do_freeze(ent->mnt_dir, cmd); in vss_operate()
173 if (ent) { in vss_operate()
174 strncpy(errdir, ent->mnt_dir, sizeof(errdir)-1); in vss_operate()
179 if (ent) in vss_operate()