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

nvme_get_log_boot_partition - Retrieve Boot Partition

int nvme_get_log_boot_partition (int fd , bool rae , __u8 lsp , __u32 len , struct nvme_boot_partition *part );

File descriptor of nvme device
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_get_log_boot_partition January 2023