Lines Matching refs:majorId
221 unsigned int majorId = major(mDevice); in readMetadata() local
222 switch (majorId) { in readMetadata()
272 if (IsVirtioBlkDevice(majorId)) { in readMetadata()
273 LOG(DEBUG) << "Recognized experimental block major ID " << majorId in readMetadata()
278 if (isNvmeBlkDevice(majorId, mSysPath)) { in readMetadata()
288 LOG(WARNING) << "Unsupported block major type " << majorId; in readMetadata()
539 unsigned int majorId = major(mDevice); in getMaxMinors() local
540 switch (majorId) { in getMaxMinors()
571 if (IsVirtioBlkDevice(majorId)) { in getMaxMinors()
576 if (isNvmeBlkDevice(majorId, mSysPath)) { in getMaxMinors()
586 LOG(ERROR) << "Unsupported block major type " << majorId; in getMaxMinors()