Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_ns_attach_args - Arguments for Nvme Namespace Management command

SYNOPSIS

struct nvme_ns_attach_args {
__u32 *result;
struct nvme_ctrl_list *ctrlist;
int args_size;
int fd;
__u32 timeout;
__u32 nsid;
enum nvme_ns_attach_sel sel;
};

Members

NVMe command result
Controller list to modify attachment state of nsid
Size of struct nvme_ns_attach_args
File descriptor of nvme device
Timeout in ms
Namespace ID to execute attach selection
Attachment selection, see enum nvme_ns_attach_sel
struct nvme_ns_attach_args December 2025