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_nsid_log - Helper for Get Log Page functions

Arguments

ctrl Controller to query rae Retain Asynchronous Events lid Log identifier nsid Namespace ID len length of log buffer log pointer for resulting log data

Description

Performs a Get Log Page Admin command for a specific log ID lid and namespace ID nsid. Log data is expected to be len bytes, and is stored in log on success. The rae flag is passed as-is to the Get Log Page command, and is specific to the Log Page requested.

Name

nvme_mi_admin_get_nsid_log - Helper for Get Log Page functions

Return

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

Synopsis

intnvme_mi_admin_get_nsid_log(nvme_mi_ctrl_tctrl,boolrae,enumnvme_cmd_get_log_lidlid,__u32nsid,__u32len,void*log);

See Also