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_features_data - Helper function for @nvme_get_features()

Arguments

fd File descriptor of nvme device fid Feature identifier nsid Namespace ID, if applicable data_len Length of feature data, if applicable, in bytes data User address of feature data, if applicable result The command completion result from CQE dword0

Name

nvme_get_features_data - Helper function for @nvme_get_features()

Return

The nvme command status if a response was received (see enumnvme_status_field) or -1 with errno set otherwise. August 2025 nvme_get_features_data nvme_get_features_data(2)

Synopsis

intnvme_get_features_data(intfd,enumnvme_features_idfid,__u32nsid,__u32data_len,void*data,__u32*result);

See Also