Searched refs:p_new_buf (Results 1 – 3 of 3) sorted by relevance
187 BT_HDR* p_new_buf = (BT_HDR*)osi_malloc(PAN_BUF_SIZE); in bta_pan_data_buf_ind_cback() local188 memcpy((uint8_t*)(p_new_buf + 1) + sizeof(tBTA_PAN_DATA_PARAMS), in bta_pan_data_buf_ind_cback()190 p_new_buf->len = p_buf->len; in bta_pan_data_buf_ind_cback()191 p_new_buf->offset = sizeof(tBTA_PAN_DATA_PARAMS); in bta_pan_data_buf_ind_cback()194 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->src = src; in bta_pan_data_buf_ind_cback()195 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->dst = dst; in bta_pan_data_buf_ind_cback()196 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->protocol = protocol; in bta_pan_data_buf_ind_cback()197 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->ext = ext; in bta_pan_data_buf_ind_cback()198 ((tBTA_PAN_DATA_PARAMS*)p_new_buf)->forward = forward; in bta_pan_data_buf_ind_cback()200 fixed_queue_enqueue(p_scb->data_queue, p_new_buf); in bta_pan_data_buf_ind_cback()
447 BT_HDR* p_new_buf = in rfc_send_test() local451 p_new_buf->offset = L2CAP_MIN_OFFSET + RFCOMM_MIN_OFFSET + 2; in rfc_send_test()452 p_new_buf->len = p_buf->len; in rfc_send_test()455 (uint8_t*)(p_new_buf + 1) + p_new_buf->offset + p_new_buf->len - 1; in rfc_send_test()460 p_buf = p_new_buf; in rfc_send_test()
806 static void btif_in_storage_request_copy_cb(uint16_t event, char* p_new_buf, in btif_in_storage_request_copy_cb() argument808 btif_storage_req_t* new_req = (btif_storage_req_t*)p_new_buf; in btif_in_storage_request_copy_cb()821 (uint8_t*)(p_new_buf + sizeof(btif_storage_req_t)); in btif_in_storage_request_copy_cb()