Lines Matching refs:session_mtx
560 mtx_lock(&s->session_mtx); in ng_btsocket_rfcomm_connect()
567 mtx_unlock(&s->session_mtx); in ng_btsocket_rfcomm_connect()
616 mtx_unlock(&s->session_mtx); in ng_btsocket_rfcomm_connect()
1037 mtx_lock(&s->session_mtx); in ng_btsocket_rfcomm_sessions_task()
1059 mtx_unlock(&s->session_mtx); in ng_btsocket_rfcomm_sessions_task()
1061 mtx_destroy(&s->session_mtx); in ng_btsocket_rfcomm_sessions_task()
1065 mtx_unlock(&s->session_mtx); in ng_btsocket_rfcomm_sessions_task()
1080 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_session_task()
1146 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_connect_ind()
1209 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_connect_cfm()
1283 mtx_init(&s->session_mtx, "btsocks_rfcomm_session_mtx", NULL, in ng_btsocket_rfcomm_session_create()
1298 mtx_lock(&s->session_mtx); in ng_btsocket_rfcomm_session_create()
1367 mtx_unlock(&s->session_mtx); in ng_btsocket_rfcomm_session_create()
1372 mtx_unlock(&s->session_mtx); in ng_btsocket_rfcomm_session_create()
1383 mtx_destroy(&s->session_mtx); in ng_btsocket_rfcomm_session_create()
1405 mtx_assert(&s0->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_session_accept()
1440 mtx_lock(&s->session_mtx); in ng_btsocket_rfcomm_session_accept()
1454 mtx_unlock(&s->session_mtx); in ng_btsocket_rfcomm_session_accept()
1489 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_session_connect()
1543 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_session_receive()
1608 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_session_send()
1652 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_session_clean()
1689 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_session_process_pcb()
1822 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_frame()
1956 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_sabm()
2072 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_disc()
2135 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_ua()
2219 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_dm()
2266 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_uih()
2410 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_mcc()
2506 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_test()
2534 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_fc()
2575 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_msc()
2645 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_rpn()
2749 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_rls()
2791 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_receive_pn()
2960 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_send_command()
3012 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_send_uih()
3085 mtx_assert(&pcb->session->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_send_msc()
3123 mtx_assert(&pcb->session->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_send_pn()
3178 mtx_assert(&pcb->session->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_send_credits()
3231 mtx_assert(&pcb->session->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_pcb_send()
3302 mtx_assert(&pcb->session->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_pcb_kill()
3369 mtx_assert(&s->session_mtx, MA_OWNED); in ng_btsocket_rfcomm_pcb_by_dlci()