Lines Matching defs:dev
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()
111 static bool SdmmcGetProductInfo(BlockDevice &dev, std::string &type, std::string &name) in SdmmcGetProductInfo()
121 bool SetBlockDeviceMode(BlockDevice &dev) in SetBlockDeviceMode()
142 static int BlockDeviceClose(const BlockDevice &dev) in BlockDeviceClose()
199 static int InitGeneric(BlockDevice &dev, const std::string modelName) in InitGeneric()
226 static int InitSdmmc(BlockDevice &dev) in InitSdmmc()
244 BlockDevice *dev = nullptr; in NewBlockDevice() local
291 static Disk* NewBlockDisk(const BlockDevice &dev, const DiskType diskType) in NewBlockDisk()
311 struct BlockDevice *dev = nullptr; in DiskAlloc() local
327 static struct Partition* NewPartition(const BlockDevice &dev, int partn) in NewPartition()