Home
last modified time | relevance | path

Searched refs:csum (Results 1 – 3 of 3) sorted by relevance

/block/partitions/
Dsgi.c32 __be32 csum; /* Disk label checksum */ member
38 int i, csum; in sgi_partition() local
60 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition()
62 csum += be32_to_cpu(cs); in sgi_partition()
64 if(csum) { in sgi_partition()
Dsun.c24 __be16 csum; in sun_partition() local
64 __be16 csum; /* Label xor'd checksum */ in sun_partition() member
85 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
86 csum ^= *ush--; in sun_partition()
87 if (csum) { in sun_partition()
/block/
Dt10-pi.c63 __be16 csum; in t10_pi_verify() local
84 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify()
86 if (pi->guard_tag != csum) { in t10_pi_verify()
90 be16_to_cpu(pi->guard_tag), be16_to_cpu(csum)); in t10_pi_verify()