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_set_features_data - Helper function for @nvme_set_features()

Arguments

fd File descriptor of nvme device fid Feature identifier nsid Namespace ID, if applicable cdw11 Value to set the feature to save Save value across power states 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_set_features_data - Helper function for @nvme_set_features()

Return

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

Synopsis

intnvme_set_features_data(intfd,__u8fid,__u32nsid,__u32cdw11,boolsave,__u32data_len,void*data,__u32*result);

See Also