summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_identify_allocated_ns.2
blob: 89120e5213b659b462e52e3aed2c1db7bbf04005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.TH "nvme_identify_allocated_ns" 9 "nvme_identify_allocated_ns" "January 2023" "libnvme API manual" LINUX
.SH NAME
nvme_identify_allocated_ns \- Same as nvme_identify_ns, but only for allocated namespaces
.SH SYNOPSIS
.B "int" nvme_identify_allocated_ns
.BI "(int fd "  ","
.BI "__u32 nsid "  ","
.BI "struct nvme_id_ns *ns "  ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.IP "nsid" 12
Namespace to identify
.IP "ns" 12
User space destination address to transfer the data
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.