Searched refs:p_buf2 (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Bluetooth/system/stack/l2cap/ |
D | l2c_fcr.cc | 246 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(buf_size); in l2c_fcr_clone_buf() local 248 p_buf2->offset = new_offset; in l2c_fcr_clone_buf() 249 p_buf2->len = no_of_bytes; in l2c_fcr_clone_buf() 250 memcpy(((uint8_t*)(p_buf2 + 1)) + p_buf2->offset, in l2c_fcr_clone_buf() 253 return (p_buf2); in l2c_fcr_clone_buf() 1352 BT_HDR* p_buf2 = l2c_fcr_clone_buf(p_buf, p_buf->offset, p_buf->len); in retransmit_i_frames() local 1353 if (p_buf2) { in retransmit_i_frames() 1354 p_buf2->layer_specific = p_buf->layer_specific; in retransmit_i_frames() 1356 fixed_queue_enqueue(p_ccb->fcrb.retrans_q, p_buf2); in retransmit_i_frames() 1359 if ((tx_seq != L2C_FCR_RETX_ALL_PKTS) || (p_buf2 == NULL)) break; in retransmit_i_frames()
|
D | l2c_utils.cc | 869 BT_HDR *p_buf, *p_buf2; in l2cu_send_peer_disc_req() local 900 while ((p_buf2 = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q)) != in l2cu_send_peer_disc_req() 902 l2cu_set_acl_hci_header(p_buf2, p_ccb); in l2cu_send_peer_disc_req() 903 l2c_link_check_send_pkts(p_ccb->p_lcb, p_ccb->local_cid, p_buf2); in l2cu_send_peer_disc_req()
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_aact.cc | 2217 BT_HDR* p_buf2 = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); in bta_av_data_path() local 2218 p_buf2->offset = p_buf->offset; in bta_av_data_path() 2219 p_buf2->len = 0; in bta_av_data_path() 2220 p_buf2->layer_specific = 0; in bta_av_data_path() 2222 (uint8_t*)(p_buf2 + 1) + p_buf2->offset + p_buf2->len; in bta_av_data_path() 2224 p_buf2->len += fragment_len; in bta_av_data_path() 2225 extra_fragments.push_back(p_buf2); in bta_av_data_path() 2239 BT_HDR* p_buf2 = extra_fragments[i]; in bta_av_data_path() local 2240 AVDT_WriteReqOpt(p_scb->avdt_handle, p_buf2, timestamp, m_pt, opt); in bta_av_data_path()
|