Lines Matching full:result
59 unsigned long result; in csum_tcpudp_nofold() local
61 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold()
67 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
69 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
70 return (__force __wsum)result; in csum_tcpudp_nofold()
84 unsigned long result = 0; in do_csum() local
90 result = *buff << 8; in do_csum()
97 result += *(unsigned short *) buff; in do_csum()
105 result += *(unsigned int *) buff; in do_csum()
117 result += carry; in do_csum()
118 result += w; in do_csum()
119 carry = (w > result); in do_csum()
121 result += carry; in do_csum()
122 result = (result & 0xffffffff) + (result >> 32); in do_csum()
125 result += *(unsigned int *) buff; in do_csum()
130 result += *(unsigned short *) buff; in do_csum()
135 result += *buff; in do_csum()
136 result = from64to16(result); in do_csum()
138 result = ((result >> 8) & 0xff) | ((result & 0xff) << 8); in do_csum()
140 return result; in do_csum()
167 unsigned long result = do_csum(buff, len); in csum_partial() local
170 result += (__force u32)sum; in csum_partial()
172 result = (result & 0xffffffff) + (result >> 32); in csum_partial()
173 return (__force __wsum)result; in csum_partial()