Lines Matching defs:p_ccb
125 tCONN_CB *p_ccb = sdpu_find_ccb_by_db (p_db);
126 if (!p_ccb)
129 sdp_disconnect (p_ccb, SDP_CANCEL);
130 p_ccb->disc_state = SDP_DISC_WAIT_CANCEL;
150 tCONN_CB *p_ccb;
153 p_ccb = sdp_conn_originate (p_bd_addr);
155 if (!p_ccb)
158 p_ccb->disc_state = SDP_DISC_WAIT_CONN;
159 p_ccb->p_db = p_db;
160 p_ccb->p_cb = p_cb;
187 tCONN_CB *p_ccb;
190 p_ccb = sdp_conn_originate (p_bd_addr);
192 if (!p_ccb)
195 p_ccb->disc_state = SDP_DISC_WAIT_CONN;
196 p_ccb->p_db = p_db;
197 p_ccb->p_cb = p_cb;
199 p_ccb->is_attr_search = TRUE;
224 tCONN_CB *p_ccb;
227 p_ccb = sdp_conn_originate (p_bd_addr);
229 if (!p_ccb)
232 p_ccb->disc_state = SDP_DISC_WAIT_CONN;
233 p_ccb->p_db = p_db;
234 p_ccb->p_cb2 = p_cb2;
236 p_ccb->is_attr_search = TRUE;
237 p_ccb->user_data = user_data;
1420 tCONN_CB *p_ccb;
1427 p_ccb = sdp_conn_originate (p_bd_addr);
1429 if (!p_ccb)
1432 p_ccb->disc_state = SDP_DISC_WAIT_CONN;
1433 p_ccb->p_db = (tSDP_DISCOVERY_DB *)p_rcb;
1434 p_ccb->p_cb = p_cb;
1436 p_ccb->is_attr_search = SDP_IS_PASS_THRU;
1438 idx = (UINT32)(p_ccb - sdp_cb.ccb);
1457 tCONN_CB *p_ccb = NULL;
1461 p_ccb = &sdp_cb.ccb[handle - 1];
1462 if ( (p_ccb->con_state == SDP_STATE_CONNECTED) &&
1463 (p_ccb->con_flags & SDP_FLAGS_IS_ORIG) )
1466 btu_start_timer (&p_ccb->timer_entry, BTU_TTYPE_SDP, SDP_INACT_TIMEOUT);
1467 L2CA_DataWrite (p_ccb->connection_id, p_msg);
1489 tCONN_CB *p_ccb = NULL;
1493 p_ccb = &sdp_cb.ccb[handle - 1];
1494 sdp_disconnect (p_ccb, SDP_SUCCESS);