int nvme_mi_admin_get_log_ana (nvme_mi_ctrl_t ctrl , enum nvme_log_ana_lsp lsp , bool rae , __u64 offset , __u32 len , void *log );
Controller to query
Log specific, see enum nvme_get_log_ana_lsp
Retain asynchronous events
Offset to the start of the log page
The allocated length of the log page
User address to store the ana log
This log consists of a header describing the log and descriptors containing the asymmetric namespace access information for ANA Groups that contain namespaces that are attached to the controller processing the command.
See struct nvme_ana_rsp_hdr for the definition of the returned structure.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.