Lines Matching full:mid
88 int i, start, mid, end, mask; in do_csum() local
100 mid = len - start; in do_csum()
101 end = mid & 0xF; in do_csum()
102 mid = mid>>4; in do_csum()
103 sum0 = mid << 18; in do_csum()
128 if (mid) { in do_csum()
131 if (mid > 1) in do_csum()
132 for (i = 0; i < mid-1; i++) { in do_csum()
148 ptr4 = (unsigned int *) &ptr[start + (mid * 16) + (end & 8)]; in do_csum()
155 ptr2 = (unsigned short *) &ptr[start + (mid * 16) + (end & 12)]; in do_csum()
160 sum1 += (u64) ptr[start + (mid * 16) + (end & 14)]; in do_csum()
162 ptr8 = (u64 *) &ptr[start + (mid * 16)]; in do_csum()