Searched defs:mentry (Results 1 - 3 of 3) sorted by relevance

/system/extras/pagecache/
H A Ddumpcache.c143 struct mntent* mentry; local
144 while ((mentry = getmntent(fp)) != NULL) {
145 if (strcmp(mentry->mnt_type, "rootfs") != 0 &&
146 strncmp("/dev", mentry->mnt_dir, strlen("/dev")) != 0 &&
147 strncmp("/sys", mentry->mnt_dir, strlen("/sys")) != 0 &&
148 strncmp("/proc", mentry->mnt_dir, strlen("/proc")) != 0) {
149 nftw(mentry->mnt_dir, &scan_entry, MAX_NUM_FD, FTW_MOUNT | FTW_PHYS | FTW_DEPTH);
/system/core/init/
H A Dreboot.cpp220 mntent* mentry; local
221 while ((mentry = getmntent(fp.get())) != nullptr) {
223 LOG(INFO) << "mount entry " << mentry->mnt_fsname << ":" << mentry->mnt_dir << " opts "
224 << mentry->mnt_opts << " type " << mentry->mnt_type;
225 } else if (MountEntry::IsBlockDevice(*mentry) && hasmntopt(mentry, "rw")) {
226 std::string mount_dir(mentry->mnt_dir);
231 blockDevPartitions->emplace(blockDevPartitions->begin(), *mentry);
[all...]
/system/vold/
H A DVolumeManager.cpp426 mntent* mentry; local
427 while ((mentry = getmntent(fp)) != NULL) {
428 auto test = std::string(mentry->mnt_dir) + "/";
623 mntent* mentry; local
624 while ((mentry = getmntent(fp)) != NULL) {
625 auto test = std::string(mentry->mnt_dir);

Completed in 720 milliseconds