Home
last modified time | relevance | path

Searched refs:pgoff (Results 1 – 7 of 7) sorted by relevance

/kernel/events/
Dring_buffer.c671 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() argument
762 rb->aux_pgoff = pgoff; in rb_alloc_aux()
782 __perf_mmap_to_page(struct perf_buffer *rb, unsigned long pgoff) in __perf_mmap_to_page() argument
784 if (pgoff > rb->nr_pages) in __perf_mmap_to_page()
787 if (pgoff == 0) in __perf_mmap_to_page()
790 return virt_to_page(rb->data_pages[pgoff - 1]); in __perf_mmap_to_page()
872 __perf_mmap_to_page(struct perf_buffer *rb, unsigned long pgoff) in __perf_mmap_to_page() argument
875 if (pgoff > data_page_nr(rb)) in __perf_mmap_to_page()
878 return vmalloc_to_page((void *)rb->user_page + pgoff * PAGE_SIZE); in __perf_mmap_to_page()
953 perf_mmap_to_page(struct perf_buffer *rb, unsigned long pgoff) in perf_mmap_to_page() argument
[all …]
Dinternal.h83 pgoff_t pgoff, int nr_pages, long watermark, int flags);
97 perf_mmap_to_page(struct perf_buffer *rb, unsigned long pgoff);
Duprobes.c964 unsigned long pgoff = offset >> PAGE_SHIFT; in build_map_info() local
973 vma_interval_tree_foreach(vma, &mapping->i_mmap, pgoff, pgoff) { in build_map_info()
Dcore.c5980 if (vmf->pgoff == 0) in perf_mmap_fault()
5990 if (vmf->pgoff && (vmf->flags & FAULT_FLAG_WRITE)) in perf_mmap_fault()
5993 vmf->page = perf_mmap_to_page(rb, vmf->pgoff); in perf_mmap_fault()
5999 vmf->page->index = vmf->pgoff; in perf_mmap_fault()
8397 u64 pgoff; member
8721 .pgoff = (u64)vma->vm_pgoff << PAGE_SHIFT, in perf_event_mmap()
/kernel/
Drelay.c37 pgoff_t pgoff = vmf->pgoff; in relay_buf_fault() local
42 page = vmalloc_to_page(buf->start + (pgoff << PAGE_SHIFT)); in relay_buf_fault()
/kernel/futex/
Dcore.c399 key->shared.pgoff = page_to_pgoff(tail); in get_futex_key()
/kernel/bpf/
Darraymap.c532 pgoff_t pgoff = PAGE_ALIGN(sizeof(*array)) >> PAGE_SHIFT; in array_map_mmap() local
542 vma->vm_pgoff + pgoff); in array_map_mmap()