Lines Matching refs:trace_chunks
173 if (!list_is_empty(&ut->trace_chunks)) { in get_chunk()
174 chunk = list_last_entry(&ut->trace_chunks, in get_chunk()
215 list_addtail(&chunk->node, &ut->trace_chunks); in get_chunk()
427 list_inithead(&ut->trace_chunks); in u_trace_init()
437 free_chunks(&ut->trace_chunks); in u_trace_fini()
443 return !list_is_empty(&ut->trace_chunks); in u_trace_has_points()
453 list_first_entry(&ut->trace_chunks, struct u_trace_chunk, node); in u_trace_begin_iterator()
465 list_last_entry(&ut->trace_chunks, struct u_trace_chunk, node); in u_trace_end_iterator()
584 list_for_each_entry(struct u_trace_chunk, chunk, &ut->trace_chunks, node) { in u_trace_flush()
589 if (free_data && !list_is_empty(&ut->trace_chunks)) { in u_trace_flush()
591 list_last_entry(&ut->trace_chunks, struct u_trace_chunk, node); in u_trace_flush()
596 list_splicetail(&ut->trace_chunks, &ut->utctx->flushed_trace_chunks); in u_trace_flush()
597 list_inithead(&ut->trace_chunks); in u_trace_flush()