Lines Matching refs:result
57 unsigned long result; in csum_tcpudp_nofold() local
59 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold()
65 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
67 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
68 return (__force __wsum)result; in csum_tcpudp_nofold()
82 unsigned long result = 0; in do_csum() local
88 result = *buff << 8; in do_csum()
95 result += *(unsigned short *) buff; in do_csum()
103 result += *(unsigned int *) buff; in do_csum()
115 result += carry; in do_csum()
116 result += w; in do_csum()
117 carry = (w > result); in do_csum()
119 result += carry; in do_csum()
120 result = (result & 0xffffffff) + (result >> 32); in do_csum()
123 result += *(unsigned int *) buff; in do_csum()
128 result += *(unsigned short *) buff; in do_csum()
133 result += *buff; in do_csum()
134 result = from64to16(result); in do_csum()
136 result = ((result >> 8) & 0xff) | ((result & 0xff) << 8); in do_csum()
138 return result; in do_csum()
165 unsigned long result = do_csum(buff, len); in csum_partial() local
168 result += (__force u32)sum; in csum_partial()
170 result = (result & 0xffffffff) + (result >> 32); in csum_partial()
171 return (__force __wsum)result; in csum_partial()