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()
1246 mtx_init(&pcb->pcb_mtx, "btsocks_sco_pcb_mtx", NULL, in ng_btsocket_sco_attach()
1312 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1315 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1321 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1331 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1333 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_bind()
1377 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1380 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1387 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1436 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_connect()
1471 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_ctloutput()
1506 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_ctloutput()
1526 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_detach()
1538 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_detach()
1541 mtx_destroy(&pcb->pcb_mtx); in ng_btsocket_sco_detach()
1563 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_disconnect()
1566 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_disconnect()
1586 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_disconnect()
1607 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_listen()
1620 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_listen()
1641 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_peeraddr()
1643 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_peeraddr()
1675 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1679 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1687 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1698 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1721 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_send()
1740 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_send2()
1794 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_sockaddr()
1796 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_sockaddr()
1827 mtx_lock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1830 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1840 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1844 mtx_lock(&p1->pcb_mtx); in ng_btsocket_sco_pcb_by_addr()
1863 mtx_lock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_handle()
1869 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_handle()
1889 mtx_lock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addrs()
1896 mtx_unlock(&p->pcb_mtx); in ng_btsocket_sco_pcb_by_addrs()
1909 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_timeout()
1927 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_sco_untimeout()
1946 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_sco_process_timeout()
1977 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_sco_process_timeout()