Searched refs:device_stat (Results 1 – 1 of 1) sorted by relevance
2795 struct stat device_stat; in GetDiskSize() local2796 if (fstat(fd, &device_stat) == -1) { in GetDiskSize()2804 if (S_ISBLK(device_stat.st_mode)) { in GetDiskSize()2823 } else if (S_ISREG(device_stat.st_mode)) { in GetDiskSize()2824 device_sectors_ = device_stat.st_size / kSectorSize; in GetDiskSize()