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_admin_passthru - Submit an nvme passthrough admin command

Arguments

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

Description

Uses NVME_IOCTL_ADMIN_CMD for the ioctl request.

Name

nvme_submit_admin_passthru - Submit an nvme passthrough admin command

Return

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

Synopsis

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

See Also