---
name: "nvme_init_resv_acquire-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_resv_acquire-libnvme3"
---

# nvme\_init\_resv\_acquire-libnvme3(2)

Initialize passthru command for Reservation Acquire

## NAME

nvme\_init\_resv\_acquire - Initialize passthru command for Reservation Acquire

## SYNOPSIS

**void nvme\_init\_resv\_acquire** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **enum nvme\_resv\_racqa racqa** *,* **bool iekey** *,* **bool disnsrs** *,* **enum nvme\_resv\_rtype rtype** *,* **\_\_u64 crkey** *,* **\_\_u64 prkey** *,* **\_\_le64 \*payload** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace identifier

- racqa

  The action that is performed by the command, see *enum nvme\_resv\_racqa*

- iekey

  Set to ignore the existing key

- disnsrs

  Disperse Namespace Reservation Support

- rtype

  The type of reservation to be create, see *enum nvme\_resv\_rtype*

- crkey

  The current reservation key associated with the host

- prkey

  Preempt Reservation Key

- payload

  Data payload buffer to hold crkey and prkey

## DESCRIPTION

Initializes the passthru command buffer for the Reservation Acquire command.
