nvme_init_ns_attach-libnvme32
Initialize passthru command for namespace attach/detach
Usage
void nvme_init_ns_attach (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_ns_attach_sel sel , struct nvme_ctrl_list *ctrlist );
Arguments
cmd
|
Passthru command to use |
|---|---|
nsid
|
Namespace ID to execute attach selection |
sel
|
Attachment selection, see enum nvme_ns_attach_sel |
ctrlist
|
Controller list buffer to modify attachment state of nsid |
Overview
Initializes the passthru command buffer for the Namespace Attach/Detach command.