Lines Matching defs:rem_len
467 UINT16 rem_len = p_buf->len;
486 if ((rem_lenrem_len > BNEP_MTU_SIZE))
493 rem_len--;
512 org_len = rem_len;
556 rem_len -= 14;
561 p = bnep_process_control_packet (p_bcb, p, &rem_len, FALSE);
565 extension_present && p && rem_len)
567 p_bcb->p_pending_data = (BT_HDR *)GKI_getbuf (rem_len);
570 memcpy ((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len);
571 p_bcb->p_pending_data->len = rem_len;
577 while (extension_present && p && rem_len)
587 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE);
595 rem_len -= 2;
602 rem_len -= 8;
609 rem_len -= 8;
614 while (extension_present && p && rem_len)
628 rem_len--;
629 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE);
632 p_buf->offset += p_buf->len - rem_len;
633 p_buf->len = rem_len;
654 (*bnep_cb.p_data_ind_cb)(p_bcb->handle, p_src_addr, p_dst_addr, protocol, p, rem_len, fw_ext_present);