• Home
  • Raw
  • Download

Lines Matching refs:p_ccb

137   tAVCT_CCB* p_ccb;  in AVCT_CreateConn()  local
143 p_ccb = avct_ccb_alloc(p_cc); in AVCT_CreateConn()
144 if (p_ccb == NULL) { in AVCT_CreateConn()
148 *p_handle = avct_ccb_to_idx(p_ccb); in AVCT_CreateConn()
158 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL); in AVCT_CreateConn()
164 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL); in AVCT_CreateConn()
170 p_ccb->p_lcb = p_lcb; in AVCT_CreateConn()
173 avct_lcb_evt.p_ccb = p_ccb; in AVCT_CreateConn()
196 tAVCT_CCB* p_ccb; in AVCT_RemoveConn() local
201 p_ccb = avct_ccb_by_idx(handle); in AVCT_RemoveConn()
202 if (p_ccb == NULL) { in AVCT_RemoveConn()
206 else if (p_ccb->p_lcb == NULL) { in AVCT_RemoveConn()
207 avct_ccb_dealloc(p_ccb, AVCT_NO_EVT, 0, NULL); in AVCT_RemoveConn()
212 avct_lcb_evt.p_ccb = p_ccb; in AVCT_RemoveConn()
213 avct_lcb_event(p_ccb->p_lcb, AVCT_LCB_UL_UNBIND_EVT, &avct_lcb_evt); in AVCT_RemoveConn()
237 tAVCT_CCB* p_ccb; in AVCT_CreateBrowse() local
244 p_ccb = avct_ccb_by_idx(handle); in AVCT_CreateBrowse()
245 if (p_ccb == NULL) { in AVCT_CreateBrowse()
249 if ((p_ccb->allocated & AVCT_ALOC_BCB) == 0) { in AVCT_CreateBrowse()
250 p_ccb->allocated |= AVCT_ALOC_BCB; in AVCT_CreateBrowse()
258 if ((p_ccb->p_lcb == NULL) || (p_ccb->p_lcb->allocated == 0)) { in AVCT_CreateBrowse()
262 index = p_ccb->p_lcb->allocated; in AVCT_CreateBrowse()
273 p_ccb->p_bcb = p_bcb; in AVCT_CreateBrowse()
274 p_bcb->peer_addr = p_ccb->p_lcb->peer_addr; in AVCT_CreateBrowse()
277 avct_lcb_evt.p_ccb = p_ccb; in AVCT_CreateBrowse()
300 tAVCT_CCB* p_ccb; in AVCT_RemoveBrowse() local
305 p_ccb = avct_ccb_by_idx(handle); in AVCT_RemoveBrowse()
306 if (p_ccb == NULL) { in AVCT_RemoveBrowse()
308 } else if (p_ccb->p_bcb != NULL) in AVCT_RemoveBrowse()
312 avct_lcb_evt.p_ccb = p_ccb; in AVCT_RemoveBrowse()
313 avct_bcb_event(p_ccb->p_bcb, AVCT_LCB_UL_UNBIND_EVT, &avct_lcb_evt); in AVCT_RemoveBrowse()
332 tAVCT_CCB* p_ccb = avct_ccb_by_idx(handle); in AVCT_GetBrowseMtu() local
334 if (p_ccb != NULL && p_ccb->p_bcb != NULL) { in AVCT_GetBrowseMtu()
335 peer_mtu = p_ccb->p_bcb->peer_mtu; in AVCT_GetBrowseMtu()
353 tAVCT_CCB* p_ccb; in AVCT_GetPeerMtu() local
356 p_ccb = avct_ccb_by_idx(handle); in AVCT_GetPeerMtu()
357 if (p_ccb != NULL) { in AVCT_GetPeerMtu()
358 if (p_ccb->p_lcb) { in AVCT_GetPeerMtu()
359 peer_mtu = p_ccb->p_lcb->peer_mtu; in AVCT_GetPeerMtu()
390 tAVCT_CCB* p_ccb; in AVCT_MsgReq() local
403 p_ccb = avct_ccb_by_idx(handle); in AVCT_MsgReq()
404 if (p_ccb == NULL) { in AVCT_MsgReq()
409 else if (p_ccb->p_lcb == NULL) { in AVCT_MsgReq()
416 ul_msg.p_ccb = p_ccb; in AVCT_MsgReq()
422 if (p_ccb->p_bcb == NULL && (p_ccb->allocated & AVCT_ALOC_BCB) == 0) { in AVCT_MsgReq()
427 p_ccb->p_bcb = avct_bcb_by_lcb(p_ccb->p_lcb); in AVCT_MsgReq()
430 avct_bcb_event(p_ccb->p_bcb, AVCT_LCB_UL_MSG_EVT, &avct_lcb_evt); in AVCT_MsgReq()
437 avct_lcb_event(p_ccb->p_lcb, AVCT_LCB_UL_MSG_EVT, &avct_lcb_evt); in AVCT_MsgReq()