nvme_init_identify_ns(9) libnvme API manual nvme_init_identify_ns(9)

nvme_init_identify_ns - Initialize passthru command for NVMe Identify Namespace data structure

void nvme_init_identify_ns (struct libnvme_passthru_cmd *cmd , __u32 nsid , struct nvme_id_ns *id );

Command data structure to initialize
Namespace identifier
User space destination address to transfer the data

Initializes the passthru command buffer for the Identify command with CNS value NVME_IDENTIFY_CNS_NS.

nvme_init_identify_ns October 2026