---
name: "nvme_submit_admin_passthru64"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_submit_admin_passthru64"
---

# nvme\_submit\_admin\_passthru64(2)

Submit a 64-bit nvme passthrough admin command

## NAME

nvme\_submit\_admin\_passthru64 - Submit a 64-bit nvme passthrough admin command

## SYNOPSIS

**int nvme\_submit\_admin\_passthru64** **(int fd** *,* **struct nvme\_passthru\_cmd64 \*cmd** *,* **\_\_u64 \*result** *);*

## 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-1

## DESCRIPTION

Uses NVME\_IOCTL\_ADMIN64\_CMD for the ioctl request.

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
