Lines Matching refs:pcb_mtx

411 		mtx_unlock(&pcb->pcb_mtx);  in ng_btsocket_sco_process_lp_con_cfm()
438 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_process_lp_con_cfm()
500 mtx_lock(&pcb1->pcb_mtx); in ng_btsocket_sco_process_lp_con_ind()
529 mtx_unlock(&pcb1->pcb_mtx); in ng_btsocket_sco_process_lp_con_ind()
533 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_process_lp_con_ind()
589 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_process_lp_discon_ind()
606 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_send_lp_con_req()
666 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_send_lp_discon_req()
773 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_data_input()
789 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_data_input()
800 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_data_input()
912 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_default_msg_input()
1051 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_rtclean()
1065 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_rtclean()
1232 mtx_init(&pcb->pcb_mtx, "btsocks_sco_pcb_mtx", NULL, in ng_btsocket_sco_attach()
1298 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1301 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1307 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1317 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1319 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1363 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1366 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1373 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1422 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1457 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_ctloutput()
1492 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_ctloutput()
1512 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_detach()
1524 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_detach()
1527 mtx_destroy(&pcb->pcb_mtx); in ng_btsocket_sco_detach()
1549 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_disconnect()
1552 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_disconnect()
1572 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_disconnect()
1593 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_listen()
1606 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_listen()
1631 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_peeraddr()
1633 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_peeraddr()
1660 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1664 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1672 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1683 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1706 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1725 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_send2()
1783 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_sockaddr()
1785 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_sockaddr()
1811 mtx_lock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1814 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1824 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1828 mtx_lock(&p1->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1847 mtx_lock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_handle()
1853 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_handle()
1873 mtx_lock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addrs()
1880 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addrs()
1893 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_timeout()
1911 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_untimeout()
1930 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_process_timeout()
1961 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_process_timeout()