Scroll to navigation

nvme_init_ns_attach_ctrls(2) libnvme API manual nvme_init_ns_attach_ctrls(2)

NAME

nvme_init_ns_attach_ctrls - Initialize passthru command to attach namespace to controllers

SYNOPSIS

void nvme_init_ns_attach_ctrls (struct libnvme_passthru_cmd *cmd , __u32 nsid , struct nvme_ctrl_list *ctrlist );

ARGUMENTS

Passthru command to use
Namespace ID to attach
Controller list buffer to modify attachment state of nsid

DESCRIPTION

Initializes the passthru command buffer for the Namespace Attach command (NVME_NS_ATTACH_SEL_CTRL_ATTACH).

nvme_init_ns_attach_ctrls October 2026