Lines Matching refs:handle
133 size = min(handle->size, len); \
138 handle->addr += written; \
141 handle->size -= written; \
142 if (!handle->size) { \
143 struct ring_buffer *rb = handle->rb; \
145 handle->page++; \
146 handle->page &= rb->nr_pages - 1; \
147 handle->addr = rb->data_pages[handle->page]; \
148 handle->size = PAGE_SIZE << page_order(rb); \
157 func_name(struct perf_output_handle *handle, \
159 __DEFINE_OUTPUT_COPY_BODY(true, memcpy_func, handle->addr, buf, size)
162 __output_custom(struct perf_output_handle *handle, perf_copy_f copy_func, in __output_custom() argument
166 __DEFINE_OUTPUT_COPY_BODY(false, copy_func, handle->addr, buf, in __output_custom()