Home
last modified time | relevance | path

Searched refs:aux_nr_pages (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/events/
H A Dring_buffer.c588 from &= (rb->aux_nr_pages << PAGE_SHIFT) - 1; in perf_output_copy_aux()
589 to &= (rb->aux_nr_pages << PAGE_SHIFT) - 1; in perf_output_copy_aux()
607 from &= (rb->aux_nr_pages << PAGE_SHIFT) - 1; in perf_output_copy_aux()
668 if (rb->aux_nr_pages) { in __rb_free_aux()
669 for (pg = 0; pg < rb->aux_nr_pages; pg++) in __rb_free_aux()
673 rb->aux_nr_pages = 0; in __rb_free_aux()
726 for (rb->aux_nr_pages = 0; rb->aux_nr_pages < nr_pages;) { in rb_alloc_aux()
730 order = min(max_order, ilog2(nr_pages - rb->aux_nr_pages)); in rb_alloc_aux()
735 for (last = rb->aux_nr_pages + (1 << page_private(page)); in rb_alloc_aux()
736 last > rb->aux_nr_pages; rb->aux_nr_pages++) in rb_alloc_aux()
[all …]
H A Dinternal.h48 int aux_nr_pages; member
92 return !!rb->aux_nr_pages; in rb_has_aux()
133 return (unsigned long)rb->aux_nr_pages << PAGE_SHIFT; in perf_aux_size()
H A Dcore.c6471 atomic_long_sub(rb->aux_nr_pages - rb->aux_mmap_locked, &mmap_user->locked_vm); in perf_mmap_close()
6635 if (rb_has_aux(rb) && rb->aux_nr_pages != nr_pages) in perf_mmap()