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

nvme_zns_identify_ns - ZNS identify namespace data

int nvme_zns_identify_ns (int fd , __u32 nsid , struct nvme_zns_id_ns *data );

File descriptor of nvme device
Namespace to identify
User space destination address to transfer the data

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_zns_identify_ns January 2023