logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_submit_io_passthru - Submit an nvme passthrough command

Arguments

fd File descriptor of nvme device cmd The nvme io command to send result Optional field to return the result from the CQE DW0

Description

Uses NVME_IOCTL_IO_CMD for the ioctl request.

Name

nvme_submit_io_passthru - Submit an nvme passthrough command

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set otherwise. August 2025 nvme_submit_io_passthru nvme_submit_io_passthru(2)

Synopsis

intnvme_submit_io_passthru(intfd,structnvme_passthru_cmd*cmd,__u32*result);

See Also