Lines Matching refs:majorId
245 unsigned int majorId = major(mDevice); in readMetadata() local
246 switch (majorId) { in readMetadata()
296 if (IsVirtioBlkDevice(majorId)) { in readMetadata()
297 LOG(DEBUG) << "Recognized experimental block major ID " << majorId in readMetadata()
302 if (isNvmeBlkDevice(majorId, mSysPath)) { in readMetadata()
312 LOG(WARNING) << "Unsupported block major type " << majorId; in readMetadata()
569 unsigned int majorId = major(mDevice); in getMaxMinors() local
570 switch (majorId) { in getMaxMinors()
601 if (IsVirtioBlkDevice(majorId)) { in getMaxMinors()
606 if (isNvmeBlkDevice(majorId, mSysPath)) { in getMaxMinors()
616 LOG(ERROR) << "Unsupported block major type " << majorId; in getMaxMinors()