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.c1212 mtx_init(&it->it_mtx, "itimer lock", NULL, MTX_DEF); in itimer_init()
1222 mtx_destroy(&it->it_mtx); in itimer_fini()
1229 mtx_assert(&it->it_mtx, MA_OWNED); in itimer_enter()
1237 mtx_assert(&it->it_mtx, MA_OWNED); in itimer_leave()
1430 msleep(it, &it->it_mtx, PPAUSE, "itimer", 0); in kern_ktimer_delete()
1569 callout_init_mtx(&it->it_callout, &it->it_mtx, 0); in realtimer_create()
1576 mtx_assert(&it->it_mtx, MA_OWNED); in realtimer_delete()
1596 mtx_assert(&it->it_mtx, MA_OWNED); in realtimer_gettime()
1624 mtx_assert(&it->it_mtx, MA_OWNED); in realtimer_settime()