nvme\_init\_resv\_register(9) libnvme API manual nvme\_init\_resv\_register(9)

# [NAME](#NAME)

nvme\_init\_resv\_register - Initialize passthru command for Reservation Register

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_resv\_register** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u32 nsid ,** **enum nvme\_resv\_rrega rrega ,** **bool iekey ,** **bool disnsrs ,** **enum nvme\_resv\_cptpl cptpl ,** **\_\_u64 crkey ,** **\_\_u64 nrkey ,** **\_\_le64 \*payload );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[nsid](#nsid)

Namespace identifier

[rrega](#rrega)

The registration action, see *enum nvme\_resv\_rrega*

[iekey](#iekey)

Set to ignore the existing key

[disnsrs](#disnsrs)

Disperse Namespace Reservation Support

[cptpl](#cptpl)

Change persist through power loss, see *enum nvme\_resv\_cptpl*

[crkey](#crkey)

The current reservation key associated with the host

[nrkey](#nrkey)

The new reservation key to be register if action is register or replace

[payload](#payload)

Data payload buffer to hold crkey and nrkey

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Reservation Register command.

nvme\_init\_resv\_register October 2026

---

Document: nvme_init_resv_register-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
