Lines Matching refs:in_use
60 if (p_clrcb->in_use && p_clrcb->client_if == client_if) return p_clrcb; in bta_gattc_cl_get_regcb()
77 if (bta_gattc_cb.cl_rcb[i].in_use) j++; in bta_gattc_num_reg_app()
97 if (p_clcb->in_use && p_clcb->p_rcb->client_if == client_if && in bta_gattc_find_clcb_by_cif()
117 if (p_clcb->in_use && p_clcb->bta_conn_id == conn_id) return p_clcb; in bta_gattc_find_clcb_by_conn_id()
138 if (!bta_gattc_cb.clcb[i_clcb].in_use) { in bta_gattc_clcb_alloc()
143 p_clcb->in_use = true; in bta_gattc_clcb_alloc()
159 p_clcb->in_use = false; in bta_gattc_clcb_alloc()
236 if (p_srcb->in_use && p_srcb->server_bda == bda) return p_srcb; in bta_gattc_find_srcb()
291 if (!p_tcb->in_use) { in bta_gattc_srcb_alloc()
311 p_tcb->in_use = true; in bta_gattc_srcb_alloc()
351 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
387 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration()
421 if (p_bg_tck->in_use && ((p_bg_tck->remote_bda == remote_bda_ptr) || in bta_gattc_mark_bg_conn()
449 if (!p_bg_tck->in_use) { in bta_gattc_mark_bg_conn()
450 p_bg_tck->in_use = true; in bta_gattc_mark_bg_conn()
480 if (p_bg_tck->in_use && (p_bg_tck->remote_bda == remote_bda || in bta_gattc_check_bg_conn()
530 if (!p_conn->in_use) { in bta_gattc_conn_alloc()
534 p_conn->in_use = true; in bta_gattc_conn_alloc()
556 if (p_conn->in_use && remote_bda == p_conn->remote_bda) { in bta_gattc_conn_find()
597 p_conn->in_use = false; in bta_gattc_conn_dealloc()