Searched refs:devStat (Results 1 – 1 of 1) sorted by relevance
27 static int DeviceStat(const BlockDevice &dev, struct stat &devStat) in DeviceStat() argument30 if (!stat (dev.devPath.c_str(), &devStat)) { in DeviceStat()33 if (stat (dev.devPath.c_str(), &devStat) != EOK) { in DeviceStat()42 struct stat devStat {}; in DeviceProbeType() struct46 if (DeviceStat(dev, devStat) == 0) { in DeviceProbeType()50 devMajor = static_cast<int>(major (devStat.st_rdev)); in DeviceProbeType()52 devMinor = static_cast<int>(minor (devStat.st_rdev)); in DeviceProbeType()208 struct stat devStat {}; in InitGeneric() struct209 if (DeviceStat(dev, devStat) == 0) { in InitGeneric()