Lines Matching refs:in_use

61         if (!p_lcb->in_use)  in l2cu_allocate_lcb()
69 p_lcb->in_use = TRUE; in l2cu_allocate_lcb()
144 p_lcb->in_use = FALSE; in l2cu_release_lcb()
289 if ((p_lcb->in_use) && in l2cu_find_lcb_by_bd_addr()
1267 if ( (!p_ccb->in_use) || (p_q == NULL) ) in l2cu_enqueue_ccb()
1270 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb); in l2cu_enqueue_ccb()
1360 if ( (!p_ccb->in_use) || (p_q == NULL) || (p_q->p_first_ccb == NULL) ) in l2cu_dequeue_ccb()
1363 … p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, p_q ? p_q->p_first_ccb : 0); in l2cu_dequeue_ccb()
1527 p_ccb->in_use = TRUE; in l2cu_allocate_ccb()
1680 L2CAP_TRACE_DEBUG ("l2cu_release_ccb: cid 0x%04x in_use: %u", p_ccb->local_cid, p_ccb->in_use); in l2cu_release_ccb()
1683 if (!p_ccb->in_use) in l2cu_release_ccb()
1741 p_ccb->in_use = FALSE; in l2cu_release_ccb()
1744 if ((p_lcb) && p_lcb->in_use && (p_lcb->link_state == LST_CONNECTED)) in l2cu_release_ccb()
1780 if ((p_ccb->in_use) && (p_ccb->remote_cid == remote_cid)) in l2cu_find_ccb_by_remote_cid()
1805 if (!p_rcb->in_use) in l2cu_allocate_rcb()
1807 p_rcb->in_use = TRUE; in l2cu_allocate_rcb()
1837 if (!p_rcb->in_use) in l2cu_allocate_ble_rcb()
1839 p_rcb->in_use = TRUE; in l2cu_allocate_ble_rcb()
1863 p_rcb->in_use = FALSE; in l2cu_release_rcb()
1917 if ((p_rcb->in_use) && (p_rcb->psm == psm)) in l2cu_find_rcb_by_psm()
1942 if ((p_rcb->in_use) && (p_rcb->psm == psm)) in l2cu_find_ble_rcb_by_psm()
2261 if ((p_lcb->in_use) && (p_lcb->handle != HCI_INVALID_HANDLE)) in l2cu_device_reset()
2314 if ((p_lcb_cur->in_use) && (p_lcb_cur->link_role == HCI_ROLE_SLAVE)) in l2cu_create_conn()
2373 if ((p_lcb->in_use) && (p_lcb->acl_priority == L2CAP_PRIORITY_HIGH)) in l2cu_get_num_hi_priority()
2479 if ((p_lcb->in_use) && (p_lcb->link_state == state)) in l2cu_find_lcb_by_state()
2513 if (p_lcb->in_use) in l2cu_lcb_disconnecting()
2526 if ((p_ccb->in_use) && in l2cu_lcb_disconnecting()
2658 if (p_lcb->in_use) in l2cu_resubmit_pending_sec_req()
2749 if ((p_ccb != NULL) && p_ccb->in_use) { in l2cu_initialize_fixed_ccb()
3296 if ((p_lcb->in_use) && (p_lcb->handle == handle)) in l2cu_find_lcb_by_handle()
3335 if (!p_ccb->in_use) in l2cu_find_ccb_by_cid()
3353 &&(p_ccb->in_use) in l2cu_find_ccb_by_cid()