Reference

nvme_init_ns_detach_ctrls-libnvme3(2)

Initialize passthru command to detach namespace from controllers

NAME

nvme_init_ns_detach_ctrls - Initialize passthru command to detach namespace from controllers

SYNOPSIS

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

ARGUMENTS

cmd

Passthru command to use

nsid

Namespace ID to detach

ctrlist

Controller list buffer to modify attachment state of nsid

DESCRIPTION

Initializes the passthru command buffer for the Namespace Detach command (NVME_NS_ATTACH_SEL_CTRL_DEATTACH).