Home
last modified time | relevance | path

Searched refs:mnts (Results 1 – 3 of 3) sorted by relevance

/system/vold/
DFileDeviceUtils.cpp44 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "re"), endmntent); in BlockDeviceForPath() local
45 if (!mnts) { in BlockDeviceForPath()
52 while ((mnt = getmntent(mnts.get())) != nullptr) { in BlockDeviceForPath()
DUtils.cpp1226 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "re"), endmntent); in findMountPointsWithPrefix() local
1227 if (!mnts) { in findMountPointsWithPrefix()
1235 while ((mnt = getmntent(mnts.get())) != nullptr) { in findMountPointsWithPrefix()
Dcryptfs.cpp1483 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "r"), endmntent); in ensure_subdirectory_unmounted() local
1484 if (!mnts) { in ensure_subdirectory_unmounted()
1495 while ((mentry = getmntent(mnts.get())) != nullptr) { in ensure_subdirectory_unmounted()