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

nvme_mi_admin_identify_allocated_ns - Perform an Admin identify command for an allocated namespace

int nvme_mi_admin_identify_allocated_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 nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_mi_admin_identify_allocated_ns January 2023