Searched refs:gup_flags (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | gup.c | 840 unsigned int gup_flags, struct vm_area_struct **vma, in get_gate_page() argument 851 if (gup_flags & FOLL_WRITE) in get_gate_page() 877 if ((gup_flags & FOLL_DUMP) || !is_zero_pfn(pte_pfn(*pte))) in get_gate_page() 881 if (unlikely(!try_grab_page(*page, gup_flags))) { in get_gate_page() 951 static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) in check_vma_flags() argument 954 int write = (gup_flags & FOLL_WRITE); in check_vma_flags() 955 int foreign = (gup_flags & FOLL_REMOTE); in check_vma_flags() 960 if (gup_flags & FOLL_ANON && !vma_is_anonymous(vma)) in check_vma_flags() 963 if ((gup_flags & FOLL_LONGTERM) && vma_is_fsdax(vma)) in check_vma_flags() 968 if (!(gup_flags & FOLL_FORCE)) in check_vma_flags() [all …]
|
D | frame_vector.c | 39 unsigned int gup_flags, struct frame_vector *vec) in get_vaddr_frames() argument 79 gup_flags, (struct page **)(vec->ptrs), &locked); in get_vaddr_frames()
|
D | nommu.c | 1688 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm() argument 1691 int write = gup_flags & FOLL_WRITE; in __access_remote_vm() 1732 void *buf, int len, unsigned int gup_flags) in access_remote_vm() argument 1734 return __access_remote_vm(NULL, mm, addr, buf, len, gup_flags); in access_remote_vm() 1742 unsigned int gup_flags) in access_process_vm() argument 1753 len = __access_remote_vm(tsk, mm, addr, buf, len, gup_flags); in access_process_vm()
|
D | memory.c | 5605 unsigned long addr, void *buf, int len, unsigned int gup_flags) in __access_remote_vm() argument 5609 int write = gup_flags & FOLL_WRITE; in __access_remote_vm() 5621 gup_flags, &page, &vma, NULL); in __access_remote_vm() 5680 void *buf, int len, unsigned int gup_flags) in access_remote_vm() argument 5682 return __access_remote_vm(NULL, mm, addr, buf, len, gup_flags); in access_remote_vm() 5691 void *buf, int len, unsigned int gup_flags) in access_process_vm() argument 5700 ret = __access_remote_vm(tsk, mm, addr, buf, len, gup_flags); in access_process_vm()
|