| 1 |
.TH "libnvme" 9 "struct nvme_ns_mgmt_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_ns_mgmt_args \- Arguments for NVMe Namespace Management command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_ns_mgmt_args { |
| 6 |
.br |
| 7 |
.BI " __u32 *result;" |
| 8 |
.br |
| 9 |
.BI " struct nvme_id_ns *ns;" |
| 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_mgmt_sel sel;" |
| 20 |
.br |
| 21 |
.BI " __u8 csi;" |
| 22 |
.br |
| 23 |
.BI " __u8 rsvd1[3];" |
| 24 |
.br |
| 25 |
.BI " void *rsvd2;" |
| 26 |
.br |
| 27 |
.BI " struct nvme_ns_mgmt_host_sw_specified *data;" |
| 28 |
.br |
| 29 |
.BI " |
| 30 |
}; |
| 31 |
.br |
| 32 |
|
| 33 |
.SH Members |
| 34 |
.IP "result" 12 |
| 35 |
NVMe command result |
| 36 |
.IP "ns" 12 |
| 37 |
Namespace identification descriptors |
| 38 |
.IP "args_size" 12 |
| 39 |
Size of \fIstruct nvme_ns_mgmt_args\fP |
| 40 |
.IP "fd" 12 |
| 41 |
File descriptor of nvme device |
| 42 |
.IP "timeout" 12 |
| 43 |
Timeout in ms |
| 44 |
.IP "nsid" 12 |
| 45 |
Namespace identifier |
| 46 |
.IP "sel" 12 |
| 47 |
Type of management operation to perform |
| 48 |
.IP "csi" 12 |
| 49 |
Command Set Identifier |
| 50 |
.IP "rsvd1" 12 |
| 51 |
Reserved |
| 52 |
.IP "rsvd2" 12 |
| 53 |
Reserved |
| 54 |
.IP "data" 12 |
| 55 |
Host Software Specified Fields |