Lines Matching refs:aux_nr_pages
578 from &= (rb->aux_nr_pages << PAGE_SHIFT) - 1; in perf_output_copy_aux()
579 to &= (rb->aux_nr_pages << PAGE_SHIFT) - 1; in perf_output_copy_aux()
597 from &= (rb->aux_nr_pages << PAGE_SHIFT) - 1; in perf_output_copy_aux()
658 if (rb->aux_nr_pages) { in __rb_free_aux()
659 for (pg = 0; pg < rb->aux_nr_pages; pg++) in __rb_free_aux()
663 rb->aux_nr_pages = 0; in __rb_free_aux()
705 for (rb->aux_nr_pages = 0; rb->aux_nr_pages < nr_pages;) { in rb_alloc_aux()
709 order = min(max_order, ilog2(nr_pages - rb->aux_nr_pages)); in rb_alloc_aux()
714 for (last = rb->aux_nr_pages + (1 << page_private(page)); in rb_alloc_aux()
715 last > rb->aux_nr_pages; rb->aux_nr_pages++) in rb_alloc_aux()
716 rb->aux_pages[rb->aux_nr_pages] = page_address(page++); in rb_alloc_aux()
951 if (rb->aux_nr_pages) { in perf_mmap_to_page()
953 if (pgoff > rb->aux_pgoff + rb->aux_nr_pages) in perf_mmap_to_page()
958 int aux_pgoff = array_index_nospec(pgoff - rb->aux_pgoff, rb->aux_nr_pages); in perf_mmap_to_page()