nvme_mi_admin_identify_ns - Perform an Admin identify command for a namespace
int nvme_mi_admin_identify_ns (nvme_mi_ctrl_t ctrl ,
__u32 nsid , struct nvme_id_ns *ns );
- ctrl
- Controller to process identify command
- nsid
- namespace ID
- ns
- Namespace identification to populate
Perform an Identify (namespace) command, setting the namespace id data in
ns. The namespace is expected to active and allocated.
The nvme command status if a response was received (see
enum
nvme_status_field) or -1 with errno set otherwise.