Searched refs:BlockDevice (Results 1 – 4 of 4) sorted by relevance
28 static int DeviceStat(const BlockDevice &dev, struct stat &devStat) in DeviceStat()41 static int DeviceProbeType(BlockDevice &dev) in DeviceProbeType()84 static bool ReadDeviceSysfsFile(BlockDevice &dev, const std::string &file, std::string &strl) in ReadDeviceSysfsFile()114 static bool SdmmcGetProductInfo(BlockDevice &dev, std::string &type, std::string &name) in SdmmcGetProductInfo()124 bool SetBlockDeviceMode(BlockDevice &dev) in SetBlockDeviceMode()145 static int BlockDeviceClose(const BlockDevice &dev) in BlockDeviceClose()204 static int InitGeneric(BlockDevice &dev, const std::string modelName) in InitGeneric()231 static int InitSdmmc(BlockDevice &dev) in InitSdmmc()247 static BlockDevice* NewBlockDevice(const std::string &path) in NewBlockDevice()249 BlockDevice *dev = nullptr; in NewBlockDevice()[all …]
68 static void DoFsync(const BlockDevice &dev) in DoFsync()
70 struct BlockDevice { struct95 struct BlockDevice* dev; argument114 extern bool SetBlockDeviceMode(BlockDevice &dev);
126 BlockDevice myDev {};