Home
last modified time | relevance | path

Searched refs:shouldbe (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/tcpdump/
H A Din_cksum.c157 uint32_t shouldbe; in in_cksum_shouldbe() local
193 shouldbe = sum; in in_cksum_shouldbe()
194 shouldbe += ntohs(computed_sum); in in_cksum_shouldbe()
195 shouldbe = (shouldbe & 0xFFFF) + (shouldbe >> 16); in in_cksum_shouldbe()
196 shouldbe = (shouldbe & 0xFFFF) + (shouldbe >> 16); in in_cksum_shouldbe()
197 return (uint16_t)shouldbe; in in_cksum_shouldbe()
/freebsd/tools/regression/p1003_1b/
H A Dprutil.c36 int sched_is(int line, struct sched_param *p, int shouldbe) in sched_is() argument
51 if (shouldbe != -1 && scheduler != shouldbe) in sched_is()
55 line, sched_text(shouldbe), sched_text(scheduler)); in sched_is()
H A Dsched.c160 struct sched_param orig_param, shouldbe; in sched() local
180 q(__LINE__, sched_getparam(0, &shouldbe), "sched_getparam"); in sched()
182 if (shouldbe.sched_priority != fifo_schedmin) in sched()
195 q(__LINE__, sched_getparam(0, &shouldbe), in sched()
198 if (shouldbe.sched_priority != fifo_schedmin + 1) in sched()