Ubuntu Manpages

nvme_status_equals

helper to check a status against a type and value

__u32 nvme_status_equals (int status , enum nvme_status_type type , unsigned int value );

the (non-negative) return value from the NVMe API
the status type
the status value

true if status is of the specified type and value