Debian Codegraph @

doc/man/nvme_get_feature_length2.2

raw
1 .TH "nvme_get_feature_length2" 9 "nvme_get_feature_length2" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_get_feature_length2 \- Retreive the command payload length for a specific feature identifier
4 .SH SYNOPSIS
5 .B "int" nvme_get_feature_length2
6 .BI "(int fid " ","
7 .BI "__u32 cdw11 " ","
8 .BI "enum nvme_data_tfr dir " ","
9 .BI "__u32 *len " ");"
10 .SH ARGUMENTS
11 .IP "fid" 12
12 Feature identifier, see \fIenum nvme_features_id\fP.
13 .IP "cdw11" 12
14 The cdw11 value may affect the transfer (only known fid is
15 NVME_FEAT_FID_HOST_ID)
16 .IP "dir" 12
17 Data transfer direction: false - host to controller, true -
18 controller to host may affect the transfer (only known fid is
19 NVME_FEAT_FID_HOST_MEM_BUF).
20 .IP "len" 12
21 On success, set to this features payload length in bytes.
22 .SH "RETURN"
23 0 on success, -1 with errno set to EINVAL if the function did not
24 recognize \fIfid\fP.