.TH "nvme_init_ns_detach_ctrls" 9 "nvme_init_ns_detach_ctrls" "October 2026" "libnvme API manual" LINUX .SH NAME nvme_init_ns_detach_ctrls \- Initialize passthru command to detach namespace from controllers .SH SYNOPSIS .B "void" nvme_init_ns_detach_ctrls .BI "(struct libnvme_passthru_cmd *cmd " "," .BI "__u32 nsid " "," .BI "struct nvme_ctrl_list *ctrlist " ");" .SH ARGUMENTS .IP "cmd" 12 Passthru command to use .IP "nsid" 12 Namespace ID to detach .IP "ctrlist" 12 Controller list buffer to modify attachment state of nsid .SH "DESCRIPTION" Initializes the passthru command buffer for the Namespace Detach command (NVME_NS_ATTACH_SEL_CTRL_DEATTACH).