summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_security_send_args.2
blob: ac9272bdcacdcedeef40e3b8a3e7cf0bcc504bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.TH "libnvme" 9 "struct nvme_security_send_args" "April 2022" "API Manual" LINUX
.SH NAME
struct nvme_security_send_args \- Arguments for the NVMe Security Send command
.SH SYNOPSIS
struct nvme_security_send_args {
.br
.BI "    __u32 *result;"
.br
.BI "    void *data;"
.br
.BI "    int args_size;"
.br
.BI "    int fd;"
.br
.BI "    __u32 timeout;"
.br
.BI "    __u32 nsid;"
.br
.BI "    __u32 tl;"
.br
.BI "    __u32 data_len;"
.br
.BI "    __u8 nssf;"
.br
.BI "    __u8 spsp0;"
.br
.BI "    __u8 spsp1;"
.br
.BI "    __u8 secp;"
.br
.BI "
};
.br

.SH Members
.IP "result" 12
The command completion result from CQE dword0
.IP "data" 12
Security data payload to send
.IP "args_size" 12
Size of \fIstruct nvme_security_send_args\fP
.IP "fd" 12
File descriptor of nvme device
.IP "timeout" 12
Timeout in ms
.IP "nsid" 12
Namespace ID to issue security command on
.IP "tl" 12
Protocol specific transfer length
.IP "data_len" 12
Data length of the payload in bytes
.IP "nssf" 12
NVMe Security Specific field
.IP "spsp0" 12
Security Protocol Specific field
.IP "spsp1" 12
Security Protocol Specific field
.IP "secp" 12
Security Protocol