Lines Matching refs:result
38 unsigned long result = (unsigned long)psum; in do_csum_c() local
44 result = *buff << 8; in do_csum_c()
51 result += *(unsigned short *) buff; in do_csum_c()
59 result += *(unsigned int *) buff; in do_csum_c()
71 result += carry; in do_csum_c()
72 result += w; in do_csum_c()
73 carry = (w > result); in do_csum_c()
75 result += carry; in do_csum_c()
76 result = (result & 0xffffffff) + (result >> 32); in do_csum_c()
79 result += *(unsigned int *) buff; in do_csum_c()
84 result += *(unsigned short *) buff; in do_csum_c()
89 result += *buff; in do_csum_c()
91 result = from64to16(result); in do_csum_c()
94 result = ((result >> 8) & 0xff) | ((result & 0xff) << 8); in do_csum_c()
97 return result; in do_csum_c()