Searched refs:p_buf2 (Results 1 – 3 of 3) sorted by relevance
/system/bt/stack/l2cap/ |
D | l2c_fcr.cc | 247 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(buf_size); in l2c_fcr_clone_buf() local 249 p_buf2->offset = new_offset; in l2c_fcr_clone_buf() 250 p_buf2->len = no_of_bytes; in l2c_fcr_clone_buf() 251 memcpy(((uint8_t*)(p_buf2 + 1)) + p_buf2->offset, in l2c_fcr_clone_buf() 254 return (p_buf2); in l2c_fcr_clone_buf() 1349 BT_HDR* p_buf2 = l2c_fcr_clone_buf(p_buf, p_buf->offset, p_buf->len); in retransmit_i_frames() local 1350 if (p_buf2) { in retransmit_i_frames() 1351 p_buf2->layer_specific = p_buf->layer_specific; in retransmit_i_frames() 1353 fixed_queue_enqueue(p_ccb->fcrb.retrans_q, p_buf2); in retransmit_i_frames() 1356 if ((tx_seq != L2C_FCR_RETX_ALL_PKTS) || (p_buf2 == NULL)) break; in retransmit_i_frames()
|
D | l2c_utils.cc | 872 BT_HDR *p_buf, *p_buf2; in l2cu_send_peer_disc_req() local 903 while ((p_buf2 = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q)) != in l2cu_send_peer_disc_req() 905 l2cu_set_acl_hci_header(p_buf2, p_ccb); in l2cu_send_peer_disc_req() 906 l2c_link_check_send_pkts(p_ccb->p_lcb, p_ccb->local_cid, p_buf2); in l2cu_send_peer_disc_req()
|
/system/bt/bta/av/ |
D | bta_av_aact.cc | 2129 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in bta_av_data_path() local 2130 p_buf2->offset = p_buf->offset; in bta_av_data_path() 2131 p_buf2->len = 0; in bta_av_data_path() 2132 p_buf2->layer_specific = 0; in bta_av_data_path() 2134 (uint8_t*)(p_buf2 + 1) + p_buf2->offset + p_buf2->len; in bta_av_data_path() 2136 p_buf2->len += fragment_len; in bta_av_data_path() 2137 extra_fragments.push_back(p_buf2); in bta_av_data_path() 2151 BT_HDR* p_buf2 = extra_fragments[i]; in bta_av_data_path() local 2152 AVDT_WriteReqOpt(p_scb->avdt_handle, p_buf2, timestamp, m_pt, opt); in bta_av_data_path()
|