Debian Codegraph @

doc/man/nvme_zns_report_zones.2

raw
1 .TH "nvme_zns_report_zones" 9 "nvme_zns_report_zones" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_zns_report_zones \- Return the list of zones
4 .SH SYNOPSIS
5 .B "int" nvme_zns_report_zones
6 .BI "(int fd " ","
7 .BI "__u32 nsid " ","
8 .BI "__u64 slba " ","
9 .BI "enum nvme_zns_report_options opts " ","
10 .BI "bool extended " ","
11 .BI "bool partial " ","
12 .BI "__u32 data_len " ","
13 .BI "void *data " ","
14 .BI "__u32 timeout " ","
15 .BI "__u32 *result " ");"
16 .SH ARGUMENTS
17 .IP "fd" 12
18 File descriptor of nvme device
19 .IP "nsid" 12
20 Namespace ID
21 .IP "slba" 12
22 Starting LBA
23 .IP "opts" 12
24 Reporting options
25 .IP "extended" 12
26 Extended report
27 .IP "partial" 12
28 Partial report requested
29 .IP "data_len" 12
30 Length of the data buffer
31 .IP "data" 12
32 Userspace address of the report zones data
33 .IP "timeout" 12
34 timeout in ms
35 .IP "result" 12
36 The command completion result from CQE dword0
37 .SH "RETURN"
38 The nvme command status if a response was received (see
39 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.