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

nvme_identify_ns_csi - I/O command set specific identify namespace data

int nvme_identify_ns_csi (int fd , __u32 nsid , __u8 uuidx , enum nvme_csi csi , void *data );

File descriptor of nvme device
Namespace to identify
UUID Index for differentiating vendor specific encoding
Command Set Identifier
User space destination address to transfer the data

An I/O Command Set specific Identify Namespace data structure is returned for the namespace specified in nsid.

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

nvme_identify_ns_csi January 2023