nvme\_init\_zns\_report\_zones(9) libnvme API manual nvme\_init\_zns\_report\_zones(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#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](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[nsid](#nsid)

Namespace ID

[slba](#slba)

Starting LBA

[opts](#opts)

Reporting options

[extended](#extended)

Extended report

[partial](#partial)

Partial report requested

[data](#data)

Userspace address of the report zones data buffer

[len](#len)

Length of the data buffer

# [DESCRIPTION](#DESCRIPTION)

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

nvme\_init\_zns\_report\_zones October 2026

---

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