Searched refs:Disk (Results 1 – 3 of 3) sorted by relevance
80 static int BlockSync(const Disk &disk) in BlockSync()99 static int BlockDiskOpen(Disk &disk) in BlockDiskOpen()108 static void BlockDiskClose(Disk &disk) in BlockDiskClose()118 static bool DoRmPartition(const Disk &disk, int partn) in DoRmPartition()166 static bool DoAddPartition(const Disk &disk, Partition &part) in DoAddPartition()182 static void DestroyDiskPartitions(Disk &disk) in DestroyDiskPartitions()194 static void DestroyDiskDevices(const Disk &disk) in DestroyDiskDevices()251 static bool AddPartitions(const Disk &disk, const PartitonList &ulist, int &partitionAddedCounter) in AddPartitions()284 static bool RemovePartitions(const Disk &disk, int &partitionRemovedCounter) in RemovePartitions()327 Disk *disk = GetRegisterBlockDisk(MMC_PATH); in DoPartitions()
26 static struct Disk *g_disks;298 static Disk* NewBlockDisk(const BlockDevice &dev, const DiskType diskType) in NewBlockDisk()300 Disk *disk = nullptr; in NewBlockDisk()302 disk = static_cast<Disk*>(calloc (1, sizeof (Disk))); in NewBlockDisk()317 struct Disk *disk = nullptr; in DiskAlloc()387 struct Partition* GetPartition(const Disk &disk, int partn) in GetPartition()408 struct Disk* disk = nullptr; in ProbeAllPartitions()427 Disk* GetRegisterBlockDisk(const std::string &path) in GetRegisterBlockDisk()432 Disk *p = nullptr; in GetRegisterBlockDisk()
94 struct Disk { struct110 extern Disk *GetRegisterBlockDisk(const std::string &path); argument111 extern struct Partition *GetPartition(const Disk &disk, int partn);