Lines Matching full:csum
39 unsigned long csum = 0; in ip_fast_csum() local
43 csum += ((const unsigned int *)iph)[pos]; in ip_fast_csum()
45 csum += csum < ((const unsigned int *)iph)[pos]; in ip_fast_csum()
66 not %[fold_temp], %[csum] \n\ in ip_fast_csum()
67 rori %[csum], %[csum], 16 \n\ in ip_fast_csum()
68 sub %[csum], %[fold_temp], %[csum] \n\ in ip_fast_csum()
70 : [csum] "+r" (csum), [fold_temp] "=&r" (fold_temp)); in ip_fast_csum()
74 rori %[fold_temp], %[csum], 32 \n\ in ip_fast_csum()
75 add %[csum], %[fold_temp], %[csum] \n\ in ip_fast_csum()
76 srli %[csum], %[csum], 32 \n\ in ip_fast_csum()
77 not %[fold_temp], %[csum] \n\ in ip_fast_csum()
78 roriw %[csum], %[csum], 16 \n\ in ip_fast_csum()
79 subw %[csum], %[fold_temp], %[csum] \n\ in ip_fast_csum()
81 : [csum] "+r" (csum), [fold_temp] "=&r" (fold_temp)); in ip_fast_csum()
83 return (__force __sum16)(csum >> 16); in ip_fast_csum()
87 csum += ror64(csum, 32); in ip_fast_csum()
88 csum >>= 32; in ip_fast_csum()
90 return csum_fold((__force __wsum)csum); in ip_fast_csum()