Lines Matching refs:p_first_ccb
197 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_lcb->ccb_queue.p_first_ccb)
1278 if (!p_q->p_first_ccb)
1280 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb;
1285 p_ccb1 = p_q->p_first_ccb;
1293 if (p_ccb1 == p_q->p_first_ccb)
1294 p_q->p_first_ccb = p_ccb;
1327 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = p_ccb;
1360 if ( (!p_ccb->in_use) || (p_q == NULL) || (p_q->p_first_ccb == NULL) )
1362 L2CAP_TRACE_ERROR ("l2cu_dequeue_ccb CID: 0x%04x ERROR in_use: %u p_lcb: 0x%08x p_q: 0x%08x p_q->p_first_ccb: 0x%08x",
1363 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, p_q ? p_q->p_first_ccb : 0);
1377 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = NULL;
1383 if ( p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb == p_ccb )
1385 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = p_ccb->p_next_ccb;
1392 = p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb;
1398 if (p_ccb == p_q->p_first_ccb)
1401 p_q->p_first_ccb = p_ccb->p_next_ccb;
1403 if (p_q->p_first_ccb)
1404 p_q->p_first_ccb->p_prev_ccb = NULL;
1454 p_ccb->p_lcb->rr_serv[p_ccb->ccb_priority].p_first_ccb = NULL;
1459 p_first_ccb = p_ccb;
1638 if (p_lcb->ccb_queue.p_first_ccb != NULL)
1746 if (!p_lcb->ccb_queue.p_first_ccb)
1779 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_ccb->p_next_ccb)
2516 if ((!p_lcb->ccb_queue.p_first_ccb) || (p_lcb->link_state == LST_DISCONNECTING))
2522 else if (p_lcb->ccb_queue.p_first_ccb == p_lcb->ccb_queue.p_last_ccb)
2524 p_ccb = p_lcb->ccb_queue.p_first_ccb;
2642 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_next_ccb)
2661 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_next_ccb)
3411 p_lcb->rr_serv[p_lcb->rr_pri].p_serve_ccb = p_lcb->rr_serv[p_lcb->rr_pri].p_first_ccb;
3499 for (p_ccb = p_lcb->ccb_queue.p_first_ccb; p_ccb; p_ccb = p_ccb->p_next_ccb)