logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvme_get_feature_length2 - Retreive the command payload length for a specific feature identifier

Arguments

fid Feature identifier, see enumnvme_features_id. cdw11 The cdw11 value may affect the transfer (only known fid is NVME_FEAT_FID_HOST_ID) dir Data transfer direction: false - host to controller, true - controller to host may affect the transfer (only known fid is NVME_FEAT_FID_HOST_MEM_BUF). len On success, set to this features payload length in bytes.

Name

nvme_get_feature_length2 - Retreive the command payload length for a specific feature identifier

Return

0 on success, -1 with errno set to EINVAL if the function did not recognize fid. May 2025 nvme_get_feature_length2 nvme_get_feature_length2(2)

Synopsis

intnvme_get_feature_length2(intfid,__u32cdw11,enumnvme_data_tfrdir,__u32*len);

See Also