Lines Matching refs:pcb
185 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
186 pan_cb.pcb[i].handle == handle) in pan_allocate_pcb()
191 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_allocate_pcb()
192 pan_cb.pcb[i].rem_bda == p_bda) in pan_allocate_pcb()
197 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) { in pan_allocate_pcb()
198 memset(&(pan_cb.pcb[i]), 0, sizeof(tPAN_CONN)); in pan_allocate_pcb()
199 pan_cb.pcb[i].rem_bda = p_bda; in pan_allocate_pcb()
200 pan_cb.pcb[i].handle = handle; in pan_allocate_pcb()
201 return &(pan_cb.pcb[i]); in pan_allocate_pcb()
220 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE && in pan_get_pcb_by_handle()
221 pan_cb.pcb[i].handle == handle) in pan_get_pcb_by_handle()
222 return &(pan_cb.pcb[i]); in pan_get_pcb_by_handle()
241 if (pan_cb.pcb[i].con_state == PAN_STATE_IDLE) continue; in pan_get_pcb_by_addr()
243 if (pan_cb.pcb[i].rem_bda == p_bda) return &(pan_cb.pcb[i]); in pan_get_pcb_by_addr()
268 if (pan_cb.pcb[i].con_state != PAN_STATE_IDLE) { in pan_close_all_connections()
269 BNEP_Disconnect(pan_cb.pcb[i].handle); in pan_close_all_connections()
270 pan_cb.pcb[i].con_state = PAN_STATE_IDLE; in pan_close_all_connections()
312 for (i = 0, p_pcb = pan_cb.pcb; i < MAX_PAN_CONNS; i++, p_pcb++) { in pan_dump_status()