1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_sanitize_nvm_args - Arguments for the NVMe Sanitize NVM
7 command
8
10 struct nvme_sanitize_nvm_args {
11 __u32 *result;
12 int args_size;
13 int fd;
14 __u32 timeout;
15 enum nvme_sanitize_sanact sanact;
16 __u32 ovrpat;
17 bool ause;
18 __u8 owpass;
19 bool oipbp;
20 bool nodas;
21 };
22
23
25 result The command completion result from CQE dword0
26
27 args_size Size of struct nvme_sanitize_nvm_args
28
29 fd File descriptor of nvme device
30
31 timeout Timeout in ms
32
33 sanact Sanitize action, see enum nvme_sanitize_sanact
34
35 ovrpat Overwrite pattern
36
37 ause Set to allow unrestriced sanitize exit
38
39 owpass Overwrite pass count
40
41 oipbp Set to overwrite invert pattern between passes
42
43 nodas Set to not deallocate blocks after sanitizing
44
45
46
47April 2022 struct nvme_sanitize_nvm_args libnvme(9)