| 1 |
.TH "libnvme" 9 "struct nvme_get_lba_status_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_get_lba_status_args \- Arguments for the NVMe Get LBA Status command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_get_lba_status_args { |
| 6 |
.br |
| 7 |
.BI " __u64 slba;" |
| 8 |
.br |
| 9 |
.BI " __u32 *result;" |
| 10 |
.br |
| 11 |
.BI " struct nvme_lba_status *lbas;" |
| 12 |
.br |
| 13 |
.BI " int args_size;" |
| 14 |
.br |
| 15 |
.BI " int fd;" |
| 16 |
.br |
| 17 |
.BI " __u32 timeout;" |
| 18 |
.br |
| 19 |
.BI " __u32 nsid;" |
| 20 |
.br |
| 21 |
.BI " __u32 mndw;" |
| 22 |
.br |
| 23 |
.BI " enum nvme_lba_status_atype atype;" |
| 24 |
.br |
| 25 |
.BI " __u16 rl;" |
| 26 |
.br |
| 27 |
.BI " |
| 28 |
}; |
| 29 |
.br |
| 30 |
|
| 31 |
.SH Members |
| 32 |
.IP "slba" 12 |
| 33 |
Starting logical block address to check statuses |
| 34 |
.IP "result" 12 |
| 35 |
The command completion result from CQE dword0 |
| 36 |
.IP "lbas" 12 |
| 37 |
Data payload to return status descriptors |
| 38 |
.IP "args_size" 12 |
| 39 |
Size of \fIstruct nvme_get_lba_status_args\fP |
| 40 |
.IP "fd" 12 |
| 41 |
File descriptor of nvme device |
| 42 |
.IP "timeout" 12 |
| 43 |
Timeout in ms |
| 44 |
.IP "nsid" 12 |
| 45 |
Namespace ID to retrieve LBA status |
| 46 |
.IP "mndw" 12 |
| 47 |
Maximum number of dwords to return |
| 48 |
.IP "atype" 12 |
| 49 |
Action type mechanism to determine LBA status descriptors to |
| 50 |
return, see \fIenum nvme_lba_status_atype\fP |
| 51 |
.IP "rl" 12 |
| 52 |
Range length from slba to perform the action |