libnvme_get_directive_receive_length-libnvme32
Get directive receive length
Usage
int libnvme_get_directive_receive_length (enum nvme_directive_dtype dtype , enum nvme_directive_receive_doper doper , __u32 *len );
Arguments
dtype
|
Directive type, see enum nvme_directive_dtype |
|---|---|
doper
|
Directive receive operation, see enum nvme_directive_receive_doper |
len
|
On success, set to this directives payload length in bytes. |
Return
0 on success, -1 with errno set to EINVAL if the function did not recognize dtype or doper.