1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_ns_attach_args - Arguments for Nvme Namespace Management
7 command
8
10 struct nvme_ns_attach_args {
11 __u32 *result;
12 struct nvme_ctrl_list *ctrlist;
13 int args_size;
14 int fd;
15 __u32 timeout;
16 __u32 nsid;
17 enum nvme_ns_attach_sel sel;
18 };
19
20
22 result NVMe command result
23
24 ctrlist Controller list to modify attachment state of nsid
25
26 args_size Size of struct nvme_ns_attach_args
27
28 fd File descriptor of nvme device
29
30 timeout Timeout in ms
31
32 nsid Namespace ID to execute attach selection
33
34 sel Attachment selection, see enum nvme_ns_attach_sel
35
36
37
38April 2022 struct nvme_ns_attach_args libnvme(9)