Home | History | Annotate | Download | only in l2cap

Lines Matching refs:p_q

1136     tL2C_CCB_Q      *p_q = NULL;
1141 p_q = &p_ccb->p_lcb->ccb_queue;
1143 if ( (!p_ccb->in_use) || (p_q == NULL) )
1154 if (!p_q->p_first_ccb)
1156 p_q->p_first_ccb = p_q->p_last_ccb = p_ccb;
1161 p_ccb1 = p_q->p_first_ccb;
1169 if (p_ccb1 == p_q->p_first_ccb)
1170 p_q->p_first_ccb = p_ccb;
1187 p_q->p_last_ccb->p_next_ccb = p_ccb;
1190 p_ccb->p_prev_ccb = p_q->p_last_ccb;
1191 p_q->p_last_ccb = p_ccb;
1227 tL2C_CCB_Q *p_q = NULL;
1234 p_q = &p_ccb->p_lcb->ccb_queue;
1236 if ( (!p_ccb->in_use) || (p_q == NULL) || (p_q->p_first_ccb == NULL) )
1238 L2CAP_TRACE_ERROR5 ("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",
1239 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, p_q ? p_q->p_first_ccb : 0);
1274 if (p_ccb == p_q->p_first_ccb)
1277 p_q->p_first_ccb = p_ccb->p_next_ccb;
1279 if (p_q->p_first_ccb)
1280 p_q->p_first_ccb->p_prev_ccb = NULL;
1282 p_q->p_last_ccb = NULL;
1284 else if (p_ccb == p_q->p_last_ccb)
1287 p_q->p_last_ccb = p_ccb->p_prev_ccb;
1288 p_q->p_last_ccb->p_next_ccb = NULL;