logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_mi_admin_get_log - Retrieve log page data from controller

Arguments

ctrl Controller to query args Get Log Page command arguments

Description

Performs a Get Log Page Admin command as specified by args. Response data is stored in args->data, which should be a buffer of args->data_len bytes. Resulting data length is stored in args->data_len on successful command completion. This request may be implemented as multiple log page commands, in order to fit within MI message-size limits. See: structnvme_get_log_args

Name

nvme_mi_admin_get_log - Retrieve log page data from controller

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set otherwise. August 2025 nvme_mi_admin_get_log nvme_mi_admin_get_log(2)

Synopsis

intnvme_mi_admin_get_log(nvme_mi_ctrl_tctrl,structnvme_get_log_args*args);

See Also