| 1 |
.TH "libnvme" 9 "struct nvme_ns_attach_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_ns_attach_args \- Arguments for Nvme Namespace Management command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_ns_attach_args { |
| 6 |
.br |
| 7 |
.BI " __u32 *result;" |
| 8 |
.br |
| 9 |
.BI " struct nvme_ctrl_list *ctrlist;" |
| 10 |
.br |
| 11 |
.BI " int args_size;" |
| 12 |
.br |
| 13 |
.BI " int fd;" |
| 14 |
.br |
| 15 |
.BI " __u32 timeout;" |
| 16 |
.br |
| 17 |
.BI " __u32 nsid;" |
| 18 |
.br |
| 19 |
.BI " enum nvme_ns_attach_sel sel;" |
| 20 |
.br |
| 21 |
.BI " |
| 22 |
}; |
| 23 |
.br |
| 24 |
|
| 25 |
.SH Members |
| 26 |
.IP "result" 12 |
| 27 |
NVMe command result |
| 28 |
.IP "ctrlist" 12 |
| 29 |
Controller list to modify attachment state of nsid |
| 30 |
.IP "args_size" 12 |
| 31 |
Size of \fIstruct nvme_ns_attach_args\fP |
| 32 |
.IP "fd" 12 |
| 33 |
File descriptor of nvme device |
| 34 |
.IP "timeout" 12 |
| 35 |
Timeout in ms |
| 36 |
.IP "nsid" 12 |
| 37 |
Namespace ID to execute attach selection |
| 38 |
.IP "sel" 12 |
| 39 |
Attachment selection, see \fIenum nvme_ns_attach_sel\fP |