libnvme_mi_aem_process-libnvme3(2)

libnvme_mi_aem_process-libnvme32

Process aem on the provided endpoint

Usage

int libnvme_mi_aem_process (struct libnvme_mi_ep *ep , void *userdata );

Arguments

ep

Endpoint to process

userdata

Application provided context pointer for callback function

Overview

Call this if poll indicates data is available on the fd provided by libnvme_mi_aem_get_fd

This will call the fn pointer, aem_handler, provided with libnvme_mi_aem_config and the application can call libnvme_mi_aem_get_next_event from within this callback to get aem event data. The callback function should return NVME_MI_AEM_HNA_ACK for normal operation.

Return

0 on success, negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.