1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_dsm_args - Arguments for the NVMe Dataset Management com‐
7 mand
8
10 struct nvme_dsm_args {
11 __u32 *result;
12 struct nvme_dsm_range *dsm;
13 int args_size;
14 int fd;
15 __u32 timeout;
16 __u32 nsid;
17 __u32 attrs;
18 __u16 nr_ranges;
19 };
20
21
23 result The command completion result from CQE dword0
24
25 dsm The data set management attributes
26
27 args_size Size of struct nvme_dsm_args
28
29 fd File descriptor of nvme device
30
31 timeout Timeout in ms
32
33 nsid Namespace identifier
34
35 attrs DSM attributes, see enum nvme_dsm_attributes
36
37 nr_ranges Number of block ranges in the data set management at‐
38 tributes
39
40
41
42April 2022 struct nvme_dsm_args libnvme(9)