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

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 );

Controller to process identify command
namespace ID
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.

nvme_mi_admin_identify_ns January 2023