Searched refs:parse_disk_stats (Results 1 – 4 of 4) sorted by relevance
28 bool parse_disk_stats(const char* disk_stats_path, struct disk_stats* stats);
70 EXPECT_TRUE(parse_disk_stats(DISK_STATS_PATH, &stats)); in TEST()77 EXPECT_FALSE(parse_disk_stats(wrong_path, &stats)); in TEST()87 ASSERT_TRUE(parse_disk_stats(DISK_STATS_PATH, &stats)); in TEST()102 ASSERT_TRUE(parse_disk_stats(DISK_STATS_PATH, &curr)); in TEST()
46 if (parse_disk_stats(DISK_STATS_PATH, &curr)) { in update()146 if (LIKELY(parse_disk_stats(DISK_STATS_PATH, &curr))) { in update()
44 bool parse_disk_stats(const char* disk_stats_path, struct disk_stats* stats) { in parse_disk_stats() function