Lines Matching refs:handle

96 	struct perf_output_handle handle; /* AUX buffer output handle */  member
705 struct perf_output_handle handle; in cpumsf_output_event_pid() local
718 if (perf_output_begin(&handle, data, event, header.size)) in cpumsf_output_event_pid()
725 perf_output_sample(&handle, &header, data, event); in cpumsf_output_event_pid()
726 perf_output_end(&handle); in cpumsf_output_event_pid()
1423 static void aux_output_end(struct perf_output_handle *handle) in aux_output_end() argument
1429 aux = perf_get_aux(handle); in aux_output_end()
1440 perf_aux_output_end(handle, i << PAGE_SHIFT); in aux_output_end()
1459 static int aux_output_begin(struct perf_output_handle *handle, in aux_output_begin() argument
1466 if (handle->head & ~PAGE_MASK) in aux_output_begin()
1469 aux->head = handle->head >> PAGE_SHIFT; in aux_output_begin()
1470 range = (handle->size + 1) >> PAGE_SHIFT; in aux_output_begin()
1641 struct perf_output_handle *handle = &cpuhw->handle; in hw_collect_aux() local
1644 aux = perf_get_aux(handle); in hw_collect_aux()
1652 perf_aux_output_end(handle, size); in hw_collect_aux()
1657 aux = perf_aux_output_begin(handle, cpuhw->event); in hw_collect_aux()
1658 if (handle->size == 0) { in hw_collect_aux()
1668 aux->head = handle->head >> PAGE_SHIFT; in hw_collect_aux()
1669 range = (handle->size + 1) >> PAGE_SHIFT; in hw_collect_aux()
1681 perf_aux_output_end(&cpuhw->handle, size); in hw_collect_aux()
1689 perf_aux_output_end(&cpuhw->handle, size); in hw_collect_aux()
1969 aux = perf_aux_output_begin(&cpuhw->handle, event); in cpumsf_pmu_add()
1974 err = aux_output_begin(&cpuhw->handle, aux, cpuhw); in cpumsf_pmu_add()
2006 aux_output_end(&cpuhw->handle); in cpumsf_pmu_del()