DOKK / manpages / debian 12 / libnvme-dev / nvme_get_directive_receive_length.2.en
nvme_get_directive_receive_length(2) libnvme API manual nvme_get_directive_receive_length(2)

nvme_get_directive_receive_length - Get directive receive length

int nvme_get_directive_receive_length (enum nvme_directive_dtype dtype , enum nvme_directive_receive_doper doper , __u32 *len );

Directive type, see enum nvme_directive_dtype
Directive receive operation, see enum nvme_directive_receive_doper
On success, set to this directives payload length in bytes.

0 on success, -1 with errno set to EINVAL if the function did not recognize dtype or doper.

nvme_get_directive_receive_length January 2023