Home
last modified time | relevance | path

Searched refs:vmf (Results 1 – 2 of 2) sorted by relevance

/kernel/
Drelay.c33 static vm_fault_t relay_buf_fault(struct vm_fault *vmf) in relay_buf_fault() argument
36 struct rchan_buf *buf = vmf->vma->vm_private_data; in relay_buf_fault()
37 pgoff_t pgoff = vmf->pgoff; in relay_buf_fault()
46 vmf->page = page; in relay_buf_fault()
/kernel/events/
Dcore.c5973 static vm_fault_t perf_mmap_fault(struct vm_fault *vmf) in perf_mmap_fault() argument
5975 struct perf_event *event = vmf->vma->vm_file->private_data; in perf_mmap_fault()
5979 if (vmf->flags & FAULT_FLAG_MKWRITE) { in perf_mmap_fault()
5980 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()
5994 if (!vmf->page) in perf_mmap_fault()
5997 get_page(vmf->page); in perf_mmap_fault()
5998 vmf->page->mapping = vmf->vma->vm_file->f_mapping; in perf_mmap_fault()
5999 vmf->page->index = vmf->pgoff; in perf_mmap_fault()