Home
last modified time | relevance | path

Searched refs:mediaType (Results 1 – 3 of 3) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dstorage.hpp475 std::optional<drive::MediaType> mediaType = in getDriveItemProperties() local
477 if (!mediaType) in getDriveItemProperties()
483 if (*mediaType == drive::MediaType::Invalid) in getDriveItemProperties()
489 asyncResp->res.jsonValue["MediaType"] = *mediaType; in getDriveItemProperties()
/openbmc/qemu/block/
H A Dfile-posix.c3938 char *mediaType = NULL; in FindEjectableOpticalMedia() local
3966 mediaType = g_strdup(matching_array[index]); in FindEjectableOpticalMedia()
3970 return mediaType; in FindEjectableOpticalMedia()
4115 char *mediaType = NULL; in hdev_open() local
4119 mediaType = FindEjectableOpticalMedia(&mediaIterator); in hdev_open()
4120 if (mediaType == NULL) { in hdev_open()
4142 if (strncmp(mediaType, kIOCDMediaClass, 9) == 0 && in hdev_open()
4152 g_free(mediaType); in hdev_open()
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas.h642 u8 mediaType; member