Home
last modified time | relevance | path

Searched refs:it_mtx (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/sys/
H A Dtimers.h48 struct mtx it_mtx; member
67 #define ITIMER_LOCK(it) mtx_lock(&(it)->it_mtx)
68 #define ITIMER_UNLOCK(it) mtx_unlock(&(it)->it_mtx)
/freebsd/sys/netinet/
H A Dsctp_lock_bsd.h390 mtx_init(&sctp_it_ctl.it_mtx, "sctp-it", "iterator", MTX_DEF); \
394 mtx_destroy(&sctp_it_ctl.it_mtx); \
399 KASSERT(!mtx_owned(&sctp_it_ctl.it_mtx), \
401 mtx_lock(&sctp_it_ctl.it_mtx); \
405 mtx_unlock(&sctp_it_ctl.it_mtx); \
H A Dsctp_structs.h192 struct mtx it_mtx; member
/freebsd/sys/kern/
H A Dkern_time.c1168 mtx_init(&it->it_mtx, "itimer lock", NULL, MTX_DEF); in itimer_init()
1178 mtx_destroy(&it->it_mtx); in itimer_fini()
1185 mtx_assert(&it->it_mtx, MA_OWNED); in itimer_enter()
1193 mtx_assert(&it->it_mtx, MA_OWNED); in itimer_leave()
1385 msleep(it, &it->it_mtx, PPAUSE, "itimer", 0); in kern_ktimer_delete()
1524 callout_init_mtx(&it->it_callout, &it->it_mtx, 0); in realtimer_create()
1531 mtx_assert(&it->it_mtx, MA_OWNED); in realtimer_delete()
1550 mtx_assert(&it->it_mtx, MA_OWNED); in realtimer_gettime()
1574 mtx_assert(&it->it_mtx, MA_OWNED); in realtimer_settime()