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

nvme_mi_admin_get_log_media_unit_stat - Retrieve Media Unit Status

int nvme_mi_admin_get_log_media_unit_stat (nvme_mi_ctrl_t ctrl , __u16 domid , struct nvme_media_unit_stat_log *mus );

Controller to query
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_mi_admin_get_log_media_unit_stat January 2023