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