| 1 |
.TH "nvme_identify_ns_granularity" 9 "nvme_identify_ns_granularity" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_identify_ns_granularity \- Retrieves namespace granularity identification |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_identify_ns_granularity |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "struct nvme_id_ns_granularity_list *gr_list " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "fd" 12 |
| 10 |
File descriptor of nvme device |
| 11 |
.IP "gr_list" 12 |
| 12 |
User space destination address to transfer the data |
| 13 |
.SH "DESCRIPTION" |
| 14 |
If the controller supports reporting of Namespace Granularity, then a |
| 15 |
Namespace Granularity List is returned to the host for up to sixteen |
| 16 |
namespace granularity descriptors |
| 17 |
|
| 18 |
See \fIstruct nvme_id_ns_granularity_list\fP for the definition of the returned |
| 19 |
structure. |
| 20 |
.SH "RETURN" |
| 21 |
The nvme command status if a response was received (see |
| 22 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |