Reference

nvme_init_identify_ns-libnvme3(2)

Initialize passthru command for NVMe Identify Namespace data structure

NAME

nvme_init_identify_ns - Initialize passthru command for NVMe Identify Namespace data structure

SYNOPSIS

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

ARGUMENTS

cmd

Command data structure to initialize

nsid

Namespace identifier

id

User space destination address to transfer the data

DESCRIPTION

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