Lines Matching refs:perf_buffer
42 struct perf_buffer *rb = handle->rb; in perf_output_get_handle()
56 struct perf_buffer *rb = handle->rb; in perf_output_put_handle()
158 struct perf_buffer *rb; in __perf_output_begin()
314 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init()
376 struct perf_buffer *rb; in perf_aux_output_begin()
464 static __always_inline bool rb_need_aux_wakeup(struct perf_buffer *rb) in rb_need_aux_wakeup()
490 struct perf_buffer *rb = handle->rb; in perf_aux_output_end()
547 struct perf_buffer *rb = handle->rb; in perf_aux_output_skip()
584 struct perf_buffer *rb = aux_handle->rb; in perf_output_copy_aux()
641 static void rb_free_aux_page(struct perf_buffer *rb, int idx) in rb_free_aux_page()
650 static void __rb_free_aux(struct perf_buffer *rb) in __rb_free_aux()
677 int rb_alloc_aux(struct perf_buffer *rb, struct perf_event *event, in rb_alloc_aux()
781 void rb_free_aux(struct perf_buffer *rb) in rb_free_aux()
794 __perf_mmap_to_page(struct perf_buffer *rb, unsigned long pgoff) in __perf_mmap_to_page()
826 struct perf_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc()
828 struct perf_buffer *rb; in rb_alloc()
832 size = sizeof(struct perf_buffer); in rb_alloc()
872 void rb_free(struct perf_buffer *rb) in rb_free()
884 __perf_mmap_to_page(struct perf_buffer *rb, unsigned long pgoff) in __perf_mmap_to_page()
902 struct perf_buffer *rb; in rb_free_work()
906 rb = container_of(work, struct perf_buffer, work); in rb_free_work()
918 void rb_free(struct perf_buffer *rb) in rb_free()
923 struct perf_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc()
925 struct perf_buffer *rb; in rb_alloc()
930 size = sizeof(struct perf_buffer); in rb_alloc()
965 perf_mmap_to_page(struct perf_buffer *rb, unsigned long pgoff) in perf_mmap_to_page()