Searched refs:p_data_buf (Results 1 – 1 of 1) sorted by relevance
897 BT_HDR *p_data_buf = osi_malloc(count + sizeof(BT_HDR)); in btc_l2cap_cb_handler() local898 if (p_data_buf == NULL) { in btc_l2cap_cb_handler()903 memset(p_data_buf, 0, count + sizeof(BT_HDR)); in btc_l2cap_cb_handler()904 … p_data_buf->len = BTA_JvL2capRead(p_data->data_ind.handle, slot->id, p_data_buf->data, count); in btc_l2cap_cb_handler()905 if (p_data_buf->len > 0) { in btc_l2cap_cb_handler()906 fixed_queue_enqueue(slot->rx.queue, p_data_buf, FIXED_QUEUE_MAX_TIMEOUT); in btc_l2cap_cb_handler()908 osi_free(p_data_buf); in btc_l2cap_cb_handler()940 BT_HDR *p_data_buf = osi_malloc(count + sizeof(BT_HDR)); in btc_l2cap_cb_handler() local941 if (p_data_buf == NULL) { in btc_l2cap_cb_handler()946 memset(p_data_buf, 0, count + sizeof(BT_HDR)); in btc_l2cap_cb_handler()[all …]