Searched refs:BlockDevice (Results 1 – 4 of 4) sorted by relevance
27 static int DeviceStat(const BlockDevice &dev, struct stat &devStat) in DeviceStat()40 static int DeviceProbeType(BlockDevice &dev) in DeviceProbeType()83 static bool ReadDeviceSysfsFile(BlockDevice &dev, const std::string &file, std::string &strl) in ReadDeviceSysfsFile()113 static bool SdmmcGetProductInfo(BlockDevice &dev, std::string &type, std::string &name) in SdmmcGetProductInfo()123 bool SetBlockDeviceMode(BlockDevice &dev) in SetBlockDeviceMode()144 static int BlockDeviceClose(const BlockDevice &dev) in BlockDeviceClose()206 static int InitGeneric(BlockDevice &dev, const std::string modelName) in InitGeneric()233 static int InitSdmmc(BlockDevice &dev) in InitSdmmc()249 static BlockDevice* NewBlockDevice(const std::string &path) in NewBlockDevice()251 BlockDevice *dev = nullptr; in NewBlockDevice()[all …]
67 static void DoFsync(const BlockDevice &dev) in DoFsync()
70 struct BlockDevice { struct95 struct BlockDevice* dev; argument114 extern bool SetBlockDeviceMode(BlockDevice &dev);
126 BlockDevice myDev {};