nvmf_get_discovery_log - Return the discovery log page
Contents
Arguments
c Discovery controller to use
logp Pointer to the log page to be returned
max_retries Number of retries in case of failure
Description
The memory allocated for the log page and returned in logp must be freed by the caller using free.
Name
nvmf_get_discovery_log - Return the discovery log page
Note
Consider using nvmf_get_discovery_wargs instead.
Return
0 on success; on failure -1 is returned and errno is set
August 2025 nvmf_get_discovery_log nvmf_get_discovery_log(2)
Synopsis
intnvmf_get_discovery_log(nvme_ctrl_tc,structnvmf_discovery_log**logp,intmax_retries);
