Searched refs:vst (Results 1 – 2 of 2) sorted by relevance
198 struct statvfs vst; in MergeFsUsage() local199 if (statvfs(mount_point, &vst) == -1) { in MergeFsUsage()209 partition_proto->set_fs_size((uint64_t)vst.f_blocks * vst.f_frsize); in MergeFsUsage()210 if (vst.f_bavail <= vst.f_blocks) { in MergeFsUsage()211 partition_proto->set_fs_used((uint64_t)(vst.f_blocks - vst.f_bavail) * vst.f_frsize); in MergeFsUsage()
141 struct statvfs vst; in fs_mgr_filesystem_has_space() local143 if (statvfs(mount_point.c_str(), &vst)) { in fs_mgr_filesystem_has_space()150 return (vst.f_bfree >= (vst.f_blocks * kPercentThreshold / 100)); in fs_mgr_filesystem_has_space()