MCPcopy Create free account
hub / github.com/F-Stack/f-stack / itimer_leave

Function itimer_leave

freebsd/kern/kern_time.c:1140–1149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1138}
1139
1140static void
1141itimer_leave(struct itimer *it)
1142{
1143
1144 mtx_assert(&it->it_mtx, MA_OWNED);
1145 KASSERT(it->it_usecount > 0, ("invalid it_usecount"));
1146
1147 if (--it->it_usecount == 0 && (it->it_flags & ITF_WANTED) != 0)
1148 wakeup(it);
1149}
1150
1151#ifndef _SYS_SYSPROTO_H_
1152struct ktimer_create_args {

Callers 3

kern_ktimer_settimeFunction · 0.85
kern_ktimer_gettimeFunction · 0.85
realtimer_expireFunction · 0.85

Calls 2

mtx_assertFunction · 0.85
wakeupFunction · 0.70

Tested by

no test coverage detected