Lines Matching defs:sum
100 q_util.q = sum; \
101 sum = q_util.s[0] + q_util.s[1] + q_util.s[2] + q_util.s[3]; \
105 q_util.q = sum; \
107 sum = l_util.s[0] + l_util.s[1]; \
108 ADDCARRY(sum); \
111 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
125 u_int32_t sum = a + b;
128 return (sum);
134 u_int64_t sum;
138 sum = (u_int64_t) a + b + c;
140 return (sum);
152 u_int32_t sum = 0;
168 sum = in_pseudo(iph->ip_src.s_addr, iph->ip_dst.s_addr,
172 return (cpu_in_cksum(m, len, skip, sum));
182 u_int32_t sum = 0;
204 sum = in_pseudo(iph->ip_src.s_addr, iph->ip_dst.s_addr,
234 sum += s_util.s;
251 sum <<= 8;
262 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
263 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7];
264 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11];
265 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15];
270 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3];
278 sum += *w++;
282 sum <<= 8;
286 sum += s_util.s;
300 sum += s_util.s;
304 return (~sum & 0xffff);