Home | History | Annotate | Download | only in net

Lines Matching defs:bpf_mtx

135  * - bpf_mtx (adaptive mutex) protects:
144 * - Locking order: bpf_mtx => bpf_d#bd_mtx => bpf_d#bd_buf_mtx
157 static kmutex_t bpf_mtx;
478 KASSERT(mutex_owned(&bpf_mtx));
505 KASSERT(mutex_owned(&bpf_mtx));
557 mutex_init(&bpf_mtx, MUTEX_DEFAULT, IPL_NONE);
619 mutex_enter(&bpf_mtx);
621 mutex_exit(&bpf_mtx);
636 mutex_enter(&bpf_mtx);
639 mutex_exit(&bpf_mtx);
661 mutex_exit(&bpf_mtx);
1148 mutex_enter(&bpf_mtx);
1155 mutex_exit(&bpf_mtx);
1180 mutex_enter(&bpf_mtx);
1182 mutex_exit(&bpf_mtx);
1406 /* Need to hold bpf_mtx for pserialize_perform */
1407 mutex_enter(&bpf_mtx);
1420 mutex_exit(&bpf_mtx);
1440 KASSERT(mutex_owned(&bpf_mtx));
1483 * bpf_allocbufs is called only here. bpf_mtx ensures that
1555 mutex_enter(&bpf_mtx);
1582 mutex_exit(&bpf_mtx);
2192 mutex_enter(&bpf_mtx);
2207 mutex_exit(&bpf_mtx);
2218 mutex_enter(&bpf_mtx);
2230 mutex_exit(&bpf_mtx);
2246 mutex_enter(&bpf_mtx);
2295 mutex_exit(&bpf_mtx);
2306 mutex_enter(&bpf_mtx);
2317 mutex_exit(&bpf_mtx);
2378 KASSERT(mutex_owned(&bpf_mtx));
2485 mutex_enter(&bpf_mtx);
2520 mutex_exit(&bpf_mtx);
2619 mutex_enter(&bpf_mtx);
2627 mutex_exit(&bpf_mtx);
2640 mutex_enter(&bpf_mtx);
2657 mutex_exit(&bpf_mtx);