Debian Codegraph @

doc/man/nvme_submit_admin_passthru.2

raw
1 .TH "nvme_submit_admin_passthru" 9 "nvme_submit_admin_passthru" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_submit_admin_passthru \- Submit an nvme passthrough admin command
4 .SH SYNOPSIS
5 .B "int" nvme_submit_admin_passthru
6 .BI "(int fd " ","
7 .BI "struct nvme_passthru_cmd *cmd " ","
8 .BI "__u32 *result " ");"
9 .SH ARGUMENTS
10 .IP "fd" 12
11 File descriptor of nvme device
12 .IP "cmd" 12
13 The nvme admin command to send
14 .IP "result" 12
15 Optional field to return the result from the CQE DW0
16 .SH "DESCRIPTION"
17 Uses NVME_IOCTL_ADMIN_CMD for the ioctl request.
18 .SH "RETURN"
19 The nvme command status if a response was received (see
20 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.