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.cpp844 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "re"), endmntent); in findMountPointsWithPrefix() local
845 if (!mnts) { in findMountPointsWithPrefix()
853 while ((mnt = getmntent(mnts.get())) != nullptr) { in findMountPointsWithPrefix()
Dcryptfs.cpp1387 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "r"), endmntent); in ensure_subdirectory_unmounted() local
1388 if (!mnts) { in ensure_subdirectory_unmounted()
1399 while ((mentry = getmntent(mnts.get())) != nullptr) { in ensure_subdirectory_unmounted()