Lines Matching refs:pcb_mtx
434 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
448 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
458 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
510 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_req_rsp()
541 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_rsp_rsp()
554 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_rsp_rsp()
575 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_rsp_rsp()
618 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_ind()
639 mtx_lock(&pcb1->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_ind()
680 mtx_unlock(&pcb1->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_ind()
684 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_con_ind()
710 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_enc_change()
728 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_enc_change()
769 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_req_rsp()
783 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_req_rsp()
844 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_req_rsp()
876 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_rsp_rsp()
890 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_rsp_rsp()
924 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_rsp_rsp()
939 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_rsp_rsp()
972 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_ind()
986 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_ind()
1024 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_cfg_ind()
1061 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_discon_rsp()
1081 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_discon_rsp()
1120 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_discon_ind()
1138 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_discon_ind()
1170 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_write_rsp()
1184 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_write_rsp()
1211 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_process_l2ca_write_rsp()
1228 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_send_l2ca_con_req()
1298 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_send_l2ca_cfg_req()
1334 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_send_l2ca_cfg_rsp()
1369 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_send_l2ca_discon_req()
1483 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_data_input()
1493 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_data_input()
1508 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_data_input()
1531 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_data_input()
1542 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_data_input()
1594 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_data_input()
1615 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_data_input()
1840 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_rtclean()
1857 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_rtclean()
2053 mtx_init(&pcb->pcb_mtx, "btsocks_l2cap_pcb_mtx", NULL, in ng_btsocket_l2cap_attach()
2055 callout_init_mtx(&pcb->timo, &pcb->pcb_mtx, 0); in ng_btsocket_l2cap_attach()
2218 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_connect()
2270 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_connect()
2307 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_ctloutput()
2402 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_ctloutput()
2422 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_detach()
2437 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_detach()
2440 mtx_destroy(&pcb->pcb_mtx); in ng_btsocket_l2cap_detach()
2463 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_disconnect()
2466 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_disconnect()
2486 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_disconnect()
2584 mtx_lock(&pcb->pcb_mtx); in ng_btsocket_l2cap_send()
2588 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_send()
2596 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_send()
2606 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_send()
2629 mtx_unlock(&pcb->pcb_mtx); in ng_btsocket_l2cap_send()
2648 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_send2()
2799 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_timeout()
2817 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_untimeout()
2836 mtx_assert(&pcb->pcb_mtx, MA_OWNED); in ng_btsocket_l2cap_process_timeout()