Lines Matching refs:old_buffer
184 struct auxtrace_buffer *old_buffer; member
402 struct auxtrace_buffer *old_buffer, in intel_pt_get_buffer() argument
416 if (might_overlap && !buffer->consecutive && old_buffer && in intel_pt_get_buffer()
417 intel_pt_do_fix_overlap(ptq->pt, old_buffer, buffer)) in intel_pt_get_buffer()
429 if (!old_buffer || (might_overlap && !buffer->consecutive)) { in intel_pt_get_buffer()
443 if (!buffer || buffer == ptq->buffer || buffer == ptq->old_buffer) in intel_pt_lookahead_drop_buffer()
455 struct auxtrace_buffer *old_buffer = ptq->old_buffer; in intel_pt_lookahead() local
468 err = intel_pt_get_buffer(ptq, buffer, old_buffer, &b); in intel_pt_lookahead()
473 intel_pt_lookahead_drop_buffer(ptq, old_buffer); in intel_pt_lookahead()
474 old_buffer = buffer; in intel_pt_lookahead()
485 if (buffer != old_buffer) in intel_pt_lookahead()
487 intel_pt_lookahead_drop_buffer(ptq, old_buffer); in intel_pt_lookahead()
500 struct auxtrace_buffer *old_buffer = ptq->old_buffer; in intel_pt_get_trace() local
513 if (old_buffer) in intel_pt_get_trace()
514 auxtrace_buffer__drop_data(old_buffer); in intel_pt_get_trace()
521 err = intel_pt_get_buffer(ptq, buffer, old_buffer, b); in intel_pt_get_trace()
529 if (old_buffer) in intel_pt_get_trace()
530 auxtrace_buffer__drop_data(old_buffer); in intel_pt_get_trace()
531 ptq->old_buffer = buffer; in intel_pt_get_trace()