| 1 |
.TH "nvme_get_features_lba_range2" 9 "nvme_get_features_lba_range2" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_get_features_lba_range2 \- Get LBA range feature |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_get_features_lba_range2 |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "enum nvme_get_features_sel sel " "," |
| 8 |
.BI "__u32 nsid " "," |
| 9 |
.BI "struct nvme_lba_range_type *data " "," |
| 10 |
.BI "__u32 *result " ");" |
| 11 |
.SH ARGUMENTS |
| 12 |
.IP "fd" 12 |
| 13 |
File descriptor of nvme device |
| 14 |
.IP "sel" 12 |
| 15 |
Select which type of attribute to return, see \fIenum nvme_get_features_sel\fP |
| 16 |
.IP "nsid" 12 |
| 17 |
Namespace ID |
| 18 |
.IP "data" 12 |
| 19 |
Buffer to receive LBA Range Type data structure |
| 20 |
.IP "result" 12 |
| 21 |
The command completion result from CQE dword0 |
| 22 |
.SH "RETURN" |
| 23 |
The nvme command status if a response was received (see |
| 24 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |