1nvme_mi_admin_get_log(9) libnvme API manual nvme_mi_admin_get_log(9)
2
3
4
6 nvme_mi_admin_get_log - Retrieve log page data from controller
7
9 int nvme_mi_admin_get_log (nvme_mi_ctrl_t ctrl , struct
10 nvme_get_log_args *args );
11
13 ctrl Controller to query
14
15 args Get Log Page command arguments
16
18 Performs a Get Log Page Admin command as specified by args. Response
19 data is stored in args->data, which should be a buffer of
20 args->data_len bytes. Resulting data length is stored in
21 args->data_len on successful command completion.
22
23 This request may be implemented as multiple log page commands, in order
24 to fit within MI message-size limits.
25
26 See: struct nvme_get_log_args
27
29 The nvme command status if a response was received (see enum nvme_sta‐
30 tus_field) or -1 with errno set otherwise.
31
32
33
34April 2023 nvme_mi_admin_get_log nvme_mi_admin_get_log(9)