Scroll to navigation

nvme_zns_report_zones(9) libnvme API manual nvme_zns_report_zones(9)

NAME

nvme_zns_report_zones - Return the list of zones

SYNOPSIS

int nvme_zns_report_zones (int fd , __u32 nsid , __u64 slba , enum nvme_zns_report_options opts , bool extended , bool partial , __u32 data_len , void *data , __u32 timeout , __u32 *result );

ARGUMENTS

File descriptor of nvme device
Namespace ID
Starting LBA
Reporting options
Extended report
Partial report requested
Length of the data buffer
Userspace address of the report zones data
timeout in ms
The command completion result from CQE dword0

RETURN

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_zns_report_zones February 2024