Lines Matching refs:handle
98 struct perf_output_handle *handle);
178 struct perf_output_handle *handle = data; in etb_enable_perf() local
179 struct cs_buffers *buf = etm_perf_sink_config(handle); in etb_enable_perf()
211 ret = etb_set_buffer(csdev, handle); in etb_enable_perf()
405 struct perf_output_handle *handle) in etb_set_buffer() argument
409 struct cs_buffers *buf = etm_perf_sink_config(handle); in etb_set_buffer()
415 head = handle->head & ((buf->nr_pages << PAGE_SHIFT) - 1); in etb_set_buffer()
429 struct perf_output_handle *handle, in etb_update_buffer() argument
500 if (!buf->snapshot && to_read > handle->size) { in etb_update_buffer()
504 to_read = handle->size & mask; in etb_update_buffer()
525 perf_aux_output_flag(handle, PERF_AUX_FLAG_TRUNCATED); in etb_update_buffer()
565 handle->head += to_read; in etb_update_buffer()