Debian Codegraph @

doc/man/nvme_mi_admin_get_log_page.2

raw
1 .TH "nvme_mi_admin_get_log_page" 9 "nvme_mi_admin_get_log_page" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_mi_admin_get_log_page \- Retrieve log page data from controller
4 .SH SYNOPSIS
5 .B "int" nvme_mi_admin_get_log_page
6 .BI "(nvme_mi_ctrl_t ctrl " ","
7 .BI "__u32 xfer_len " ","
8 .BI "struct nvme_get_log_args *args " ");"
9 .SH ARGUMENTS
10 .IP "ctrl" 12
11 Controller to query
12 .IP "xfer_len" 12
13 The chunk size of the read
14 .IP "args" 12
15 Get Log Page command arguments
16 .SH "DESCRIPTION"
17 Performs a Get Log Page Admin command as specified by \fIargs\fP. Response data
18 is stored in \fIargs->data\fP, which should be a buffer of \fIargs->data_len\fP bytes.
19 Resulting data length is stored in \fIargs->data_len\fP on successful
20 command completion.
21
22 This request may be implemented as multiple log page commands, in order
23 to fit within MI message-size limits.
24
25 See: \fIstruct nvme_get_log_args\fP
26 .SH "RETURN"
27 The nvme command status if a response was received (see
28 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.