Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/tcpdump/
H A Din_cksum.c159 uint32_t shouldbe; in in_cksum_shouldbe() local
195 shouldbe = sum; in in_cksum_shouldbe()
196 shouldbe += ntohs(computed_sum); in in_cksum_shouldbe()
197 shouldbe = (shouldbe & 0xFFFF) + (shouldbe >> 16); in in_cksum_shouldbe()
198 shouldbe = (shouldbe & 0xFFFF) + (shouldbe >> 16); in in_cksum_shouldbe()
199 return shouldbe; in in_cksum_shouldbe()
/freebsd-13.1/tools/regression/p1003_1b/
H A Dprutil.c37 int sched_is(int line, struct sched_param *p, int shouldbe) in sched_is() argument
52 if (shouldbe != -1 && scheduler != shouldbe) in sched_is()
56 line, sched_text(shouldbe), sched_text(scheduler)); in sched_is()
H A Dsched.c161 struct sched_param orig_param, shouldbe; in sched() local
181 q(__LINE__, sched_getparam(0, &shouldbe), "sched_getparam"); in sched()
183 if (shouldbe.sched_priority != fifo_schedmin) in sched()
196 q(__LINE__, sched_getparam(0, &shouldbe), in sched()
199 if (shouldbe.sched_priority != fifo_schedmin + 1) in sched()