---
name: "nvme_init_zns_report_zones-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_report_zones-libnvme3"
---

# nvme\_init\_zns\_report\_zones-libnvme3(2)

Initialize passthru command to return the list of zones

## NAME

nvme\_init\_zns\_report\_zones - Initialize passthru command to return the list of zones

## SYNOPSIS

**void nvme\_init\_zns\_report\_zones** **(struct libnvme\_passthru\_cmd \*cmd** *,* **\_\_u32 nsid** *,* **\_\_u64 slba** *,* **enum nvme\_zns\_report\_options opts** *,* **bool extended** *,* **bool partial** *,* **void \*data** *,* **\_\_u32 len** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- nsid

  Namespace ID

- slba

  Starting LBA

- opts

  Reporting options

- extended

  Extended report

- partial

  Partial report requested

- data

  Userspace address of the report zones data buffer

- len

  Length of the data buffer

## DESCRIPTION

Initializes the passthru command buffer for the ZNS Management Receive - Report Zones command.
