Home | History | Annotate | Download | only in sdp

Lines Matching full:p_ccb

59   tCONN_CB* p_ccb;
62 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) {
63 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->connection_id == cid))
64 return (p_ccb);
83 tCONN_CB* p_ccb;
87 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) {
88 if ((p_ccb->con_state != SDP_STATE_IDLE) && (p_ccb->p_db == p_db))
89 return (p_ccb);
107 tCONN_CB* p_ccb;
110 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) {
111 if (p_ccb->con_state == SDP_STATE_IDLE) {
112 alarm_t* alarm = p_ccb->sdp_conn_timer;
113 memset(p_ccb, 0, sizeof(tCONN_CB));
114 p_ccb->sdp_conn_timer = alarm;
115 return (p_ccb);
132 void sdpu_release_ccb(tCONN_CB* p_ccb) {
134 alarm_cancel(p_ccb->sdp_conn_timer);
137 p_ccb->con_state = SDP_STATE_IDLE;
138 p_ccb->is_attr_search = false;
141 if (p_ccb->rsp_list) SDP_TRACE_DEBUG("releasing SDP rsp_list");
142 osi_free_and_reset((void**)&p_ccb->rsp_list);
279 void sdpu_build_n_send_error(tCONN_CB* p_ccb, uint16_t trans_num,
286 error_code, p_ccb->connection_id);
313 L2CA_DataWrite(p_ccb->connection_id, p_buf);