Searched refs:statfs_buf (Results 1 – 2 of 2) sorted by relevance
15 struct statfs statfs_buf; in GetFileSystemType() local16 if (statfs(path.value().c_str(), &statfs_buf) < 0) { in GetFileSystemType()26 switch (statfs_buf.f_type) { in GetFileSystemType()
98 struct statfs statfs_buf;99 if (statfs(path, &statfs_buf) != 0) {104 if (!(statfs_buf.f_flags & MNT_RDONLY)) {111 if (strncmp(statfs_buf.f_mntfromname, dev_root, dev_root_length) != 0) {117 const char* bsd_device_name = statfs_buf.f_mntfromname + dev_root_length;