mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
f11f594edb
The SCSI Block Protocol uses this 16-bit CRC to verify the integrity of each data sector. crc_t10dif() is used by sd_dif.c when performing I/O to or from disks formatted with protection information. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
9 lines
140 B
C
9 lines
140 B
C
#ifndef _LINUX_CRC_T10DIF_H
|
|
#define _LINUX_CRC_T10DIF_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
__u16 crc_t10dif(unsigned char const *, size_t);
|
|
|
|
#endif
|