Lines Matching defs:queue

129  * encode the etm queue number as the upper 16 bit and the channel as
396 * that were accumulated in the traceID queue. Since there can
398 * what traceID queue needs servicing.
426 static void cs_etm__clear_packet_queue(struct cs_etm_packet_queue *queue)
430 queue->head = 0;
431 queue->tail = 0;
432 queue->packet_count = 0;
434 queue->packet_buffer[i].isa = CS_ETM_ISA_UNKNOWN;
435 queue->packet_buffer[i].start_addr = CS_ETM_INVAL_ADDR;
436 queue->packet_buffer[i].end_addr = CS_ETM_INVAL_ADDR;
437 queue->packet_buffer[i].instr_count = 0;
438 queue->packet_buffer[i].last_instr_taken_branch = false;
439 queue->packet_buffer[i].last_instr_size = 0;
440 queue->packet_buffer[i].last_instr_type = 0;
441 queue->packet_buffer[i].last_instr_subtype = 0;
442 queue->packet_buffer[i].last_instr_cond = 0;
443 queue->packet_buffer[i].flags = 0;
444 queue->packet_buffer[i].exception_number = UINT32_MAX;
445 queue->packet_buffer[i].trace_chan_id = UINT8_MAX;
446 queue->packet_buffer[i].cpu = INT_MIN;
469 struct auxtrace_queue *queue;
474 queue = &etmq->etm->queues.queue_array[etmq->queue_nr];
478 queue->tid);
533 * in the queue list.
1025 * Each queue can only contain data from one CPU when unformatted, so only one decoder is
1082 struct auxtrace_queue *queue,
1086 struct cs_etm_queue *etmq = queue->priv;
1088 if (list_empty(&queue->head) || etmq)
1096 queue->priv = etmq;
1132 * encountering a CS timestamp, a full packet queue or the end of
1161 * instructions conveyed by the range packets of this traceID queue
1167 * queue and will be processed in cs_etm__process_timestamped_queues().
1325 struct auxtrace_queue *queue;
1327 queue = &etmq->etm->queues.queue_array[etmq->queue_nr];
1329 aux_buffer = auxtrace_buffer__next(queue, aux_buffer);
1927 * cs_etm__get_data_block: Fetch a block from the auxtrace_buffer queue
2310 * Packets are decoded and added to the decoder's packet queue
2314 * decoder buffer queue.
2433 /* Go through each buffer in the queue and decode them one by one */
2468 /* Go through each buffer in the queue and decode them one by one */
2482 * single traceID queue because each TID has a separate
2514 struct auxtrace_queue *queue = &etm->queues.queue_array[i];
2515 struct cs_etm_queue *etmq = queue->priv;
2543 struct auxtrace_queue *queue;
2548 * Pre-populate the heap with one entry from each queue so that we can
2569 queue = &etm->queues.queue_array[queue_nr];
2570 etmq = queue->priv;
2581 * No traceID queue has been allocated for this traceID,
2591 * the etmq's traceID queue, so process them.
2640 * this queue/traceID.
2925 * Normally, whole auxtrace buffers would be added to the queue. But we
3008 * based on the sizes of the aux event, and queue that fragment.