Lines Matching refs:allocated
166 if (p_ccb->allocated) { in avct_bcb_open_ind()
227 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_open_fail()
249 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_close_ind()
282 p_bcb->allocated = 0; in avct_bcb_close_cfm()
284 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_close_cfm()
394 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_cong_ind()
427 p_bcb->allocated, p_data->ul_msg.p_ccb->p_lcb->allocated); in avct_bcb_discard_msg()
428 p_bcb->allocated = p_data->ul_msg.p_ccb->p_lcb->allocated; in avct_bcb_discard_msg()
592 AVCT_TRACE_DEBUG("%s %d", __func__, p_bcb->allocated); in avct_bcb_dealloc()
596 if ((p_ccb->allocated) && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_dealloc()
620 if (p_bcb->allocated) { in avct_close_bcb()
635 return &avct_cb.lcb[p_bcb->allocated - 1]; in avct_lcb_by_bcb()
648 return &avct_cb.bcb[p_lcb->allocated - 1]; in avct_bcb_by_lcb()
666 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_get_last_ccb_index()
689 if (p_bcb->allocated && (p_bcb->ch_lcid == lcid)) { in avct_bcb_by_lcid()