nvme_mi_admin_get_log_endurance_grp_evt(2) libnvme API manual nvme_mi_admin_get_log_endurance_grp_evt(2)

nvme_mi_admin_get_log_endurance_grp_evt - Retrieve Rotational Media Information

int nvme_mi_admin_get_log_endurance_grp_evt (nvme_mi_ctrl_t ctrl , bool rae , __u32 offset , __u32 len , void *log );

Controller to query
Retain asynchronous events
Offset to the start of the log page
The allocated length of the log page
User address to store the log page

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_endurance_grp_evt March 2024