mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00: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>
8 lines
140 B
C
8 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
|