Lines Matching refs:p_dcb
291 tMCA_DCB *p_dcb;
305 p_dcb = &mca_cb.dcb[i*max];
307 for (i=0; i<max; i++, p_dcb++)
309 if (p_dcb->state && p_dcb->p_cs == p_depcs)
311 mca_dcb_event(p_dcb, MCA_DCB_API_CLOSE_EVT, NULL);
430 tMCA_DCB *p_dcb;
453 p_dcb = mca_dcb_alloc(p_ccb, dep);
455 if (p_dcb)
458 p_dcb->p_chnl_cfg = p_chnl_cfg;
459 p_dcb->mdl_id = mdl_id;
467 p_evt_data->dcb_idx = mca_dcb_to_hdl (p_dcb);
480 mca_dcb_dealloc(p_dcb, NULL);
508 tMCA_DCB *p_dcb;
526 p_dcb = mca_dcb_alloc(p_ccb, dep);
527 if (p_dcb)
529 evt_data.dcb_idx = mca_dcb_to_hdl(p_dcb);
530 p_dcb->p_chnl_cfg = p_chnl_cfg;
531 p_dcb->mdl_id = mdl_id;
572 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl);
575 if (p_dcb)
578 mca_dcb_event(p_dcb, MCA_DCB_API_CLOSE_EVT, NULL);
605 tMCA_DCB *p_dcb;
629 p_dcb = mca_dcb_alloc(p_ccb, dep);
631 if (p_dcb)
633 p_dcb->p_chnl_cfg = p_chnl_cfg;
634 p_dcb->mdl_id = mdl_id;
640 p_evt_data->dcb_idx = mca_dcb_to_hdl(p_dcb);
647 mca_dcb_dealloc(p_dcb, NULL);
674 tMCA_DCB *p_dcb;
692 p_dcb = mca_dcb_alloc(p_ccb, dep);
693 if (p_dcb)
695 evt_data.dcb_idx = mca_dcb_to_hdl(p_dcb);
696 p_dcb->p_chnl_cfg = p_chnl_cfg;
697 p_dcb->mdl_id = mdl_id;
738 tMCA_DCB *p_dcb;
747 ((p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx)) == NULL))
753 p_dcb->p_chnl_cfg = p_chnl_cfg;
756 p_dcb->lcid = mca_l2c_open_req(p_ccb->peer_addr, p_ccb->data_vpsm, p_dcb->p_chnl_cfg);
757 if (p_dcb->lcid)
759 p_tbl = mca_tc_tbl_dalloc(p_dcb);
786 tMCA_DCB *p_dcb;
794 ((p_dcb = mca_dcb_by_hdl(p_ccb->p_tx_req->dcb_idx)) == NULL))
886 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl);
890 if (p_dcb)
892 if (p_dcb->cong)
900 mca_dcb_event(p_dcb, MCA_DCB_API_WRITE_EVT, &evt_data);
918 tMCA_DCB *p_dcb = mca_dcb_by_hdl(mdl);
921 p_dcb)
922 lcid = p_dcb->lcid;