Searched refs:mnts (Results 1 – 3 of 3) sorted by relevance
44 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "re"), endmntent); in BlockDeviceForPath() local45 if (!mnts) { in BlockDeviceForPath()52 while ((mnt = getmntent(mnts.get())) != nullptr) { in BlockDeviceForPath()
1216 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "re"), endmntent); in findMountPointsWithPrefix() local1217 if (!mnts) { in findMountPointsWithPrefix()1225 while ((mnt = getmntent(mnts.get())) != nullptr) { in findMountPointsWithPrefix()
1403 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "r"), endmntent); in ensure_subdirectory_unmounted() local1404 if (!mnts) { in ensure_subdirectory_unmounted()1415 while ((mentry = getmntent(mnts.get())) != nullptr) { in ensure_subdirectory_unmounted()