Lines Matching refs:path
69 static std::string LastComponent(const std::string &path)
72 if (path == MMC_PATH) {
75 if (path == SDA_PATH) {
78 if (path == SDB_PATH) {
242 static BlockDevice* NewBlockDevice(const std::string &path)
253 dev->devPath = path;
308 int DiskAlloc(const std::string &path)
312 dev = NewBlockDevice(path);
420 Disk* GetRegisterBlockDisk(const std::string &path)
426 if (g_disks->dev->devPath == path) {