Home
last modified time | relevance | path

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

/freebsd/sys/dev/evdev/
H A Devdev_private.h220 struct mtx ec_buffer_mtx; /* Client queue lock */ member
238 #define EVDEV_CLIENT_LOCKQ(client) mtx_lock(&(client)->ec_buffer_mtx)
239 #define EVDEV_CLIENT_UNLOCKQ(client) mtx_unlock(&(client)->ec_buffer_mtx)
241 mtx_assert(&(client)->ec_buffer_mtx, MA_OWNED)
H A Dcdev.c125 mtx_init(&client->ec_buffer_mtx, "evclient", "evdev", MTX_DEF); in evdev_open()
126 knlist_init_mtx(&client->ec_selp.si_note, &client->ec_buffer_mtx); in evdev_open()
167 mtx_destroy(&client->ec_buffer_mtx); in evdev_dtor()
217 ret = mtx_sleep(client, &client->ec_buffer_mtx, in evdev_read()