Home
last modified time | relevance | path

Searched refs:ev_state_lock (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/evdev/
H A Devdev_private.h116 struct mtx * ev_state_lock; /* State lock */ member
172 #define EVDEV_LOCK(evdev) mtx_lock((evdev)->ev_state_lock)
173 #define EVDEV_UNLOCK(evdev) mtx_unlock((evdev)->ev_state_lock)
175 if ((evdev)->ev_state_lock != SYSTEM_CONSOLE_LOCK) \
176 mtx_assert((evdev)->ev_state_lock, MA_OWNED); \
H A Devdev.c297 evdev->ev_state_lock, 0); in evdev_register_common()
343 evdev->ev_state_lock = &evdev->ev_mtx; in evdev_register()
358 evdev->ev_state_lock = mtx; in evdev_register_mtx()