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()
1226 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "re"), endmntent); in findMountPointsWithPrefix() local1227 if (!mnts) { in findMountPointsWithPrefix()1235 while ((mnt = getmntent(mnts.get())) != nullptr) { in findMountPointsWithPrefix()
1483 std::unique_ptr<FILE, int (*)(FILE*)> mnts(setmntent("/proc/mounts", "r"), endmntent); in ensure_subdirectory_unmounted() local1484 if (!mnts) { in ensure_subdirectory_unmounted()1495 while ((mentry = getmntent(mnts.get())) != nullptr) { in ensure_subdirectory_unmounted()