Lines Matching refs:result
38 unsigned long result = 0; in do_csum() local
41 return result; in do_csum()
44 result = *buff << 8; in do_csum()
51 result += *(unsigned short *)buff; in do_csum()
61 result += *(unsigned int *) buff; in do_csum()
81 : [res] "=r" (result) in do_csum()
83 "[res]" (result)); in do_csum()
93 : "=r" (result) in do_csum()
95 "r" (zero), "0" (result)); in do_csum()
99 result = add32_with_carry(result>>32, in do_csum()
100 result&0xffffffff); in do_csum()
103 result += *(unsigned int *) buff; in do_csum()
108 result += *(unsigned short *) buff; in do_csum()
113 result += *buff; in do_csum()
114 result = add32_with_carry(result>>32, result & 0xffffffff); in do_csum()
116 result = from32to16(result); in do_csum()
117 result = ((result >> 8) & 0xff) | ((result & 0xff) << 8); in do_csum()
119 return result; in do_csum()