Home
last modified time | relevance | path

Searched refs:devStat (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/update/updater/services/fs_manager/
H A Dpartitions.cpp28 static int DeviceStat(const BlockDevice &dev, struct stat &devStat) in DeviceStat() argument
31 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() struct
47 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() struct
202 if (DeviceStat(dev, devStat) == 0) { in InitGeneric()