libnvme(9) API Manual libnvme(9)

struct libnvme_passthru_completion - Async passthru completion record

struct libnvme_passthru_completion {
struct libnvme_passthru_cmd *cmd;
void *cookie;
int status;
};

Command that completed
User cookie provided to libnvme_submit_*_passthru
Completion status (NVMe status or negative errno)

Used for both admin and IO passthru command completions.

struct libnvme_passthru_completion September 2026