summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_log_discovery.2
blob: 761dfc60fde90765efe980f3c7cf6ef4f1c0270c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH "nvme_get_log_discovery" 9 "nvme_get_log_discovery" "August 2022" "libnvme API manual" LINUX
.SH NAME
nvme_get_log_discovery \- Retrieve Discovery log page
.SH SYNOPSIS
.B "int" nvme_get_log_discovery
.BI "(int fd "  ","
.BI "bool rae "  ","
.BI "__u32 offset "  ","
.BI "__u32 len "  ","
.BI "void *log "  ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.IP "rae" 12
Retain asynchronous events
.IP "offset" 12
Offset of this log to retrieve
.IP "len" 12
The allocated size for this portion of the log
.IP "log" 12
User address to store the discovery log
.SH "DESCRIPTION"
Supported only by fabrics discovery controllers, returning discovery
records.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.