summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_identify_allocated_ns.2
blob: 3927da445c39c70ed30f38ab6c8d8d78d2935e2f (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" "April 2022" "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.