Searched refs:devStat (Results 1 – 1 of 1) sorted by relevance
28 static int DeviceStat(const BlockDevice &dev, struct stat &devStat) in DeviceStat() argument31 if (!stat (dev.devPath.c_str(), &devStat)) { in DeviceStat()34 if (stat (dev.devPath.c_str(), &devStat) != EOK) { in DeviceStat()43 struct stat devStat {}; in DeviceProbeType() struct47 if (DeviceStat(dev, devStat) == 0) { in DeviceProbeType()51 devMajor = static_cast<int>(major (devStat.st_rdev)); in DeviceProbeType()53 devMinor = static_cast<int>(minor (devStat.st_rdev)); in DeviceProbeType()201 struct stat devStat {}; in InitGeneric() struct202 if (DeviceStat(dev, devStat) == 0) { in InitGeneric()