Lines Matching refs:cur_idx
745 buf->cur_idx++; in pt_buffer_advance()
747 if (buf->cur_idx == buf->cur->last) { in pt_buffer_advance()
753 buf->cur_idx = 0; in pt_buffer_advance()
772 for (topa_idx = 0; topa_idx < buf->cur_idx; topa_idx++) in pt_update_head()
793 return phys_to_virt(buf->cur->table[buf->cur_idx].base << TOPA_SHIFT); in pt_buffer_region()
802 return sizes(buf->cur->table[buf->cur_idx].size); in pt_buffer_region_size()
832 buf->output_off == sizes(TOPA_ENTRY(buf->cur, buf->cur_idx)->size)) { in pt_handle_status()
877 buf->cur_idx = (offset & 0xffffff80) >> 7; in pt_read_offset()
927 sizes(TOPA_ENTRY(buf->cur, buf->cur_idx)->size)) { in pt_buffer_reset_markers()
1031 buf->cur_idx = ((unsigned long)buf->topa_index[pg] - in pt_buffer_reset_offsets()
1033 buf->output_off = head & (sizes(buf->cur->table[buf->cur_idx].size) - 1); in pt_buffer_reset_offsets()
1295 pt_config_buffer(buf->cur->table, buf->cur_idx, in intel_pt_interrupt()
1360 pt_config_buffer(buf->cur->table, buf->cur_idx, in pt_event_start()