Home
last modified time | relevance | path

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

/block/partitions/
Dsgi.c26 __be32 csum; /* Disk label checksum */ member
32 int i, csum; in sgi_partition() local
54 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition()
56 csum += be32_to_cpu(cs); in sgi_partition()
58 if(csum) { in sgi_partition()
Dsun.c16 __be16 csum; in sun_partition() local
56 __be16 csum; /* Label xor'd checksum */ in sun_partition() member
77 for (csum = 0; ush >= ((__be16 *) label);) in sun_partition()
78 csum ^= *ush--; in sun_partition()
79 if (csum) { in sun_partition()
/block/
Dt10-pi.c80 __be16 csum; in t10_pi_verify() local
104 csum = fn(iter->data_buf, iter->interval); in t10_pi_verify()
106 if (pi->guard_tag != csum) { in t10_pi_verify()
110 be16_to_cpu(pi->guard_tag), be16_to_cpu(csum)); in t10_pi_verify()