Lines Matching refs:rem_len
479 UINT16 rem_len = p_buf->len; in bnep_data_ind() local
498 if ((rem_len <= bnep_frame_hdr_sizes[type]) || (rem_len > BNEP_MTU_SIZE)) in bnep_data_ind()
505 rem_len--; in bnep_data_ind()
524 org_len = rem_len; in bnep_data_ind()
567 rem_len -= 14; in bnep_data_ind()
572 p = bnep_process_control_packet (p_bcb, p, &rem_len, FALSE); in bnep_data_ind()
576 extension_present && p && rem_len) in bnep_data_ind()
578 p_bcb->p_pending_data = (BT_HDR *)osi_malloc(rem_len); in bnep_data_ind()
579 memcpy((UINT8 *)(p_bcb->p_pending_data + 1), p, rem_len); in bnep_data_ind()
580 p_bcb->p_pending_data->len = rem_len; in bnep_data_ind()
585 while (extension_present && p && rem_len) in bnep_data_ind()
595 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE); in bnep_data_ind()
603 rem_len -= 2; in bnep_data_ind()
610 rem_len -= 8; in bnep_data_ind()
617 rem_len -= 8; in bnep_data_ind()
622 while (extension_present && p && rem_len) in bnep_data_ind()
636 rem_len--; in bnep_data_ind()
637 p = bnep_process_control_packet (p_bcb, p, &rem_len, TRUE); in bnep_data_ind()
640 p_buf->offset += p_buf->len - rem_len; in bnep_data_ind()
641 p_buf->len = rem_len; in bnep_data_ind()
662 …(*bnep_cb.p_data_ind_cb)(p_bcb->handle, p_src_addr, p_dst_addr, protocol, p, rem_len, fw_ext_prese… in bnep_data_ind()