| 1 |
.TH "nvme_init_dsm_range" 9 "nvme_init_dsm_range" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_init_dsm_range \- Constructs a data set range structure |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "void" nvme_init_dsm_range |
| 6 |
.BI "(struct nvme_dsm_range *dsm " "," |
| 7 |
.BI "__u32 *ctx_attrs " "," |
| 8 |
.BI "__u32 *llbas " "," |
| 9 |
.BI "__u64 *slbas " "," |
| 10 |
.BI "__u16 nr_ranges " ");" |
| 11 |
.SH ARGUMENTS |
| 12 |
.IP "dsm" 12 |
| 13 |
DSM range array |
| 14 |
.IP "ctx_attrs" 12 |
| 15 |
Array of context attributes |
| 16 |
.IP "llbas" 12 |
| 17 |
Array of length in logical blocks |
| 18 |
.IP "slbas" 12 |
| 19 |
Array of starting logical blocks |
| 20 |
.IP "nr_ranges" 12 |
| 21 |
The size of the dsm arrays |
| 22 |
.SH "DESCRIPTION" |
| 23 |
Each array must be the same size of size 'nr_ranges'. This is intended to be |
| 24 |
used with constructing a payload for \fBnvme_dsm\fP. |
| 25 |
.SH "RETURN" |
| 26 |
The nvme command status if a response was received or -errno |
| 27 |
otherwise. |