Home
last modified time | relevance | path

Searched defs:vma (Results 1 – 200 of 696) sorted by relevance

1234

/linux-4.1.27/drivers/gpu/drm/
Ddrm_vm.c49 struct vm_area_struct *vma; member
57 struct vm_area_struct *vma) in drm_io_prot()
78 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot()
99 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault()
172 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault()
188 static int drm_do_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_shm_fault()
218 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close()
290 static int drm_do_vm_dma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_dma_fault()
324 static int drm_do_vm_sg_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_sg_fault()
350 static int drm_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_vm_fault()
[all …]
Ddrm_gem_cma_helper.c318 struct vm_area_struct *vma) in drm_gem_cma_mmap_obj()
354 int drm_gem_cma_mmap(struct file *filp, struct vm_area_struct *vma) in drm_gem_cma_mmap()
489 struct vm_area_struct *vma) in drm_gem_cma_prime_mmap()
Ddrm_gem.c776 void drm_gem_vm_open(struct vm_area_struct *vma) in drm_gem_vm_open()
788 void drm_gem_vm_close(struct vm_area_struct *vma) in drm_gem_vm_close()
827 struct vm_area_struct *vma) in drm_gem_mmap_obj()
873 int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) in drm_gem_mmap()
/linux-4.1.27/arch/m32r/include/asm/
Dcacheflush.h13 #define flush_cache_range(vma, start, end) do { } while (0) argument
14 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
21 #define flush_icache_page(vma,pg) _flush_cache_copyback_all() argument
22 #define flush_icache_user_range(vma,pg,adr,len) _flush_cache_copyback_all() argument
27 #define flush_icache_page(vma,pg) smp_flush_cache_all() argument
28 #define flush_icache_user_range(vma,pg,adr,len) smp_flush_cache_all() argument
35 #define flush_cache_range(vma, start, end) do { } while (0) argument
36 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
42 #define flush_icache_page(vma,pg) _flush_cache_all() argument
43 #define flush_icache_user_range(vma,pg,adr,len) _flush_cache_all() argument
[all …]
Dtlbflush.h27 #define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page) argument
28 #define flush_tlb_range(vma, start, end) \ argument
34 #define flush_tlb_page(vma, vmaddr) do { } while (0) argument
35 #define flush_tlb_range(vma, start, end) do { } while (0) argument
46 #define flush_tlb_page(vma, page) smp_flush_tlb_page(vma, page) argument
47 #define flush_tlb_range(vma, start, end) \ argument
Dtlb.h8 #define tlb_start_vma(tlb, vma) do { } while (0) argument
9 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/mm/
Drmap.c127 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link()
164 int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
306 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork()
367 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas()
567 __vma_address(struct page *page, struct vm_area_struct *vma) in __vma_address()
574 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
588 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
697 int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma) in page_mapped_in_vma()
723 static int page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
796 static bool invalid_page_referenced_vma(struct vm_area_struct *vma, void *arg) in invalid_page_referenced_vma()
[all …]
Dmmap.c98 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
237 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
254 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
269 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
355 static long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap()
384 struct vm_area_struct *vma; in browse_rb() local
427 struct vm_area_struct *vma; in validate_mm_rb() local
440 struct vm_area_struct *vma = mm->mmap; in validate_mm() local
496 static inline void vma_rb_insert(struct vm_area_struct *vma, in vma_rb_insert()
505 static void vma_rb_erase(struct vm_area_struct *vma, struct rb_root *root) in vma_rb_erase()
[all …]
Dpgtable-generic.c47 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags()
61 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
81 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young()
93 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
110 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush()
124 pmd_t pmdp_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_clear_flush()
138 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_splitting_flush()
192 void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate()
Dmadvise.c45 static long madvise_behavior(struct vm_area_struct *vma, in madvise_behavior()
142 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry() local
173 static void force_swapin_readahead(struct vm_area_struct *vma, in force_swapin_readahead()
187 static void force_shm_swapin_readahead(struct vm_area_struct *vma, in force_shm_swapin_readahead()
218 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed()
276 static long madvise_dontneed(struct vm_area_struct *vma, in madvise_dontneed()
292 static long madvise_remove(struct vm_area_struct *vma, in madvise_remove()
372 madvise_vma(struct vm_area_struct *vma, struct vm_area_struct **prev, in madvise_vma()
461 struct vm_area_struct *vma, *prev; in SYSCALL_DEFINE3() local
Dmemory.c528 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables()
563 int __pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, in __pte_alloc()
646 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte()
749 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page()
807 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *vma, in copy_one_pte()
888 pmd_t *dst_pmd, pmd_t *src_pmd, struct vm_area_struct *vma, in copy_pte_range()
951 pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, in copy_pmd_range()
984 pgd_t *dst_pgd, pgd_t *src_pgd, struct vm_area_struct *vma, in copy_pud_range()
1006 struct vm_area_struct *vma) in copy_page_range()
1073 struct vm_area_struct *vma, pmd_t *pmd, in zap_pte_range()
[all …]
Dnommu.c137 struct vm_area_struct *vma; in kobjsize() local
156 struct vm_area_struct *vma; in __get_user_pages() local
261 int follow_pfn(struct vm_area_struct *vma, unsigned long address, in follow_pfn()
297 struct vm_area_struct *vma; in vmalloc_user() local
531 int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, in vm_insert_page()
722 static void protect_vma(struct vm_area_struct *vma, unsigned long flags) in protect_vma()
741 static void add_vma_to_mm(struct mm_struct *mm, struct vm_area_struct *vma) in add_vma_to_mm()
809 static void delete_vma_from_mm(struct vm_area_struct *vma) in delete_vma_from_mm()
855 static void delete_vma(struct mm_struct *mm, struct vm_area_struct *vma) in delete_vma()
872 struct vm_area_struct *vma; in find_vma() local
[all …]
Dmremap.c52 static pmd_t *alloc_new_pmd(struct mm_struct *mm, struct vm_area_struct *vma, in alloc_new_pmd()
88 static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd, in move_ptes()
162 unsigned long move_page_tables(struct vm_area_struct *vma, in move_page_tables()
235 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma()
345 struct vm_area_struct *vma = find_vma(mm, addr); in vma_to_resize() local
395 struct vm_area_struct *vma; in mremap_to() local
452 static int vma_expandable(struct vm_area_struct *vma, unsigned long delta) in vma_expandable()
477 struct vm_area_struct *vma; in SYSCALL_DEFINE5() local
Dmprotect.c39 static pte_t *lock_pte_protection(struct vm_area_struct *vma, pmd_t *pmd, in lock_pte_protection()
60 static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd, in change_pte_range()
134 static inline unsigned long change_pmd_range(struct vm_area_struct *vma, in change_pmd_range()
191 static inline unsigned long change_pud_range(struct vm_area_struct *vma, in change_pud_range()
211 static unsigned long change_protection_range(struct vm_area_struct *vma, in change_protection_range()
241 unsigned long change_protection(struct vm_area_struct *vma, unsigned long start, in change_protection()
256 mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, in mprotect_fixup()
339 struct vm_area_struct *vma, *prev; in SYSCALL_DEFINE3() local
Dhuge_memory.c702 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite()
718 struct vm_area_struct *vma, in __do_huge_pmd_anonymous_page()
775 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page()
789 int do_huge_pmd_anonymous_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_anonymous_page()
846 struct vm_area_struct *vma) in copy_huge_pmd()
920 struct vm_area_struct *vma, in huge_pmd_set_accessed()
974 struct vm_area_struct *vma, in do_huge_pmd_wp_page_fallback()
1082 int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_wp_page()
1203 struct page *follow_trans_huge_pmd(struct vm_area_struct *vma, in follow_trans_huge_pmd()
1259 int do_huge_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_numa_page()
[all …]
Dpagewalk.c135 struct vm_area_struct *vma = walk->vma; in walk_hugetlb_range() local
172 struct vm_area_struct *vma = walk->vma; in walk_page_test() local
198 struct vm_area_struct *vma = walk->vma; in __walk_page_range() local
244 struct vm_area_struct *vma; in walk_page_range() local
288 int walk_page_vma(struct vm_area_struct *vma, struct mm_walk *walk) in walk_page_vma()
Dhugetlb.c211 static inline struct hugepage_subpool *subpool_vma(struct vm_area_struct *vma) in subpool_vma()
401 struct vm_area_struct *vma, unsigned long address) in vma_hugecache_offset()
407 pgoff_t linear_hugepage_index(struct vm_area_struct *vma, in linear_hugepage_index()
417 unsigned long vma_kernel_pagesize(struct vm_area_struct *vma) in vma_kernel_pagesize()
437 unsigned long vma_mmu_pagesize(struct vm_area_struct *vma) in vma_mmu_pagesize()
471 static unsigned long get_vma_private_data(struct vm_area_struct *vma) in get_vma_private_data()
476 static void set_vma_private_data(struct vm_area_struct *vma, in set_vma_private_data()
509 static struct resv_map *vma_resv_map(struct vm_area_struct *vma) in vma_resv_map()
524 static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map) in set_vma_resv_map()
533 static void set_vma_resv_flags(struct vm_area_struct *vma, unsigned long flags) in set_vma_resv_flags()
[all …]
Dgup.c19 static struct page *no_page_table(struct vm_area_struct *vma, in no_page_table()
35 static struct page *follow_page_pte(struct vm_area_struct *vma, in follow_page_pte()
143 struct page *follow_page_mask(struct vm_area_struct *vma, in follow_page_mask()
213 unsigned int gup_flags, struct vm_area_struct **vma, in get_gate_page()
261 static int faultin_page(struct task_struct *tsk, struct vm_area_struct *vma, in faultin_page()
322 static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) in check_vma_flags()
423 struct vm_area_struct *vma = NULL; in __get_user_pages() local
547 struct vm_area_struct *vma; in fixup_user_fault() local
840 long populate_vma_page_range(struct vm_area_struct *vma, in populate_vma_page_range()
888 struct vm_area_struct *vma = NULL; in __mm_populate() local
[all …]
Dmlock.c360 struct vm_area_struct *vma, int zoneid, unsigned long start, in __munlock_pagevec_fill()
422 void munlock_vma_pages_range(struct vm_area_struct *vma, in munlock_vma_pages_range()
498 static int mlock_fixup(struct vm_area_struct *vma, struct vm_area_struct **prev, in mlock_fixup()
559 struct vm_area_struct * vma, * prev; in do_mlock() local
659 struct vm_area_struct * vma, * prev = NULL; in do_mlockall() local
Dvmacache.c96 struct vm_area_struct *vma = current->vmacache[i]; in vmacache_find() local
124 struct vm_area_struct *vma = current->vmacache[i]; in vmacache_find_exact() local
Dmincore.c85 struct vm_area_struct *vma, unsigned char *vec) in __mincore_unmapped_range()
115 struct vm_area_struct *vma = walk->vma; in mincore_pte_range() local
175 struct vm_area_struct *vma; in do_mincore() local
Dmempolicy.c445 struct vm_area_struct *vma; in mpol_rebind_mm() local
488 struct vm_area_struct *vma = walk->vma; in queue_pages_pte_range() local
567 unsigned long change_prot_numa(struct vm_area_struct *vma, in change_prot_numa()
579 static unsigned long change_prot_numa(struct vm_area_struct *vma, in change_prot_numa()
589 struct vm_area_struct *vma = walk->vma; in queue_pages_test_walk() local
662 static int vma_replace_policy(struct vm_area_struct *vma, in vma_replace_policy()
700 struct vm_area_struct *vma; in mbind_range() local
838 struct vm_area_struct *vma = NULL; in do_get_mempolicy() local
1099 struct vm_area_struct *vma; in new_page() local
1544 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma, in __get_vma_policy()
[all …]
Dksm.c363 static int break_ksm(struct vm_area_struct *vma, unsigned long addr) in break_ksm()
414 struct vm_area_struct *vma; in find_mergeable_vma() local
429 struct vm_area_struct *vma; in break_cow() local
462 struct vm_area_struct *vma; in get_mergeable_page() local
681 static int unmerge_ksm_pages(struct vm_area_struct *vma, in unmerge_ksm_pages()
771 struct vm_area_struct *vma; in unmerge_and_remove_all_rmap_items() local
855 static int write_protect_page(struct vm_area_struct *vma, struct page *page, in write_protect_page()
929 static int replace_page(struct vm_area_struct *vma, struct page *page, in replace_page()
1015 static int try_to_merge_one_page(struct vm_area_struct *vma, in try_to_merge_one_page()
1086 struct vm_area_struct *vma; in try_to_merge_with_ksm_page() local
[all …]
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_uverbs.c71 static void ehca_mm_open(struct vm_area_struct *vma) in ehca_mm_open()
87 static void ehca_mm_close(struct vm_area_struct *vma) in ehca_mm_close()
105 static int ehca_mmap_fw(struct vm_area_struct *vma, struct h_galpas *galpas, in ehca_mmap_fw()
135 static int ehca_mmap_queue(struct vm_area_struct *vma, struct ipz_queue *queue, in ehca_mmap_queue()
161 static int ehca_mmap_cq(struct vm_area_struct *vma, struct ehca_cq *cq, in ehca_mmap_cq()
198 static int ehca_mmap_qp(struct vm_area_struct *vma, struct ehca_qp *qp, in ehca_mmap_qp()
248 int ehca_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in ehca_mmap()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_mmap.c57 struct vm_area_struct *vma, unsigned long addr, in policy_from_vma()
69 struct vm_area_struct *vma, *ret = NULL; in our_vma() local
98 ll_fault_io_init(struct vm_area_struct *vma, struct lu_env **env_ret, in ll_fault_io_init()
169 static int ll_page_mkwrite0(struct vm_area_struct *vma, struct page *vmpage, in ll_page_mkwrite0()
293 static int ll_fault0(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_fault0()
342 static int ll_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_fault()
382 static int ll_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_page_mkwrite()
428 static void ll_vm_open(struct vm_area_struct *vma) in ll_vm_open()
441 static void ll_vm_close(struct vm_area_struct *vma) in ll_vm_close()
474 int ll_file_mmap(struct file *file, struct vm_area_struct *vma) in ll_file_mmap()
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf2-memops.c36 struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma) in vb2_get_vma()
67 void vb2_put_vma(struct vm_area_struct *vma) in vb2_put_vma()
100 struct vm_area_struct *vma; in vb2_get_contig_userptr() local
146 static void vb2_common_vm_open(struct vm_area_struct *vma) in vb2_common_vm_open()
164 static void vb2_common_vm_close(struct vm_area_struct *vma) in vb2_common_vm_close()
Dvideobuf-dma-contig.c66 static void videobuf_vm_open(struct vm_area_struct *vma) in videobuf_vm_open()
76 static void videobuf_vm_close(struct vm_area_struct *vma) in videobuf_vm_close()
164 struct vm_area_struct *vma; in videobuf_dma_contig_user_get() local
278 struct vm_area_struct *vma) in __videobuf_mmap_mapper()
Dvideobuf-vmalloc.c54 static void videobuf_vm_open(struct vm_area_struct *vma) in videobuf_vm_open()
64 static void videobuf_vm_close(struct vm_area_struct *vma) in videobuf_vm_close()
234 struct vm_area_struct *vma) in __videobuf_mmap_mapper()
Dvideobuf2-dma-contig.c42 struct vm_area_struct *vma; member
191 static int vb2_dc_mmap(void *buf_priv, struct vm_area_struct *vma) in vb2_dc_mmap()
362 struct vm_area_struct *vma) in vb2_dc_dmabuf_ops_mmap()
432 static inline int vma_is_io(struct vm_area_struct *vma) in vma_is_io()
438 struct vm_area_struct *vma, unsigned long *res) in vb2_dc_get_user_pfn()
471 int n_pages, struct vm_area_struct *vma, in vb2_dc_get_user_pages()
581 struct vm_area_struct *vma; in vb2_dc_get_userptr() local
Dvideobuf2-vmalloc.c27 struct vm_area_struct *vma; member
81 struct vm_area_struct *vma; in vb2_vmalloc_get_userptr() local
182 static int vb2_vmalloc_mmap(void *buf_priv, struct vm_area_struct *vma) in vb2_vmalloc_mmap()
350 struct vm_area_struct *vma) in vb2_vmalloc_dmabuf_ops_mmap()
Dvideobuf-dma-sg.c384 static void videobuf_vm_open(struct vm_area_struct *vma) in videobuf_vm_open()
394 static void videobuf_vm_close(struct vm_area_struct *vma) in videobuf_vm_close()
435 static int videobuf_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in videobuf_vm_fault()
589 struct vm_area_struct *vma) in __videobuf_mmap_mapper()
Dvideobuf2-dma-sg.c54 struct vm_area_struct *vma; member
227 static inline int vma_is_io(struct vm_area_struct *vma) in vma_is_io()
240 struct vm_area_struct *vma; in vb2_dma_sg_get_userptr() local
394 static int vb2_dma_sg_mmap(void *buf_priv, struct vm_area_struct *vma) in vb2_dma_sg_mmap()
565 struct vm_area_struct *vma) in vb2_dma_sg_dmabuf_ops_mmap()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_bo_vm.c45 struct vm_area_struct *vma, in ttm_bo_vm_fault_idle()
86 static int ttm_bo_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in ttm_bo_vm_fault()
260 static void ttm_bo_vm_open(struct vm_area_struct *vma) in ttm_bo_vm_open()
270 static void ttm_bo_vm_close(struct vm_area_struct *vma) in ttm_bo_vm_close()
308 int ttm_bo_mmap(struct file *filp, struct vm_area_struct *vma, in ttm_bo_mmap()
353 int ttm_fbdev_mmap(struct vm_area_struct *vma, struct ttm_buffer_object *bo) in ttm_fbdev_mmap()
/linux-4.1.27/arch/metag/include/asm/
Dtlb.h11 #define tlb_start_vma(tlb, vma) \ argument
17 #define tlb_end_vma(tlb, vma) \ argument
26 #define tlb_start_vma(tlb, vma) do { } while (0) argument
27 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dcacheflush.h49 static inline void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range()
55 static inline void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page()
70 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page()
93 #define flush_cache_range(vma, start, end) do { } while (0) argument
94 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
97 #define flush_icache_page(vma, pg) do { } while (0) argument
233 static inline void copy_to_user_page(struct vm_area_struct *vma, in copy_to_user_page()
242 static inline void copy_from_user_page(struct vm_area_struct *vma, in copy_from_user_page()
Dtlbflush.h52 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
58 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
/linux-4.1.27/arch/hexagon/include/asm/
Dcacheflush.h44 #define flush_cache_range(vma, start, end) do { } while (0) argument
45 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
50 #define flush_icache_page(vma, pg) do { } while (0) argument
51 #define flush_icache_user_range(vma, pg, adr, len) do { } while (0) argument
86 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
95 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlb.h28 #define tlb_start_vma(tlb, vma) do { } while (0) argument
29 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/arch/ia64/include/asm/
Dcacheflush.h22 #define flush_cache_range(vma, start, end) do { } while (0) argument
23 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
24 #define flush_icache_page(vma,page) do { } while (0) argument
41 #define flush_icache_user_range(vma, page, user_addr, len) \ argument
47 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
51 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dhugetlb.h39 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
60 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.1.27/arch/powerpc/include/asm/
Dtlbflush.h54 #define flush_tlb_page(vma,addr) local_flush_tlb_page(vma,addr) argument
57 #define flush_tlb_page_nohash(vma,addr) flush_tlb_page(vma,addr) argument
70 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
142 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
147 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
152 static inline void flush_tlb_page_nohash(struct vm_area_struct *vma, in flush_tlb_page_nohash()
157 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
Dcacheflush.h22 #define flush_cache_range(vma, start, end) do { } while (0) argument
23 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
24 #define flush_icache_page(vma, page) do { } while (0) argument
55 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
60 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlb.h28 #define tlb_start_vma(tlb, vma) do { } while (0) argument
29 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dhugetlb.h136 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
154 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
190 static inline void flush_hugetlb_page(struct vm_area_struct *vma, in flush_hugetlb_page()
/linux-4.1.27/arch/cris/include/asm/
Dcacheflush.h13 #define flush_cache_range(vma, start, end) do { } while (0) argument
14 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
20 #define flush_icache_page(vma,pg) do { } while (0) argument
21 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
25 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
27 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlb.h12 #define tlb_start_vma(tlb, vma) do { } while (0) argument
13 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/include/asm-generic/
Dcacheflush.h14 #define flush_cache_range(vma, start, end) do { } while (0) argument
15 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
21 #define flush_icache_page(vma,pg) do { } while (0) argument
22 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
26 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
31 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dmm_hooks.h19 struct vm_area_struct *vma, in arch_unmap()
25 struct vm_area_struct *vma) in arch_bprm_mm_init()
Dpgtable.h39 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
55 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
68 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
254 #define flush_tlb_fix_spurious_fault(vma, address) flush_tlb_page(vma, address) argument
492 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
503 static inline int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
513 static inline int track_pfn_copy(struct vm_area_struct *vma) in track_pfn_copy()
523 static inline void untrack_pfn(struct vm_area_struct *vma, in untrack_pfn()
/linux-4.1.27/arch/xtensa/include/asm/
Dtlb.h21 # define tlb_start_vma(tlb,vma) do { } while (0) argument
22 # define tlb_end_vma(tlb,vma) do { } while (0) argument
26 # define tlb_start_vma(tlb, vma) \ argument
32 # define tlb_end_vma(tlb, vma) \ argument
Dcacheflush.h138 #define flush_cache_page(vma, addr, pfn) do { } while (0) argument
139 #define flush_cache_range(vma, start, end) do { } while (0) argument
151 #define flush_icache_page(vma,page) do { } while (0) argument
165 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
172 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-4.1.27/arch/arm64/include/asm/
Dtlbflush.h85 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
96 static inline void __flush_tlb_range(struct vm_area_struct *vma, in __flush_tlb_range()
129 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
162 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
172 #define update_mmu_cache_pmd(vma, address, pmd) do { } while (0) argument
Dcacheflush.h82 static inline void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page()
101 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
138 #define flush_icache_page(vma,page) do { } while (0) argument
/linux-4.1.27/arch/sparc/include/asm/
Dcacheflush_64.h23 #define flush_cache_range(vma, start, end) \ argument
25 #define flush_cache_page(vma, page, pfn) \ argument
50 #define flush_icache_page(vma, pg) do { } while(0) argument
51 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
57 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
64 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dcacheflush_32.h12 #define flush_cache_range(vma,start,end) \ argument
14 #define flush_cache_page(vma,addr,pfn) \ argument
17 #define flush_icache_page(vma, pg) do { } while (0) argument
19 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
21 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
26 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlb_32.h4 #define tlb_start_vma(tlb, vma) \ argument
9 #define tlb_end_vma(tlb, vma) \ argument
Dtlbflush_32.h10 #define flush_tlb_range(vma, start, end) \ argument
12 #define flush_tlb_page(vma, addr) \ argument
Dtlb_64.h25 #define tlb_start_vma(tlb, vma) do { } while (0) argument
26 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dtlbflush_64.h27 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
32 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
Dhugetlb.h46 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
68 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.1.27/arch/alpha/include/asm/
Dcacheflush.h10 #define flush_cache_range(vma, start, end) do { } while (0) argument
11 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
50 flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
67 #define flush_icache_page(vma, page) \ argument
70 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
74 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlbflush.h39 struct vm_area_struct *vma, in ev4_flush_tlb_current_page()
52 struct vm_area_struct *vma, in ev5_flush_tlb_current_page()
117 flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
130 flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
Dtlb.h4 #define tlb_start_vma(tlb, vma) do { } while (0) argument
5 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/arch/arm64/mm/
Dflush.c30 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range()
37 static void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
59 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
110 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_splitting_flush()
/linux-4.1.27/arch/unicore32/mm/
Dflush.c23 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range()
30 void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, in flush_cache_page()
35 static void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
53 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
/linux-4.1.27/drivers/xen/
Dprivcmd.c198 struct vm_area_struct *vma; member
206 struct vm_area_struct *vma = st->vma; in mmap_mfn_range() local
236 struct vm_area_struct *vma; in privcmd_ioctl_mmap() local
291 struct vm_area_struct *vma; member
315 struct vm_area_struct *vma = st->vma; in mmap_batch_fn() local
395 static int alloc_empty_pages(struct vm_area_struct *vma, int numpgs) in alloc_empty_pages()
424 struct vm_area_struct *vma; in privcmd_ioctl_mmap_batch() local
581 static void privcmd_close(struct vm_area_struct *vma) in privcmd_close()
599 static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in privcmd_fault()
613 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_mmap()
[all …]
Dxlate_mmu.c68 struct vm_area_struct *vma; member
96 int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array()
126 int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range()
Dgntdev.c84 struct vm_area_struct *vma; member
397 static void gntdev_vma_open(struct vm_area_struct *vma) in gntdev_vma_open()
405 static void gntdev_vma_close(struct vm_area_struct *vma) in gntdev_vma_close()
428 static struct page *gntdev_vma_find_special_page(struct vm_area_struct *vma, in gntdev_vma_find_special_page()
656 struct vm_area_struct *vma; in gntdev_ioctl_get_offset_for_vaddr() local
778 static int gntdev_mmap(struct file *flip, struct vm_area_struct *vma) in gntdev_mmap()
/linux-4.1.27/arch/m68k/include/asm/
Dcacheflush_no.h13 #define flush_cache_range(vma, start, end) do { } while (0) argument
14 #define flush_cache_page(vma, vmaddr) do { } while (0) argument
21 #define flush_icache_page(vma,pg) do { } while (0) argument
22 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
26 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
28 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlbflush.h84 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
94 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
170 static inline void flush_tlb_page (struct vm_area_struct *vma, in flush_tlb_page()
191 static inline void flush_tlb_range (struct vm_area_struct *vma, in flush_tlb_range()
260 static inline void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
Dcacheflush_mm.h205 static inline void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range()
213 static inline void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long… in flush_cache_page()
254 #define flush_icache_page(vma, page) __flush_page_to_ram(page_address(page)) argument
260 static inline void copy_to_user_page(struct vm_area_struct *vma, in copy_to_user_page()
268 static inline void copy_from_user_page(struct vm_area_struct *vma, in copy_from_user_page()
Dtlb.h8 #define tlb_start_vma(tlb, vma) do { } while (0) argument
9 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dfb.h11 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect()
17 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect()
/linux-4.1.27/arch/arc/include/asm/
Dtlb.h27 #define tlb_start_vma(tlb, vma) argument
29 #define tlb_start_vma(tlb, vma) \ argument
36 #define tlb_end_vma(tlb, vma) \ argument
Dcacheflush.h30 #define flush_icache_page(vma, page) argument
62 #define flush_cache_page(vma, u_vaddr, pfn) /* PF handling/COW-break */ argument
110 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
117 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlbflush.h22 #define flush_tlb_range(vma, s, e) local_flush_tlb_range(vma, s, e) argument
23 #define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page) argument
/linux-4.1.27/drivers/char/
Dmspec.c145 mspec_open(struct vm_area_struct *vma) in mspec_open()
160 mspec_close(struct vm_area_struct *vma) in mspec_close()
200 mspec_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in mspec_fault()
255 mspec_mmap(struct file *file, struct vm_area_struct *vma, in mspec_mmap()
298 fetchop_mmap(struct file *file, struct vm_area_struct *vma) in fetchop_mmap()
304 cached_mmap(struct file *file, struct vm_area_struct *vma) in cached_mmap()
310 uncached_mmap(struct file *file, struct vm_area_struct *vma) in uncached_mmap()
/linux-4.1.27/arch/sh/mm/
Dcache.c58 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
77 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
94 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
134 void __update_cache(struct vm_area_struct *vma, in __update_cache()
191 void flush_cache_page(struct vm_area_struct *vma, unsigned long addr, in flush_cache_page()
203 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range()
234 void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page()
Dnommu.c49 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
55 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
74 void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte) in __update_tlb()
Dtlbflush_32.c15 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
39 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
Dmmap.c37 struct vm_area_struct *vma; in arch_get_unmapped_area() local
84 struct vm_area_struct *vma; in arch_get_unmapped_area_topdown() local
Dtlbflush_64.c67 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
79 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
Dcache-sh5.c87 static void sh64_icache_inv_user_page(struct vm_area_struct *vma, unsigned long eaddr) in sh64_icache_inv_user_page()
177 struct vm_area_struct *vma; in sh64_icache_inv_user_page_range() local
528 struct vm_area_struct *vma; in sh5_flush_cache_range() local
551 struct vm_area_struct *vma; in sh5_flush_cache_page() local
Dtlb-sh5.c150 void tlb_wire_entry(struct vm_area_struct *vma, unsigned long addr, pte_t pte) in tlb_wire_entry()
186 void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte) in __update_tlb()
/linux-4.1.27/arch/xtensa/mm/
Dcache.c108 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
185 void local_flush_cache_range(struct vm_area_struct *vma, in local_flush_cache_range()
199 void local_flush_cache_page(struct vm_area_struct *vma, unsigned long address, in local_flush_cache_page()
214 update_mmu_cache(struct vm_area_struct * vma, unsigned long addr, pte_t *ptep) in update_mmu_cache()
261 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
297 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
/linux-4.1.27/arch/frv/include/asm/
Dcacheflush.h25 #define flush_cache_page(vma, vmaddr, pfn) do {} while(0) argument
80 static inline void flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
87 static inline void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page()
96 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
102 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlbflush.h42 #define flush_tlb_range(vma,start,end) \ argument
49 #define flush_tlb_page(vma,addr) \ argument
66 #define flush_tlb_page(vma,addr) BUG() argument
Dtlb.h15 #define tlb_start_vma(tlb, vma) do { } while (0) argument
16 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/arch/tile/include/asm/
Dcacheflush.h29 #define flush_cache_range(vma, start, end) do { } while (0) argument
30 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
37 #define flush_icache_page(vma, pg) do { } while (0) argument
38 #define flush_icache_user_range(vma, pg, adr, len) do { } while (0) argument
64 static inline void copy_to_user_page(struct vm_area_struct *vma, in copy_to_user_page()
75 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlb.h18 #define tlb_start_vma(tlb, vma) do { } while (0) argument
19 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dtlbflush.h45 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
58 static inline void local_flush_tlb_pages(struct vm_area_struct *vma, in local_flush_tlb_pages()
Dhugetlb.h67 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
89 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
115 static inline pte_t arch_make_huge_pte(pte_t entry, struct vm_area_struct *vma, in arch_make_huge_pte()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c57 struct vm_area_struct *vma) in update_vm_cache_attr()
80 struct vm_area_struct *vma, in exynos_drm_gem_map_buf()
322 struct vm_area_struct *vma) in exynos_drm_gem_mmap_buffer()
381 struct vm_area_struct *exynos_gem_get_vma(struct vm_area_struct *vma) in exynos_gem_get_vma()
404 void exynos_gem_put_vma(struct vm_area_struct *vma) in exynos_gem_put_vma()
421 struct vm_area_struct *vma) in exynos_gem_get_pages_from_userptr()
461 struct vm_area_struct *vma) in exynos_gem_put_pages_to_userptr()
595 int exynos_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in exynos_drm_gem_fault()
618 int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) in exynos_drm_gem_mmap()
Dexynos_drm_gem.h74 struct vm_area_struct *vma; member
150 static inline int vma_is_io(struct vm_area_struct *vma) in vma_is_io()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c132 struct i915_vma *vma; in eb_lookup_vmas() local
200 struct i915_vma *vma; in eb_get_vma() local
211 i915_gem_execbuffer_unreserve_vma(struct i915_vma *vma) in i915_gem_execbuffer_unreserve_vma()
238 struct i915_vma *vma; in eb_destroy() local
492 i915_gem_execbuffer_relocate_vma(struct i915_vma *vma, in i915_gem_execbuffer_relocate_vma()
538 i915_gem_execbuffer_relocate_vma_slow(struct i915_vma *vma, in i915_gem_execbuffer_relocate_vma_slow()
557 struct i915_vma *vma; in i915_gem_execbuffer_relocate() local
585 i915_gem_execbuffer_reserve_vma(struct i915_vma *vma, in i915_gem_execbuffer_reserve_vma()
638 need_reloc_mappable(struct i915_vma *vma) in need_reloc_mappable()
659 eb_vma_misplaced(struct i915_vma *vma) in eb_vma_misplaced()
[all …]
Di915_gem_evict.c37 mark_free(struct i915_vma *vma, struct list_head *unwind) in mark_free()
80 struct i915_vma *vma; in i915_gem_evict_something() local
218 struct i915_vma *vma, *next; in i915_gem_evict_vm() local
Di915_gem.c287 struct i915_vma *vma, *next; in drop_pages() local
1578 struct vm_area_struct *vma; in i915_gem_mmap_ioctl() local
1614 int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in i915_gem_fault()
2212 void i915_vma_move_to_active(struct i915_vma *vma, in i915_vma_move_to_active()
2222 struct i915_vma *vma; in i915_gem_object_move_to_inactive() local
2959 int i915_vma_unbind(struct i915_vma *vma) in i915_vma_unbind()
3393 static bool i915_gem_valid_gtt_space(struct i915_vma *vma, in i915_gem_valid_gtt_space()
3443 struct i915_vma *vma; in i915_gem_object_bind_to_vm() local
3652 struct i915_vma *vma; in i915_gem_object_set_to_gtt_domain() local
3719 struct i915_vma *vma, *next; in i915_gem_object_set_cache_level() local
[all …]
/linux-4.1.27/arch/alpha/kernel/
Dpci-sysfs.c18 struct vm_area_struct *vma, in hose_mmap_page_range()
36 struct vm_area_struct *vma, int sparse) in __pci_mmap_fits()
65 struct vm_area_struct *vma, int sparse) in pci_mmap_resource()
95 struct vm_area_struct *vma) in pci_mmap_resource_sparse()
102 struct vm_area_struct *vma) in pci_mmap_resource_dense()
253 struct vm_area_struct *vma, in __legacy_mmap_fits()
282 int pci_mmap_legacy_page_range(struct pci_bus *bus, struct vm_area_struct *vma, in pci_mmap_legacy_page_range()
/linux-4.1.27/arch/unicore32/include/asm/
Dcacheflush.h120 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
152 #define flush_cache_user_range(vma, start, end) \ argument
187 #define flush_icache_user_range(vma, page, addr, len) \ argument
194 #define flush_icache_page(vma, page) do { } while (0) argument
Dtlb.h15 #define tlb_start_vma(tlb, vma) do { } while (0) argument
16 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dtlbflush.h88 local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in local_flush_tlb_page()
170 #define local_flush_tlb_range(vma, start, end) \ argument
Dmmu_context.h90 struct vm_area_struct *vma, in arch_unmap()
96 struct vm_area_struct *vma) in arch_bprm_mm_init()
/linux-4.1.27/include/linux/
Dkhugepaged.h39 static inline int khugepaged_enter(struct vm_area_struct *vma, in khugepaged_enter()
58 static inline int khugepaged_enter(struct vm_area_struct *vma, in khugepaged_enter()
63 static inline int khugepaged_enter_vma_merge(struct vm_area_struct *vma, in khugepaged_enter_vma_merge()
Dhuge_mm.h132 static inline int pmd_trans_huge_lock(pmd_t *pmd, struct vm_area_struct *vma, in pmd_trans_huge_lock()
141 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
192 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise()
198 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
204 static inline int pmd_trans_huge_lock(pmd_t *pmd, struct vm_area_struct *vma, in pmd_trans_huge_lock()
210 static inline int do_huge_pmd_numa_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_numa_page()
Dhugetlb_inline.h8 static inline int is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page()
15 static inline int is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page()
Dmempolicy.h93 #define vma_policy(vma) ((vma)->vm_policy) argument
175 static inline int vma_migratable(struct vm_area_struct *vma) in vma_migratable()
231 #define vma_policy(vma) NULL argument
257 static inline struct zonelist *huge_zonelist(struct vm_area_struct *vma, in huge_zonelist()
288 static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, in mpol_misplaced()
Dhighmem.h14 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page()
157 struct vm_area_struct *vma, in __alloc_zeroed_user_highpage()
179 alloc_zeroed_user_highpage_movable(struct vm_area_struct *vma, in alloc_zeroed_user_highpage_movable()
225 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
Drmap.h74 struct vm_area_struct *vma; member
138 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
244 #define anon_vma_prepare(vma) (0) argument
245 #define anon_vma_link(vma) do {} while (0) argument
Dksm.h79 static inline int ksm_madvise(struct vm_area_struct *vma, unsigned long start, in ksm_madvise()
86 struct vm_area_struct *vma, unsigned long address) in ksm_might_need_to_copy()
Dgfp.h332 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
337 #define alloc_pages_vma(gfp_mask, order, vma, addr, node, false)\ argument
339 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
343 #define alloc_page_vma(gfp_mask, vma, addr) \ argument
345 #define alloc_page_vma_node(gfp_mask, vma, addr, node) \ argument
Dmmdebug.h25 #define VM_BUG_ON_VMA(cond, vma) \ argument
45 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
Dhugetlb.h116 static inline void reset_vma_resv_huge_pages(struct vm_area_struct *vma) in reset_vma_resv_huge_pages()
127 #define copy_hugetlb_page_range(src, dst, vma) ({ BUG(); 0; }) argument
142 #define hugetlb_fault(mm, vma, addr, flags) ({ BUG(); 0; }) argument
155 static inline unsigned long hugetlb_change_protection(struct vm_area_struct *vma, in hugetlb_change_protection()
162 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range_final()
169 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range()
362 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
409 static inline pte_t arch_make_huge_pte(pte_t entry, struct vm_area_struct *vma, in arch_make_huge_pte()
/linux-4.1.27/fs/ext2/
Dfile.c29 static int ext2_dax_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in ext2_dax_fault()
34 static int ext2_dax_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in ext2_dax_mkwrite()
45 static int ext2_file_mmap(struct file *file, struct vm_area_struct *vma) in ext2_file_mmap()
/linux-4.1.27/arch/c6x/include/asm/
Dcacheflush.h29 #define flush_cache_page(vma, vmaddr, pfn) do {} while (0) argument
46 #define flush_icache_page(vma, page) \ argument
56 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
62 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-4.1.27/arch/nios2/mm/
Dcacheflush.c148 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range()
156 void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page()
165 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in flush_cache_page()
216 void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
265 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
276 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
/linux-4.1.27/arch/microblaze/include/asm/
Dcacheflush.h64 #define flush_icache_user_range(vma, pg, adr, len) flush_icache(); argument
65 #define flush_icache_page(vma, pg) do { } while (0) argument
92 #define flush_cache_page(vma, vmaddr, pfn) \ argument
103 #define flush_cache_range(vma, start, len) do { } while (0) argument
105 static inline void copy_to_user_page(struct vm_area_struct *vma, in copy_to_user_page()
117 static inline void copy_from_user_page(struct vm_area_struct *vma, in copy_from_user_page()
Dtlbflush.h33 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
36 static inline void local_flush_tlb_range(struct vm_area_struct *vma, in local_flush_tlb_range()
42 #define update_mmu_cache(vma, addr, ptep) do { } while (0) argument
62 #define flush_tlb_page(vma, addr) BUG() argument
Dtlb.h19 #define tlb_start_vma(tlb, vma) do { } while (0) argument
20 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/fs/proc/
Dtask_mmu.c127 m_next_vma(struct proc_maps_private *priv, struct vm_area_struct *vma) in m_next_vma()
134 static void m_cache_vma(struct seq_file *m, struct vm_area_struct *vma) in m_cache_vma()
145 struct vm_area_struct *vma; in m_start() local
250 struct vm_area_struct *vma, bool is_pid) in pid_of_stack()
269 show_map_vma(struct seq_file *m, struct vm_area_struct *vma, int is_pid) in show_map_vma()
487 struct vm_area_struct *vma = walk->vma; in smaps_pte_entry() local
511 struct vm_area_struct *vma = walk->vma; in smaps_pmd_entry() local
532 struct vm_area_struct *vma = walk->vma; in smaps_pte_range() local
557 static void show_smap_vma_flags(struct seq_file *m, struct vm_area_struct *vma) in show_smap_vma_flags()
615 struct vm_area_struct *vma = v; in show_smap() local
[all …]
Dtask_nommu.c20 struct vm_area_struct *vma; in task_mem() local
82 struct vm_area_struct *vma; in task_vsize() local
99 struct vm_area_struct *vma; in task_statm() local
127 struct vm_area_struct *vma, bool is_pid) in pid_of_stack()
148 static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma, in nommu_vma_show()
/linux-4.1.27/arch/arm/include/asm/
Dcacheflush.h177 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
232 vivt_flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) in vivt_flush_cache_range()
242 vivt_flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn) in vivt_flush_cache_page()
255 #define flush_cache_range(vma,start,end) \ argument
257 #define flush_cache_page(vma,addr,pfn) \ argument
313 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
330 #define flush_icache_user_range(vma,page,addr,len) \ argument
337 #define flush_icache_page(vma,page) do { } while (0) argument
Dtlbflush.h419 __local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in __local_flush_tlb_page()
441 local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in local_flush_tlb_page()
458 __flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in __flush_tlb_page()
603 #define local_flush_tlb_range(vma,start,end) __cpu_flush_user_tlb_range(start,end,vma) argument
634 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
640 #define update_mmu_cache_pmd(vma, address, pmd) do { } while (0) argument
652 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) { } in local_flush_tlb_page()
654 static inline void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned … in local_flush_tlb_range()
Dhugetlb-3level.h46 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
64 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.1.27/arch/sparc/mm/
Dleon_mm.c193 void leon_flush_pcache_all(struct vm_area_struct *vma, unsigned long page) in leon_flush_pcache_all()
281 static void leon_flush_cache_page(struct vm_area_struct *vma, unsigned long page) in leon_flush_cache_page()
286 static void leon_flush_cache_range(struct vm_area_struct *vma, in leon_flush_cache_range()
298 static void leon_flush_tlb_page(struct vm_area_struct *vma, in leon_flush_tlb_page()
304 static void leon_flush_tlb_range(struct vm_area_struct *vma, in leon_flush_tlb_range()
/linux-4.1.27/arch/sh/include/asm/
Dtlb.h74 tlb_start_vma(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_start_vma()
81 tlb_end_vma(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_end_vma()
122 static inline void tlb_wire_entry(struct vm_area_struct *vma , in tlb_wire_entry()
136 #define tlb_start_vma(tlb, vma) do { } while (0) argument
137 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dtlbflush.h40 #define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page) argument
43 #define flush_tlb_range(vma, start, end) \ argument
Dcacheflush.h53 struct vm_area_struct *vma; member
60 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
/linux-4.1.27/arch/arm/mm/
Dflush.c67 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) in flush_cache_range()
86 void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn) in flush_cache_page()
147 void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
173 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
373 void __flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in __flush_anon_page()
406 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_splitting_flush()
Dfault-armv.c40 static int do_adjust_pte(struct vm_area_struct *vma, unsigned long address, in do_adjust_pte()
92 static int adjust_pte(struct vm_area_struct *vma, unsigned long address, in adjust_pte()
132 make_coherent(struct address_space *mapping, struct vm_area_struct *vma, in make_coherent()
180 void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, in update_mmu_cache()
Dcopypage-v6.c34 struct page *from, unsigned long vaddr, struct vm_area_struct *vma) in v6_copy_user_highpage_nonaliasing()
73 struct page *from, unsigned long vaddr, struct vm_area_struct *vma) in v6_copy_user_highpage_aliasing()
/linux-4.1.27/arch/m32r/mm/
Dfault-nommu.c96 void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, in update_mmu_cache()
105 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
113 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
Dfault.c79 struct vm_area_struct * vma; in do_page_fault() local
348 void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr, in update_mmu_cache()
458 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
474 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_mmap.c64 static void ipath_vma_open(struct vm_area_struct *vma) in ipath_vma_open()
71 static void ipath_vma_close(struct vm_area_struct *vma) in ipath_vma_close()
89 int ipath_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in ipath_mmap()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_mmap.c64 static void qib_vma_open(struct vm_area_struct *vma) in qib_vma_open()
71 static void qib_vma_close(struct vm_area_struct *vma) in qib_vma_close()
89 int qib_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in qib_mmap()
/linux-4.1.27/arch/mips/mm/
Dc-octeon.c65 static void octeon_flush_icache_all_cores(struct vm_area_struct *vma) in octeon_flush_icache_all_cores()
138 struct vm_area_struct *vma; in octeon_flush_cache_sigtramp() local
154 static void octeon_flush_cache_range(struct vm_area_struct *vma, in octeon_flush_cache_range()
169 static void octeon_flush_cache_page(struct vm_area_struct *vma, in octeon_flush_cache_page()
Dtlb-r8k.c61 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
148 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
183 void __update_tlb(struct vm_area_struct * vma, unsigned long address, pte_t pte) in __update_tlb()
Dtlb-r3k.c78 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
157 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
188 void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte) in __update_tlb()
Dtlb-r4k.c45 static inline void flush_itlb_vm(struct vm_area_struct *vma) in flush_itlb_vm()
117 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
211 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
285 void __update_tlb(struct vm_area_struct * vma, unsigned long address, pte_t pte) in __update_tlb()
/linux-4.1.27/arch/tile/kernel/
Dtlb.c53 void flush_tlb_page_mm(struct vm_area_struct *vma, struct mm_struct *mm, in flush_tlb_page_mm()
62 void flush_tlb_page(struct vm_area_struct *vma, unsigned long va) in flush_tlb_page()
68 void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
/linux-4.1.27/arch/score/include/asm/
Dcacheflush.h28 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page()
38 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
41 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlb.h8 #define tlb_start_vma(tlb, vma) do {} while (0) argument
9 #define tlb_end_vma(tlb, vma) do {} while (0) argument
/linux-4.1.27/arch/parisc/kernel/
Dcache.c78 update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) in update_mmu_cache()
276 __flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in __flush_cache_page()
491 struct vm_area_struct *vma; in mm_total_size() local
516 struct vm_area_struct *vma; in flush_cache_mm() local
572 void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range()
605 flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn) in flush_cache_page()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dbase.c30 nvkm_vm_map_at(struct nvkm_vma *vma, u64 delta, struct nvkm_mem *node) in nvkm_vm_map_at()
74 nvkm_vm_map_sg_table(struct nvkm_vma *vma, u64 delta, u64 length, in nvkm_vm_map_sg_table()
132 nvkm_vm_map_sg(struct nvkm_vma *vma, u64 delta, u64 length, in nvkm_vm_map_sg()
170 nvkm_vm_map(struct nvkm_vma *vma, struct nvkm_mem *node) in nvkm_vm_map()
182 nvkm_vm_unmap_at(struct nvkm_vma *vma, u64 delta, u64 length) in nvkm_vm_unmap_at()
217 nvkm_vm_unmap(struct nvkm_vma *vma) in nvkm_vm_unmap()
288 struct nvkm_vma *vma) in nvkm_vm_get()
335 nvkm_vm_put(struct nvkm_vma *vma) in nvkm_vm_put()
Dgf100.c92 gf100_vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in gf100_vm_addr()
106 gf100_vm_map(struct nvkm_vma *vma, struct nvkm_gpuobj *pgt, in gf100_vm_map()
131 gf100_vm_map_sg(struct nvkm_vma *vma, struct nvkm_gpuobj *pgt, in gf100_vm_map_sg()
Dnv50.c65 vm_addr(struct nvkm_vma *vma, u64 phys, u32 memtype, u32 target) in vm_addr()
78 nv50_vm_map(struct nvkm_vma *vma, struct nvkm_gpuobj *pgt, in nv50_vm_map()
125 nv50_vm_map_sg(struct nvkm_vma *vma, struct nvkm_gpuobj *pgt, in nv50_vm_map_sg()
/linux-4.1.27/arch/powerpc/mm/
Dtlb_hash32.c55 void flush_tlb_page_nohash(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page_nohash()
154 void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_tlb_page()
175 void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
Dpgtable.c88 static pte_t set_access_flags_filter(pte_t pte, struct vm_area_struct *vma, in set_access_flags_filter()
128 static pte_t set_access_flags_filter(pte_t pte, struct vm_area_struct *vma, in set_access_flags_filter()
200 int ptep_set_access_flags(struct vm_area_struct *vma, unsigned long address, in ptep_set_access_flags()
Dpgtable_64.c504 int pmdp_set_access_flags(struct vm_area_struct *vma, unsigned long address, in pmdp_set_access_flags()
557 pmd_t pmdp_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_clear_flush()
601 int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
615 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
625 void pmdp_splitting_flush(struct vm_area_struct *vma, in pmdp_splitting_flush()
730 void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate()
814 void update_mmu_cache_pmd(struct vm_area_struct *vma, unsigned long addr, in update_mmu_cache_pmd()
Dhugetlbpage-book3e.c78 void book3e_hugetlb_preload(struct vm_area_struct *vma, unsigned long ea, in book3e_hugetlb_preload()
147 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in flush_hugetlb_page()
/linux-4.1.27/arch/blackfin/include/asm/
Dcacheflush.h28 #define flush_cache_range(vma, start, end) do { } while (0) argument
29 #define flush_cache_page(vma, vmaddr) do { } while (0) argument
74 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
79 #define copy_from_user_page(vma, page, vaddr, dst, src, len) memcpy(dst, src, len) argument
Dtlb.h10 #define tlb_start_vma(tlb, vma) do { } while (0) argument
11 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/arch/mn10300/include/asm/
Dtlb.h22 #define tlb_start_vma(tlb, vma) do { } while (0) argument
23 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dtlbflush.h108 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
130 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
138 #define flush_tlb_page(vma, addr) local_flush_tlb_page((vma)->vm_mm, addr) argument
Dcacheflush.h123 #define flush_cache_page(vma, vmaddr, pfn) do {} while (0) argument
138 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page()
146 #define flush_icache_page(vma, pg) do {} while (0) argument
150 #define flush_icache_user_range(vma, pg, adr, len) \ argument
153 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
159 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-4.1.27/arch/avr32/include/asm/
Dtlb.h11 #define tlb_start_vma(tlb, vma) \ argument
14 #define tlb_end_vma(tlb, vma) \ argument
Dcacheflush.h91 #define flush_cache_range(vma, start, end) do { } while (0) argument
92 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
125 static inline void copy_from_user_page(struct vm_area_struct *vma, in copy_from_user_page()
/linux-4.1.27/arch/x86/include/asm/
Dtlb.h4 #define tlb_start_vma(tlb, vma) do { } while (0) argument
5 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/arch/nios2/include/asm/
Dtlb.h22 #define tlb_start_vma(tlb, vma) \ argument
28 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dtlbflush.h40 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
/linux-4.1.27/arch/openrisc/include/asm/
Dtlb.h26 #define tlb_start_vma(tlb, vma) do { } while (0) argument
27 #define tlb_end_vma(tlb, vma) do { } while (0) argument
/linux-4.1.27/arch/mips/include/asm/
Dtlb.h8 #define tlb_start_vma(tlb, vma) \ argument
13 #define tlb_end_vma(tlb, vma) do { } while (0) argument
Dtlbflush.h39 #define flush_tlb_range(vma, vmaddr, end) local_flush_tlb_range(vma, vmaddr, end) argument
42 #define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page) argument
Dcacheflush.h69 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
76 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page()
/linux-4.1.27/arch/x86/mm/
Dpgtable.c409 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags()
424 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
447 int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
463 int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
479 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young()
499 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
513 void pmdp_splitting_flush(struct vm_area_struct *vma, in pmdp_splitting_flush()
/linux-4.1.27/arch/parisc/include/asm/
Dcacheflush.h82 #define flush_icache_page(vma,page) do { \ argument
92 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
99 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
114 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in flush_anon_page()
Dtlbflush.h33 #define flush_tlb_range(vma, start, end) \ argument
78 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
Dtlb.h9 #define tlb_start_vma(tlb, vma) \ argument
14 #define tlb_end_vma(tlb, vma) \ argument
/linux-4.1.27/arch/hexagon/mm/
Dvm_tlb.c37 void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
78 void flush_tlb_page(struct vm_area_struct *vma, unsigned long vaddr) in flush_tlb_page()
/linux-4.1.27/fs/kernfs/
Dfile.c328 static void kernfs_vma_open(struct vm_area_struct *vma) in kernfs_vma_open()
345 static int kernfs_vma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in kernfs_vma_fault()
365 static int kernfs_vma_page_mkwrite(struct vm_area_struct *vma, in kernfs_vma_page_mkwrite()
388 static int kernfs_vma_access(struct vm_area_struct *vma, unsigned long addr, in kernfs_vma_access()
410 static int kernfs_vma_set_policy(struct vm_area_struct *vma, in kernfs_vma_set_policy()
431 static struct mempolicy *kernfs_vma_get_policy(struct vm_area_struct *vma, in kernfs_vma_get_policy()
465 static int kernfs_fop_mmap(struct file *file, struct vm_area_struct *vma) in kernfs_fop_mmap()
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_gem.c61 struct vm_area_struct *vma) in update_vm_cache_attr()
87 int udl_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma) in udl_drm_gem_mmap()
103 int udl_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in udl_gem_fault()
/linux-4.1.27/drivers/video/fbdev/core/
Dfb_defio.c40 static int fb_deferred_io_fault(struct vm_area_struct *vma, in fb_deferred_io_fault()
94 static int fb_deferred_io_mkwrite(struct vm_area_struct *vma, in fb_deferred_io_mkwrite()
167 static int fb_deferred_io_mmap(struct fb_info *info, struct vm_area_struct *vma) in fb_deferred_io_mmap()
/linux-4.1.27/arch/score/mm/
Dtlb-score.c80 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
159 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
213 void __update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t pte) in __update_tlb()
Dcache.c78 void __update_cache(struct vm_area_struct *vma, unsigned long address, in __update_cache()
172 void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range()
211 void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page()
/linux-4.1.27/fs/nilfs2/
Dfile.c59 static int nilfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in nilfs_page_mkwrite()
133 static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma) in nilfs_file_mmap()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dgf100.c45 struct nvkm_vma *vma) in gf100_bar_kmap()
60 struct nvkm_vma *vma) in gf100_bar_umap()
75 gf100_bar_unmap(struct nvkm_bar *bar, struct nvkm_vma *vma) in gf100_bar_unmap()
Dnv50.c46 struct nvkm_vma *vma) in nv50_bar_kmap()
61 struct nvkm_vma *vma) in nv50_bar_umap()
75 nv50_bar_unmap(struct nvkm_bar *bar, struct nvkm_vma *vma) in nv50_bar_unmap()
/linux-4.1.27/arch/arm/kernel/
Dprocess.c326 #define is_gate_vma(vma) ((vma) == &gate_vma) argument
328 #define is_gate_vma(vma) 0 argument
331 const char *arch_vma_name(struct vm_area_struct *vma) in arch_vma_name()
380 struct vm_area_struct *vma; in arch_setup_additional_pages() local
/linux-4.1.27/arch/um/include/asm/
Dmmu_context.h22 struct vm_area_struct *vma, in arch_unmap()
27 struct vm_area_struct *vma) in arch_bprm_mm_init()
/linux-4.1.27/arch/arc/mm/
Dtlb.c274 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
348 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
406 void flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in flush_tlb_page()
416 void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
442 void create_tlb(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) in create_tlb()
522 void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr_unaligned, in update_mmu_cache()
/linux-4.1.27/drivers/misc/sgi-gru/
Dgrufault.c63 struct vm_area_struct *vma; in gru_find_vma() local
82 struct vm_area_struct *vma; in gru_find_lock_gts() local
99 struct vm_area_struct *vma; in gru_alloc_locked_gts() local
190 static int non_atomic_pte_lookup(struct vm_area_struct *vma, in non_atomic_pte_lookup()
219 static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr, in atomic_pte_lookup()
265 struct vm_area_struct *vma; in gru_vtop() local
/linux-4.1.27/kernel/events/
Duprobes.c129 static bool valid_vma(struct vm_area_struct *vma, bool is_register) in valid_vma()
139 static unsigned long offset_to_vaddr(struct vm_area_struct *vma, loff_t offset) in offset_to_vaddr()
144 static loff_t vaddr_to_offset(struct vm_area_struct *vma, unsigned long vaddr) in vaddr_to_offset()
160 static int __replace_page(struct vm_area_struct *vma, unsigned long addr, in __replace_page()
304 struct vm_area_struct *vma; in uprobe_write_opcode() local
648 struct vm_area_struct *vma, unsigned long vaddr) in install_breakpoint()
720 struct vm_area_struct *vma; in build_map_info() local
803 struct vm_area_struct *vma; in register_for_each_vma() local
968 struct vm_area_struct *vma; in unapply_uprobe() local
1022 struct vm_area_struct *vma, in build_probe_list()
[all …]
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_64_vio.c63 static int kvm_spapr_tce_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in kvm_spapr_tce_fault()
81 static int kvm_spapr_tce_mmap(struct file *file, struct vm_area_struct *vma) in kvm_spapr_tce_mmap()
/linux-4.1.27/drivers/misc/cxl/
Dcontext.c103 static int cxl_mmap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in cxl_mmap_fault()
146 int cxl_context_iomap(struct cxl_context *ctx, struct vm_area_struct *vma) in cxl_context_iomap()
/linux-4.1.27/fs/ocfs2/
Dmmap.c131 static int ocfs2_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in ocfs2_page_mkwrite()
178 int ocfs2_mmap(struct file *file, struct vm_area_struct *vma) in ocfs2_mmap()
/linux-4.1.27/arch/parisc/mm/
Dfault.c182 struct vm_area_struct *vma) in show_signal_msg()
204 struct vm_area_struct *vma, *prev_vma; in do_page_fault() local
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c58 struct vm_area_struct *vma) in rockchip_drm_gem_object_mmap()
80 struct vm_area_struct *vma) in rockchip_gem_mmap_buf()
95 int rockchip_gem_mmap(struct file *filp, struct vm_area_struct *vma) in rockchip_gem_mmap()
/linux-4.1.27/arch/xtensa/kernel/
Dpci.c286 __pci_mmap_make_offset(struct pci_dev *dev, struct vm_area_struct *vma, in __pci_mmap_make_offset()
341 __pci_mmap_set_pgprot(struct pci_dev *dev, struct vm_area_struct *vma, in __pci_mmap_set_pgprot()
365 int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, in pci_mmap_page_range()
Dsmp.c442 struct vm_area_struct *vma; member
473 void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
488 void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
532 void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page()
549 void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range()
/linux-4.1.27/fs/9p/
Dvfs_file.c486 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_file_mmap()
499 v9fs_mmap_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_mmap_file_mmap()
536 v9fs_vm_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in v9fs_vm_page_mkwrite()
598 static void v9fs_mmap_vm_close(struct vm_area_struct *vma) in v9fs_mmap_vm_close()
/linux-4.1.27/arch/arm/xen/
Denlighten.c56 int xen_remap_domain_mfn_array(struct vm_area_struct *vma, in xen_remap_domain_mfn_array()
69 int xen_remap_domain_mfn_range(struct vm_area_struct *vma, in xen_remap_domain_mfn_range()
79 int xen_unmap_domain_mfn_range(struct vm_area_struct *vma, in xen_unmap_domain_mfn_range()
/linux-4.1.27/arch/powerpc/oprofile/cell/
Dpr_util.h38 unsigned int vma; /* SPU virtual memory address from elf */ member
46 unsigned int vma; /* SPU virtual memory address from elf */ member
Dvma_map.c37 vma_map_lookup(struct vma_to_fileoffset_map *map, unsigned int vma, in vma_map_lookup()
68 vma_map_add(struct vma_to_fileoffset_map *map, unsigned int vma, in vma_map_add()
/linux-4.1.27/arch/x86/um/
Dmem_64.c5 const char *arch_vma_name(struct vm_area_struct *vma) in arch_vma_name()
/linux-4.1.27/fs/
Ddax.c271 struct vm_area_struct *vma, struct vm_fault *vmf) in dax_insert_mapping()
315 static int do_dax_fault(struct vm_area_struct *vma, struct vm_fault *vmf, in do_dax_fault()
456 int dax_fault(struct vm_area_struct *vma, struct vm_fault *vmf, in dax_fault()
480 int dax_pfn_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in dax_pfn_mkwrite()
/linux-4.1.27/ipc/
Dshm.c190 static int __shm_open(struct vm_area_struct *vma) in __shm_open()
209 static void shm_open(struct vm_area_struct *vma) in shm_open()
269 static void shm_close(struct vm_area_struct *vma) in shm_close()
376 static int shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in shm_fault()
385 static int shm_set_policy(struct vm_area_struct *vma, struct mempolicy *new) in shm_set_policy()
395 static struct mempolicy *shm_get_policy(struct vm_area_struct *vma, in shm_get_policy()
411 static int shm_mmap(struct file *file, struct vm_area_struct *vma) in shm_mmap()
1262 struct vm_area_struct *vma; in SYSCALL_DEFINE1() local
/linux-4.1.27/arch/avr32/mm/
Dtlb.c103 void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
150 void flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in flush_tlb_page()
173 void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
/linux-4.1.27/arch/x86/kernel/
Dvsyscall_64.c276 static const char *gate_vma_name(struct vm_area_struct *vma) in gate_vma_name()
304 struct vm_area_struct *vma = get_gate_vma(mm); in in_gate_area() local
/linux-4.1.27/arch/s390/include/asm/
Dtlbflush.h185 #define flush_tlb_page(vma, addr) do { } while (0) argument
192 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
Dmmu_context.h129 struct vm_area_struct *vma, in arch_unmap()
135 struct vm_area_struct *vma) in arch_bprm_mm_init()
/linux-4.1.27/arch/openrisc/mm/
Dtlb.c89 void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
102 void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()

1234