DOKK / manpages / debian 12 / libnvme-dev / nvme_get_log_media_unit_stat.2.en
nvme_get_log_media_unit_stat(2) libnvme API manual nvme_get_log_media_unit_stat(2)

nvme_get_log_media_unit_stat - Retrieve Media Unit Status

int nvme_get_log_media_unit_stat (int fd , __u16 domid , struct nvme_media_unit_stat_log *mus );

File descriptor of nvme device
Domain Identifier selection, if supported
User address to store the Media Unit statistics log

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise

nvme_get_log_media_unit_stat January 2023