Lines Matching refs:p_dcb
289 tMCA_DCB *p_dcb; in MCA_DeleteDep() local
303 p_dcb = &mca_cb.dcb[i*max]; in MCA_DeleteDep()
305 for (i=0; i<max; i++, p_dcb++) in MCA_DeleteDep()
307 if (p_dcb->state && p_dcb->p_cs == p_depcs) in MCA_DeleteDep()
309 mca_dcb_event(p_dcb, MCA_DCB_API_CLOSE_EVT, NULL); in MCA_DeleteDep()
427 tMCA_DCB *p_dcb; in MCA_CreateMdl() local
450 p_dcb = mca_dcb_alloc(p_ccb, dep); in MCA_CreateMdl()
452 if (p_dcb) in MCA_CreateMdl()
455 p_dcb->p_chnl_cfg = p_chnl_cfg; in MCA_CreateMdl()
456 p_dcb->mdl_id = mdl_id; in MCA_CreateMdl()
462 p_evt_data->dcb_idx = mca_dcb_to_hdl (p_dcb); in MCA_CreateMdl()
475 mca_dcb_dealloc(p_dcb, NULL); in MCA_CreateMdl()
503 tMCA_DCB *p_dcb; in MCA_CreateMdlRsp() local
521 p_dcb = mca_dcb_alloc(p_ccb, dep); in MCA_CreateMdlRsp()
522 if (p_dcb) in MCA_CreateMdlRsp()
524 evt_data.dcb_idx = mca_dcb_to_hdl(p_dcb); in MCA_CreateMdlRsp()
525 p_dcb->p_chnl_cfg = p_chnl_cfg; in MCA_CreateMdlRsp()
526 p_dcb->mdl_id = mdl_id; in MCA_CreateMdlRsp()
567 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); in MCA_CloseReq() local
570 if (p_dcb) in MCA_CloseReq()
573 mca_dcb_event(p_dcb, MCA_DCB_API_CLOSE_EVT, NULL); in MCA_CloseReq()
599 tMCA_DCB *p_dcb; in MCA_ReconnectMdl() local
623 p_dcb = mca_dcb_alloc(p_ccb, dep); in MCA_ReconnectMdl()
625 if (p_dcb) { in MCA_ReconnectMdl()
629 p_dcb->p_chnl_cfg = p_chnl_cfg; in MCA_ReconnectMdl()
630 p_dcb->mdl_id = mdl_id; in MCA_ReconnectMdl()
633 p_evt_data->dcb_idx = mca_dcb_to_hdl(p_dcb); in MCA_ReconnectMdl()
665 tMCA_DCB *p_dcb; in MCA_ReconnectMdlRsp() local
683 p_dcb = mca_dcb_alloc(p_ccb, dep); in MCA_ReconnectMdlRsp()
684 if (p_dcb) in MCA_ReconnectMdlRsp()
686 evt_data.dcb_idx = mca_dcb_to_hdl(p_dcb); in MCA_ReconnectMdlRsp()
687 p_dcb->p_chnl_cfg = p_chnl_cfg; in MCA_ReconnectMdlRsp()
688 p_dcb->mdl_id = mdl_id; in MCA_ReconnectMdlRsp()
729 tMCA_DCB *p_dcb; in MCA_DataChnlCfg() local
738 ((p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx)) == NULL)) in MCA_DataChnlCfg()
744 p_dcb->p_chnl_cfg = p_chnl_cfg; in MCA_DataChnlCfg()
747 p_dcb->lcid = mca_l2c_open_req(p_ccb->peer_addr, p_ccb->data_vpsm, p_dcb->p_chnl_cfg); in MCA_DataChnlCfg()
748 if (p_dcb->lcid) in MCA_DataChnlCfg()
750 p_tbl = mca_tc_tbl_dalloc(p_dcb); in MCA_DataChnlCfg()
776 tMCA_DCB *p_dcb; in MCA_Abort() local
784 ((p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx)) == NULL)) in MCA_Abort()
867 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); in MCA_WriteReq() local
871 if (p_dcb) in MCA_WriteReq()
873 if (p_dcb->cong) in MCA_WriteReq()
881 mca_dcb_event(p_dcb, MCA_DCB_API_WRITE_EVT, &evt_data); in MCA_WriteReq()
899 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl); in MCA_GetL2CapChannel() local
902 if (p_dcb) in MCA_GetL2CapChannel()
903 lcid = p_dcb->lcid; in MCA_GetL2CapChannel()