Lines Matching refs:p_srcb

142       p_clcb->p_srcb = bta_gattc_find_srcb(remote_bda);  in bta_gattc_clcb_alloc()
143 if (p_clcb->p_srcb == NULL) in bta_gattc_clcb_alloc()
144 p_clcb->p_srcb = bta_gattc_srcb_alloc(remote_bda); in bta_gattc_clcb_alloc()
146 if (p_clcb->p_rcb != NULL && p_clcb->p_srcb != NULL) { in bta_gattc_clcb_alloc()
147 p_clcb->p_srcb->num_clcb++; in bta_gattc_clcb_alloc()
195 tBTA_GATTC_SERV* p_srcb = p_clcb->p_srcb; in bta_gattc_clcb_dealloc() local
196 if (p_srcb->num_clcb) p_srcb->num_clcb--; in bta_gattc_clcb_dealloc()
201 if (p_srcb->num_clcb == 0) { in bta_gattc_clcb_dealloc()
202 p_srcb->connected = false; in bta_gattc_clcb_dealloc()
203 p_srcb->state = BTA_GATTC_SERV_IDLE; in bta_gattc_clcb_dealloc()
204 p_srcb->mtu = 0; in bta_gattc_clcb_dealloc()
207 std::vector<tBTA_GATTC_SERVICE>().swap(p_srcb->srvc_cache); in bta_gattc_clcb_dealloc()
224 tBTA_GATTC_SERV* p_srcb = &bta_gattc_cb.known_server[0]; in bta_gattc_find_srcb() local
227 for (i = 0; i < BTA_GATTC_KNOWN_SR_MAX; i++, p_srcb++) { in bta_gattc_find_srcb()
228 if (p_srcb->in_use && p_srcb->server_bda == bda) return p_srcb; in bta_gattc_find_srcb()
243 tBTA_GATTC_SERV* p_srcb = &bta_gattc_cb.known_server[0]; in bta_gattc_find_srvr_cache() local
246 for (i = 0; i < BTA_GATTC_KNOWN_SR_MAX; i++, p_srcb++) { in bta_gattc_find_srvr_cache()
247 if (p_srcb->server_bda == bda) return p_srcb; in bta_gattc_find_srvr_cache()
264 return p_clcb->p_srcb; in bta_gattc_find_scb_by_cid()
338 tBTA_GATTC_SERV* p_srcb, in bta_gattc_check_notif_registry() argument
344 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry()
365 void bta_gattc_clear_notif_registration(tBTA_GATTC_SERV* p_srcb, in bta_gattc_clear_notif_registration() argument