nvme_init_dsm_range - Constructs a data set range structure
Contents
Arguments
dsm DSM range array
ctx_attrs Array of context attributes
llbas Array of length in logical blocks
slbas Array of starting logical blocks
nr_ranges The size of the dsm arrays
Description
Each array must be the same size of size 'nr_ranges'. This is intended to be used with constructing a
payload for nvme_dsm.
Name
nvme_init_dsm_range - Constructs a data set range structure
Return
The nvme command status if a response was received or -errno otherwise.
August 2025 nvme_init_dsm_range nvme_init_dsm_range(2)
Synopsis
voidnvme_init_dsm_range(structnvme_dsm_range*dsm,__u32*ctx_attrs,__u32*llbas,__u64*slbas,__u16nr_ranges);
