libnvme_exec_admin_passthru(9) libnvme API manual libnvme_exec_admin_passthru(9)

libnvme_exec_admin_passthru - Submit an admin passthru command and wait

int libnvme_exec_admin_passthru (struct libnvme_transport_handle *hdl , struct libnvme_passthru_cmd *cmd );

Transport handle
The nvme admin command to send

Synchronous command execution.

The nvme command status if a response was received (see enum nvme_status_field), or negative error code otherwise.

libnvme_exec_admin_passthru September 2026