Lines Matching full:p_buf
829 void PORT_DataInd (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf)
838 p_buf->len, p_mcb, p_port, dlci);
841 osi_free(p_buf);
849 if(p_port->p_data_co_callback(p_port->inx, (UINT8*)p_buf, -1, DATA_CO_CALLBACK_TYPE_INCOMING))
852 //osi_free(p_buf);
862 p_port->p_data_callback (p_port->inx, (UINT8 *)(p_buf + 1) + p_buf->offset, p_buf->len);
863 osi_free(p_buf);
868 if ((p_port->rx.queue_size + p_buf->len > PORT_RX_CRITICAL_WM)
872 osi_free(p_buf);
883 for (i = 0, p = (UINT8 *)(p_buf + 1) + p_buf->offset; i < p_buf->len; i++)
895 fixed_queue_enqueue(p_port->rx.queue, p_buf);
896 p_port->rx.queue_size += p_buf->len;
993 BT_HDR *p_buf;
1004 if ((p_buf = (BT_HDR *)fixed_queue_try_dequeue(p_port->tx.queue)) != NULL)
1006 p_port->tx.queue_size -= p_buf->len;
1012 RFCOMM_DataReq (p_port->rfc.p_mcb, p_port->dlci, p_buf);