Searched refs:q_mtx (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/netgraph/ |
H A D | ng_car.c | 79 struct mtx q_mtx; /* queue mutex */ member 220 mtx_init(&priv->upper.q_mtx, "ng_car_u", NULL, MTX_DEF); in ng_car_constructor() 235 mtx_init(&priv->lower.q_mtx, "ng_car_l", NULL, MTX_DEF); in ng_car_constructor() 577 mtx_destroy(&priv->upper.q_mtx); in ng_car_shutdown() 578 mtx_destroy(&priv->lower.q_mtx); in ng_car_shutdown() 766 mtx_lock(&hinfo->q_mtx); in ng_car_enqueue() 811 mtx_unlock(&hinfo->q_mtx); in ng_car_enqueue()
|
H A D | ng_base.c | 268 mtx_init(&(n)->q_mtx, "ng_node", NULL, MTX_DEF) 270 mtx_lock(&(n)->q_mtx) 272 mtx_unlock(&(n)->q_mtx) 816 mtx_destroy(&node->nd_input_queue.q_mtx); in ng_unref_node() 1954 mtx_assert(&ngq->q_mtx, MA_OWNED); in ng_dequeue() 3476 mtx_assert(&node->nd_input_queue.q_mtx, MA_OWNED); in ng_worklist_add()
|
H A D | netgraph.h | 367 struct mtx q_mtx; member
|
/freebsd/sys/dev/wg/ |
H A D | if_wg.c | 169 struct mtx q_mtx; member 1796 mtx_init(&queue->q_mtx, name, NULL, MTX_DEF); in wg_queue_init() 1805 mtx_destroy(&queue->q_mtx); in wg_queue_deinit() 1818 mtx_lock(&hs->q_mtx); in wg_queue_enqueue_handshake() 1825 mtx_unlock(&hs->q_mtx); in wg_queue_enqueue_handshake() 1835 mtx_lock(&hs->q_mtx); in wg_queue_dequeue_handshake() 1840 mtx_unlock(&hs->q_mtx); in wg_queue_dequeue_handshake() 1849 mtx_lock(&staged->q_mtx); in wg_queue_push_staged() 1857 mtx_unlock(&staged->q_mtx); in wg_queue_push_staged() 1875 mtx_lock(&staged->q_mtx); in wg_queue_delist_staged() [all …]
|