OS Manuals

nvme_init_cancel-libnvme3(2)

nvme_init_cancel - Initialize passthru command for Cancel command

nvme_init_cancel(9) libnvme API manual nvme_init_cancel(9)

nvme_init_cancel - Initialize passthru command for Cancel command

void nvme_init_cancel (struct libnvme_passthru_cmd *cmd , __u32 nsid , __u16 sqid , __u16 cid , enum nvme_cancel_acode acode );

Passthru command to use
Namespace identifier, or NVME_NSID_ALL
Submission Queue Identifier (SQID) that the Cancel command is associated with
Command Identifier (CID) of the command to abort. Ignored if acode is NVME_CANCEL_ACODE_MULTIPLE_CMD.
Action Code (ACODE), see enum nvme_cancel_acode

The Cancel command requests an abort for specified commands submitted on the same I/O Submission Queue to which the Cancel command is submitted. The number of commands eligible for a deferred abort and the number of commands aborted are returned in the CQE result, see enum nvme_cancel_cqe_dw0.

Initializes the passthru command buffer for the Cancel command.

nvme_init_cancel October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31