nvme_set_features_data - Helper function for @nvme_set_features()
Contents
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);
