DOKK / manpages / debian 12 / libnvme-dev / nvme_mi_admin_get_log_boot_partition.2.en
nvme_mi_admin_get_log_boot_partition(2) libnvme API manual nvme_mi_admin_get_log_boot_partition(2)

nvme_mi_admin_get_log_boot_partition - Retrieve Boot Partition

int nvme_mi_admin_get_log_boot_partition (nvme_mi_ctrl_t ctrl , bool rae , __u8 lsp , __u32 len , struct nvme_boot_partition *part );

Controller to query
Retain asynchronous events
The log specified field of LID
The allocated size, minimum struct nvme_boot_partition
User address to store the log page

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_mi_admin_get_log_boot_partition January 2023