---
name: "nvme_init_zns_append-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_zns_append-libnvme3"
---

# nvme\_init\_zns\_append-libnvme3(2)

Initialize passthru command to append data to a zone

## NAME

nvme\_init\_zns\_append - Initialize passthru command to append data to a zone

## SYNOPSIS

**void nvme\_init\_zns\_append** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **\_\_u64 zslba** *,* **\_\_u16 nlb** *,* **\_\_u16 control** *,* **\_\_u16 cev** *,* **\_\_u16 dspec** *,* **void \*data** *,* **\_\_u32 data\_len** *,* **void \*metadata** *,* **\_\_u32 metadata\_len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace ID

- zslba

  Zone start logical block address

- nlb

  Number of logical blocks

- control

  Upper 16 bits of cdw12

- cev

  Command Extension Value

- dspec

  Directive Specific

- data

  Userspace address of the data buffer

- data\_len

  Length of *data*

- metadata

  Userspace address of the metadata buffer

- metadata\_len

  Length of *metadata*

## DESCRIPTION

Initializes the passthru command buffer for the ZNS Append command.
