Lines Matching refs:handle
140 size = min(handle->size, len); \
145 handle->addr += written; \
148 handle->size -= written; \
149 if (!handle->size) { \
150 struct perf_buffer *rb = handle->rb; \
152 handle->page++; \
153 handle->page &= rb->nr_pages - 1; \
154 handle->addr = rb->data_pages[handle->page]; \
155 handle->size = PAGE_SIZE << page_order(rb); \
164 func_name(struct perf_output_handle *handle, \
166 __DEFINE_OUTPUT_COPY_BODY(true, memcpy_func, handle->addr, buf, size)
169 __output_custom(struct perf_output_handle *handle, perf_copy_f copy_func, in __output_custom() argument
173 __DEFINE_OUTPUT_COPY_BODY(false, copy_func, handle->addr, buf, in __output_custom()