Lines Matching refs:rem_len
469 UINT16 rem_len = p_buf->len;
488 if ((rem_lenrem_len > BNEP_MTU_SIZE))
495 rem_len--;
514 org_len = rem_len;
558 rem_len -= 14;
563 p = bnep_process_control_packet (p_bcb, p, &rem_len, FALSE);
567 extension_present && p && rem_len)
569 p_bcb->p_pending_data = (BT_HDR *)GKI_getbuf (rem_len);
572 memcpy ((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len);
573 p_bcb->p_pending_data->len = rem_len;
579 while (extension_present && p && rem_len)
589 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE);
597 rem_len -= 2;
604 rem_len -= 8;
611 rem_len -= 8;
616 while (extension_present && p && rem_len)
630 rem_len--;
631 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE);
634 p_buf->offset += p_buf->len - rem_len;
635 p_buf->len = rem_len;
656 (*bnep_cb.p_data_ind_cb)(p_bcb->handle, p_src_addr, p_dst_addr, protocol, p, rem_len, fw_ext_present);