Home
last modified time | relevance | path

Searched refs:vm_area_struct (Results 1 – 200 of 805) sorted by relevance

12345

/linux-4.4.14/include/linux/
Drmap.h74 struct vm_area_struct *vma;
136 int anon_vma_prepare(struct vm_area_struct *);
137 void unlink_anon_vmas(struct vm_area_struct *);
138 int anon_vma_clone(struct vm_area_struct *, struct vm_area_struct *);
139 int anon_vma_fork(struct vm_area_struct *, struct vm_area_struct *);
141 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
142 struct vm_area_struct *next) in anon_vma_merge()
153 void page_move_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
154 void page_add_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
155 void do_page_add_anon_rmap(struct page *, struct vm_area_struct *,
[all …]
Dhuge_mm.h5 struct vm_area_struct *vma,
10 struct vm_area_struct *vma);
12 struct vm_area_struct *vma,
15 extern int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma,
18 extern struct page *follow_trans_huge_pmd(struct vm_area_struct *vma,
23 struct vm_area_struct *vma,
25 extern int mincore_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
28 extern int move_huge_pmd(struct vm_area_struct *vma,
29 struct vm_area_struct *new_vma,
33 extern int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd,
[all …]
Dmm.h253 void (*open)(struct vm_area_struct * area);
254 void (*close)(struct vm_area_struct * area);
255 int (*mremap)(struct vm_area_struct * area);
256 int (*fault)(struct vm_area_struct *vma, struct vm_fault *vmf);
257 int (*pmd_fault)(struct vm_area_struct *, unsigned long address,
259 void (*map_pages)(struct vm_area_struct *vma, struct vm_fault *vmf);
263 int (*page_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf);
266 int (*pfn_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf);
271 int (*access)(struct vm_area_struct *vma, unsigned long addr,
277 const char *(*name)(struct vm_area_struct *vma);
[all …]
Duserfaultfd_k.h30 extern int handle_userfault(struct vm_area_struct *vma, unsigned long address,
40 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
46 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
51 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
59 static inline int handle_userfault(struct vm_area_struct *vma, in handle_userfault()
67 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
73 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
78 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
Dmempolicy.h128 int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst);
131 struct vm_area_struct *vma,
138 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
140 bool vma_policy_mof(struct vm_area_struct *vma);
148 extern struct zonelist *huge_zonelist(struct vm_area_struct *vma,
175 static inline int vma_migratable(struct vm_area_struct *vma) in vma_migratable()
197 extern int mpol_misplaced(struct page *, struct vm_area_struct *, unsigned long);
234 vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst) in vma_dup_policy()
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()
Ddax.h13 int dax_fault(struct vm_area_struct *, struct vm_fault *, get_block_t,
15 int __dax_fault(struct vm_area_struct *, struct vm_fault *, get_block_t,
18 int dax_pmd_fault(struct vm_area_struct *, unsigned long addr, pmd_t *,
20 int __dax_pmd_fault(struct vm_area_struct *, unsigned long addr, pmd_t *,
23 static inline int dax_pmd_fault(struct vm_area_struct *vma, unsigned long addr, in dax_pmd_fault()
31 int dax_pfn_mkwrite(struct vm_area_struct *, struct vm_fault *);
35 static inline bool vma_is_dax(struct vm_area_struct *vma) in vma_is_dax()
Dhugetlb.h54 void reset_vma_resv_huge_pages(struct vm_area_struct *vma);
64 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *);
65 long follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *,
66 struct page **, struct vm_area_struct **,
68 void unmap_hugepage_range(struct vm_area_struct *,
71 struct vm_area_struct *vma,
74 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma,
81 int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
84 struct vm_area_struct *vma,
95 struct vm_area_struct *vma,
[all …]
Dkhugepaged.h9 extern int khugepaged_enter_vma_merge(struct vm_area_struct *vma,
39 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()
Dksm.h20 int ksm_madvise(struct vm_area_struct *vma, unsigned long start,
62 struct vm_area_struct *vma, unsigned long address);
79 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()
Dvmacache.h19 extern void vmacache_update(unsigned long addr, struct vm_area_struct *newvma);
20 extern struct vm_area_struct *vmacache_find(struct mm_struct *mm,
24 extern struct vm_area_struct *vmacache_find_exact(struct mm_struct *mm,
Dmigrate.h71 struct vm_area_struct *vma, int node);
78 struct vm_area_struct *vma, int node) in migrate_misplaced_page()
86 struct vm_area_struct *vma,
92 struct vm_area_struct *vma, in migrate_misplaced_transhuge_page()
Duprobes.h31 struct vm_area_struct;
127 extern int uprobe_mmap(struct vm_area_struct *vma);
128 extern void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end);
171 static inline int uprobe_mmap(struct vm_area_struct *vma) in uprobe_mmap()
176 uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end) in uprobe_munmap()
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()
Dhighmem.h14 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page()
158 struct vm_area_struct *vma, in __alloc_zeroed_user_highpage()
180 alloc_zeroed_user_highpage_movable(struct vm_area_struct *vma, in alloc_zeroed_user_highpage_movable()
226 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
Dvmalloc.h10 struct vm_area_struct; /* vma defining user mapping in mm_types.h */
89 extern int remap_vmalloc_range_partial(struct vm_area_struct *vma,
93 extern int remap_vmalloc_range(struct vm_area_struct *vma, void *addr,
Dmmdebug.h8 struct vm_area_struct;
14 void dump_vma(const struct vm_area_struct *vma);
Dswap.h316 struct vm_area_struct *vma);
408 struct vm_area_struct *vma, unsigned long addr);
410 struct vm_area_struct *vma, unsigned long addr,
413 struct vm_area_struct *vma, unsigned long addr);
498 struct vm_area_struct *vma, unsigned long addr) in swapin_readahead()
Dmmu_notifier.h313 struct vm_area_struct *___vma = __vma; \
326 struct vm_area_struct *___vma = __vma; \
339 struct vm_area_struct *___vma = __vma; \
350 struct vm_area_struct *___vma = __vma; \
Dmm_types.h297 struct vm_area_struct { struct
305 struct vm_area_struct *vm_next, *vm_prev; argument
393 struct vm_area_struct *mmap; /* list of VMAs */
Dvfio.h43 int (*mmap)(void *device_data, struct vm_area_struct *vma);
70 int (*mmap)(void *iommu_data, struct vm_area_struct *vma);
Ddma-buf.h105 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
236 int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
/linux-4.4.14/arch/powerpc/include/asm/
Dtlbflush.h32 struct vm_area_struct;
37 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
42 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
49 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
65 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
66 extern void flush_tlb_page_nohash(struct vm_area_struct *vma, unsigned long addr);
67 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
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()
[all …]
Dhugetlb.h86 void book3e_hugetlb_preload(struct vm_area_struct *vma, unsigned long ea,
88 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
131 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
149 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
176 static inline void flush_hugetlb_page(struct vm_area_struct *vma, in flush_hugetlb_page()
Dpci.h81 struct vm_area_struct;
83 int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma,
94 struct vm_area_struct *vma,
Dpgtable-ppc64.h448 extern void update_mmu_cache_pmd(struct vm_area_struct *vma, unsigned long addr,
552 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
574 extern int pmdp_test_and_clear_young(struct vm_area_struct *vma,
577 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
596 extern void pmdp_splitting_flush(struct vm_area_struct *vma,
599 extern pmd_t pmdp_collapse_flush(struct vm_area_struct *vma,
610 extern void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address,
Dmmu_context.h139 struct vm_area_struct *vma, in arch_unmap()
147 struct vm_area_struct *vma) in arch_bprm_mm_init()
/linux-4.4.14/mm/
Dmmap.c62 struct vm_area_struct *vma, struct vm_area_struct *prev,
99 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
238 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
255 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
270 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
272 struct vm_area_struct *next = vma->vm_next; in remove_vma()
356 static long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap()
364 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap()
370 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap()
385 struct vm_area_struct *vma; in browse_rb()
[all …]
Dinterval_tree.c14 static inline unsigned long vma_start_pgoff(struct vm_area_struct *v) in vma_start_pgoff()
19 static inline unsigned long vma_last_pgoff(struct vm_area_struct *v) in vma_last_pgoff()
24 INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb,
29 void vma_interval_tree_insert_after(struct vm_area_struct *node, in vma_interval_tree_insert_after()
30 struct vm_area_struct *prev, in vma_interval_tree_insert_after()
34 struct vm_area_struct *parent; in vma_interval_tree_insert_after()
44 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after()
49 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after()
Dpgtable-generic.c47 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags()
61 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young()
73 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush()
102 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
117 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
130 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush()
143 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_splitting_flush()
191 void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate()
201 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
Dmadvise.c46 static long madvise_behavior(struct vm_area_struct *vma, in madvise_behavior()
47 struct vm_area_struct **prev, in madvise_behavior()
144 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry()
175 static void force_swapin_readahead(struct vm_area_struct *vma, in force_swapin_readahead()
189 static void force_shm_swapin_readahead(struct vm_area_struct *vma, in force_shm_swapin_readahead()
220 static long madvise_willneed(struct vm_area_struct *vma, in madvise_willneed()
221 struct vm_area_struct **prev, in madvise_willneed()
278 static long madvise_dontneed(struct vm_area_struct *vma, in madvise_dontneed()
279 struct vm_area_struct **prev, in madvise_dontneed()
294 static long madvise_remove(struct vm_area_struct *vma, in madvise_remove()
[all …]
Dvmacache.c60 void vmacache_update(unsigned long addr, struct vm_area_struct *newvma) in vmacache_update()
86 struct vm_area_struct *vmacache_find(struct mm_struct *mm, unsigned long addr) in vmacache_find()
96 struct vm_area_struct *vma = current->vmacache[i]; in vmacache_find()
112 struct vm_area_struct *vmacache_find_exact(struct mm_struct *mm, in vmacache_find_exact()
124 struct vm_area_struct *vma = current->vmacache[i]; in vmacache_find_exact()
Drmap.c132 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link()
169 int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
257 int anon_vma_clone(struct vm_area_struct *dst, struct vm_area_struct *src) in anon_vma_clone()
311 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork()
372 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas()
572 __vma_address(struct page *page, struct vm_area_struct *vma) in __vma_address()
579 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
694 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
803 int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma) in page_mapped_in_vma()
829 static int page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
[all …]
Dnommu.c121 struct vm_area_struct *vma; in kobjsize()
138 struct vm_area_struct **vmas, int *nonblocking) in __get_user_pages()
140 struct vm_area_struct *vma; in __get_user_pages()
188 struct vm_area_struct **vmas) in get_user_pages()
245 int follow_pfn(struct vm_area_struct *vma, unsigned long address, in follow_pfn()
281 struct vm_area_struct *vma; in vmalloc_user()
515 int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, in vm_insert_page()
698 static void protect_vma(struct vm_area_struct *vma, unsigned long flags) in protect_vma()
717 static void add_vma_to_mm(struct mm_struct *mm, struct vm_area_struct *vma) in add_vma_to_mm()
719 struct vm_area_struct *pvma, *prev; in add_vma_to_mm()
[all …]
Dinternal.h36 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
263 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma,
264 struct vm_area_struct *prev, struct rb_node *rb_parent);
267 extern long populate_vma_page_range(struct vm_area_struct *vma,
269 extern void munlock_vma_pages_range(struct vm_area_struct *vma,
271 static inline void munlock_vma_pages_all(struct vm_area_struct *vma) in munlock_vma_pages_all()
310 extern pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma);
314 struct vm_area_struct *vma);
Dmremap.c53 static pmd_t *alloc_new_pmd(struct mm_struct *mm, struct vm_area_struct *vma, in alloc_new_pmd()
89 static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd, in move_ptes()
91 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes()
163 unsigned long move_page_tables(struct vm_area_struct *vma, in move_page_tables()
164 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables()
236 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma()
241 struct vm_area_struct *new_vma; in move_vma()
344 static struct vm_area_struct *vma_to_resize(unsigned long addr, in vma_to_resize()
348 struct vm_area_struct *vma = find_vma(mm, addr); in vma_to_resize()
399 struct vm_area_struct *vma; in mremap_to()
[all …]
Dmemory.c529 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables()
533 struct vm_area_struct *next = vma->vm_next; in free_pgtables()
564 int __pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, in __pte_alloc()
647 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte()
750 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page()
801 struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page_pmd()
848 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *vma, in copy_one_pte()
929 pmd_t *dst_pmd, pmd_t *src_pmd, struct vm_area_struct *vma, in copy_pte_range()
992 pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, in copy_pmd_range()
1025 pgd_t *dst_pgd, pgd_t *src_pgd, struct vm_area_struct *vma, in copy_pud_range()
[all …]
Dmprotect.c41 static pte_t *lock_pte_protection(struct vm_area_struct *vma, pmd_t *pmd, in lock_pte_protection()
62 static unsigned long change_pte_range(struct vm_area_struct *vma, pmd_t *pmd, in change_pte_range()
136 static inline unsigned long change_pmd_range(struct vm_area_struct *vma, in change_pmd_range()
193 static inline unsigned long change_pud_range(struct vm_area_struct *vma, in change_pud_range()
213 static unsigned long change_protection_range(struct vm_area_struct *vma, in change_protection_range()
243 unsigned long change_protection(struct vm_area_struct *vma, unsigned long start, in change_protection()
258 mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, in mprotect_fixup()
351 struct vm_area_struct *vma, *prev; in SYSCALL_DEFINE3()
Dhugetlb.c211 static inline struct hugepage_subpool *subpool_vma(struct vm_area_struct *vma) in subpool_vma()
617 struct vm_area_struct *vma, unsigned long address) in vma_hugecache_offset()
623 pgoff_t linear_hugepage_index(struct vm_area_struct *vma, in linear_hugepage_index()
633 unsigned long vma_kernel_pagesize(struct vm_area_struct *vma) in vma_kernel_pagesize()
653 unsigned long vma_mmu_pagesize(struct vm_area_struct *vma) in vma_mmu_pagesize()
687 static unsigned long get_vma_private_data(struct vm_area_struct *vma) in get_vma_private_data()
692 static void set_vma_private_data(struct vm_area_struct *vma, in set_vma_private_data()
747 static struct resv_map *vma_resv_map(struct vm_area_struct *vma) in vma_resv_map()
762 static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map) in set_vma_resv_map()
771 static void set_vma_resv_flags(struct vm_area_struct *vma, unsigned long flags) in set_vma_resv_flags()
[all …]
Dpagewalk.c135 struct vm_area_struct *vma = walk->vma; in walk_hugetlb_range()
172 struct vm_area_struct *vma = walk->vma; in walk_page_test()
198 struct vm_area_struct *vma = walk->vma; in __walk_page_range()
244 struct vm_area_struct *vma; in walk_page_range()
288 int walk_page_vma(struct vm_area_struct *vma, struct mm_walk *walk) in walk_page_vma()
Dutil.c179 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_list()
180 struct vm_area_struct *prev, struct rb_node *rb_parent) in __vma_link_list()
182 struct vm_area_struct *next; in __vma_link_list()
192 struct vm_area_struct, vm_rb); in __vma_link_list()
203 struct vm_area_struct *vma) in vm_is_stack_for_task()
215 struct vm_area_struct *vma, bool in_group) in task_of_stack()
Dgup.c21 static struct page *no_page_table(struct vm_area_struct *vma, in no_page_table()
37 static int follow_pfn_pte(struct vm_area_struct *vma, unsigned long address, in follow_pfn_pte()
61 static struct page *follow_page_pte(struct vm_area_struct *vma, in follow_page_pte()
177 struct page *follow_page_mask(struct vm_area_struct *vma, in follow_page_mask()
247 unsigned int gup_flags, struct vm_area_struct **vma, in get_gate_page()
295 static int faultin_page(struct task_struct *tsk, struct vm_area_struct *vma, in faultin_page()
359 static int check_vma_flags(struct vm_area_struct *vma, unsigned long gup_flags) in check_vma_flags()
456 struct vm_area_struct **vmas, int *nonblocking) in __get_user_pages()
460 struct vm_area_struct *vma = NULL; in __get_user_pages()
590 struct vm_area_struct *vma; in fixup_user_fault()
[all …]
Dhuge_memory.c699 pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma) in maybe_pmd_mkwrite()
715 struct vm_area_struct *vma, in __do_huge_pmd_anonymous_page()
794 struct vm_area_struct *vma, unsigned long haddr, pmd_t *pmd, in set_huge_zero_page()
808 int do_huge_pmd_anonymous_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_anonymous_page()
872 static void insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in insert_pfn_pmd()
892 int vmf_insert_pfn_pmd(struct vm_area_struct *vma, unsigned long addr, in vmf_insert_pfn_pmd()
917 struct vm_area_struct *vma) in copy_huge_pmd()
989 struct vm_area_struct *vma, in huge_pmd_set_accessed()
1043 struct vm_area_struct *vma, in do_huge_pmd_wp_page_fallback()
1151 int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma, in do_huge_pmd_wp_page()
[all …]
Dmempolicy.c445 struct vm_area_struct *vma; in mpol_rebind_mm()
478 struct vm_area_struct *prev;
488 struct vm_area_struct *vma = walk->vma; in queue_pages_pte_range()
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()
659 static int vma_replace_policy(struct vm_area_struct *vma, in vma_replace_policy()
695 struct vm_area_struct *next; in mbind_range()
696 struct vm_area_struct *prev; in mbind_range()
697 struct vm_area_struct *vma; in mbind_range()
[all …]
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()
175 struct vm_area_struct *vma; in do_mincore()
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()
562 struct vm_area_struct * vma, * prev; in apply_vma_lock_flags()
687 struct vm_area_struct * vma, * prev = NULL; in apply_mlockall_flags()
Dksm.c363 static int break_ksm(struct vm_area_struct *vma, unsigned long addr) in break_ksm()
411 static struct vm_area_struct *find_mergeable_vma(struct mm_struct *mm, in find_mergeable_vma()
414 struct vm_area_struct *vma; in find_mergeable_vma()
429 struct vm_area_struct *vma; in break_cow()
462 struct vm_area_struct *vma; in get_mergeable_page()
682 static int unmerge_ksm_pages(struct vm_area_struct *vma, in unmerge_ksm_pages()
772 struct vm_area_struct *vma; in unmerge_and_remove_all_rmap_items()
856 static int write_protect_page(struct vm_area_struct *vma, struct page *page, in write_protect_page()
930 static int replace_page(struct vm_area_struct *vma, struct page *page, in replace_page()
1016 static int try_to_merge_one_page(struct vm_area_struct *vma, in try_to_merge_one_page()
[all …]
Duserfaultfd.c22 struct vm_area_struct *dst_vma, in mcopy_atomic_pte()
102 struct vm_area_struct *dst_vma, in mfill_zeropage_pte()
148 struct vm_area_struct *dst_vma; in __mcopy_atomic()
/linux-4.4.14/include/asm-generic/
Dpgtable.h27 extern int ptep_set_access_flags(struct vm_area_struct *vma,
34 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
38 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
49 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
65 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
78 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
89 int ptep_clear_flush_young(struct vm_area_struct *vma,
95 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
102 static inline int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
173 extern pte_t ptep_clear_flush(struct vm_area_struct *vma,
[all …]
Dmm_hooks.h19 struct vm_area_struct *vma, in arch_unmap()
25 struct vm_area_struct *vma) in arch_bprm_mm_init()
/linux-4.4.14/arch/sparc/include/asm/
Dcachetlb_32.h5 struct vm_area_struct;
10 void (*cache_range)(struct vm_area_struct *, unsigned long,
12 void (*cache_page)(struct vm_area_struct *, unsigned long);
16 void (*tlb_range)(struct vm_area_struct *, unsigned long,
18 void (*tlb_page)(struct vm_area_struct *, unsigned long);
Dtlbflush_64.h28 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
33 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
Dhugetlb.h42 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.4.14/arch/arc/include/asm/
Dtlbflush.h16 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
18 void local_flush_tlb_range(struct vm_area_struct *vma,
20 void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start,
31 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
33 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
37 extern void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
Dcacheflush.h66 void flush_cache_range(struct vm_area_struct *vma,
68 void flush_cache_page(struct vm_area_struct *vma,
76 void flush_anon_page(struct vm_area_struct *vma,
Dpage.h22 struct vm_area_struct;
28 unsigned long u_vaddr, struct vm_area_struct *vma);
Dhugepage.h64 extern void update_mmu_cache_pmd(struct vm_area_struct *vma, unsigned long addr,
78 extern void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start,
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_gem.h121 int exynos_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
124 int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
126 static inline int vma_is_io(struct vm_area_struct *vma) in vma_is_io()
132 struct vm_area_struct *exynos_gem_get_vma(struct vm_area_struct *vma);
135 void exynos_gem_put_vma(struct vm_area_struct *vma);
141 struct vm_area_struct *vma);
146 struct vm_area_struct *vma);
/linux-4.4.14/arch/sh/include/asm/
Dcacheflush.h41 extern void flush_cache_page(struct vm_area_struct *vma,
43 extern void flush_cache_range(struct vm_area_struct *vma,
48 extern void flush_icache_page(struct vm_area_struct *vma,
53 struct vm_area_struct *vma;
60 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
81 extern void copy_to_user_page(struct vm_area_struct *vma,
85 extern void copy_from_user_page(struct vm_area_struct *vma,
Dtlbflush.h15 extern void local_flush_tlb_range(struct vm_area_struct *vma,
18 extern void local_flush_tlb_page(struct vm_area_struct *vma,
30 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
32 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
Dpgtable.h134 struct vm_area_struct;
137 extern void __update_cache(struct vm_area_struct *vma,
139 extern void __update_tlb(struct vm_area_struct *vma,
143 update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t *ptep) in update_mmu_cache()
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()
119 extern void tlb_wire_entry(struct vm_area_struct *, unsigned long, pte_t);
122 static inline void tlb_wire_entry(struct vm_area_struct *vma , in tlb_wire_entry()
Dhugetlb.h49 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
70 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.4.14/arch/tile/include/asm/
Dtlbflush.h42 #define FLUSH_NONEXEC ((struct vm_area_struct *)-1UL)
45 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()
115 extern void flush_tlb_page(struct vm_area_struct *, unsigned long);
116 extern void flush_tlb_page_mm(struct vm_area_struct *,
118 extern void flush_tlb_range(struct vm_area_struct *,
Dhugetlb.h63 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
85 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
102 static inline pte_t arch_make_huge_pte(pte_t entry, struct vm_area_struct *vma, in arch_make_huge_pte()
/linux-4.4.14/include/xen/
Dxen-ops.h30 struct vm_area_struct;
49 int xen_remap_domain_gfn_array(struct vm_area_struct *vma,
68 int xen_remap_domain_gfn_range(struct vm_area_struct *vma,
73 int xen_unmap_domain_gfn_range(struct vm_area_struct *vma,
75 int xen_xlate_remap_gfn_array(struct vm_area_struct *vma,
81 int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma,
/linux-4.4.14/arch/nios2/include/asm/
Dcacheflush.h26 extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start,
28 extern void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr,
34 extern void flush_icache_page(struct vm_area_struct *vma, struct page *page);
39 extern void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
42 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page,
Dtlbflush.h35 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
40 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_vm.c49 struct vm_area_struct *vma;
53 static void drm_vm_open(struct vm_area_struct *vma);
54 static void drm_vm_close(struct vm_area_struct *vma);
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()
[all …]
Ddrm_internal.h40 void drm_vm_open_locked(struct drm_device *dev, struct vm_area_struct *vma);
41 void drm_vm_close_locked(struct drm_device *dev, struct vm_area_struct *vma);
/linux-4.4.14/arch/alpha/include/asm/
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()
140 extern void flush_tlb_page(struct vm_area_struct *, unsigned long);
141 extern void flush_tlb_range(struct vm_area_struct *, unsigned long,
Dcacheflush.h50 flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
62 extern void flush_icache_user_range(struct vm_area_struct *vma,
Dmachvec.h18 struct vm_area_struct;
78 struct vm_area_struct *vma,
/linux-4.4.14/arch/mips/include/asm/
Dcacheflush.h50 extern void (*flush_cache_range)(struct vm_area_struct *vma,
52 extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn);
69 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()
100 extern void copy_to_user_page(struct vm_area_struct *vma,
104 extern void copy_from_user_page(struct vm_area_struct *vma,
Dtlbflush.h17 extern void local_flush_tlb_range(struct vm_area_struct *vma,
21 extern void local_flush_tlb_page(struct vm_area_struct *vma,
29 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long,
32 extern void flush_tlb_page(struct vm_area_struct *, unsigned long);
Dpgtable.h24 struct vm_area_struct;
450 extern void __update_tlb(struct vm_area_struct *vma, unsigned long address,
453 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
460 static inline void update_mmu_cache_pmd(struct vm_area_struct *vma, in update_mmu_cache_pmd()
471 extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsig…
473 static inline int io_remap_pfn_range(struct vm_area_struct *vma, in io_remap_pfn_range()
518 extern void pmdp_splitting_flush(struct vm_area_struct *vma,
Dhugetlb.h67 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
90 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.4.14/arch/m32r/include/asm/
Dtlbflush.h19 extern void local_flush_tlb_page(struct vm_area_struct *, unsigned long);
20 extern void local_flush_tlb_range(struct vm_area_struct *, unsigned long,
40 extern void smp_flush_tlb_page(struct vm_area_struct *, unsigned long);
41 extern void smp_flush_tlb_range(struct vm_area_struct *, unsigned long,
95 extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t *);
/linux-4.4.14/arch/xtensa/include/asm/
Dcacheflush.h99 void flush_cache_range(struct vm_area_struct*, ulong, ulong);
101 void flush_cache_page(struct vm_area_struct*,
125 void local_flush_cache_range(struct vm_area_struct *vma,
127 void local_flush_cache_page(struct vm_area_struct *vma,
163 extern void copy_to_user_page(struct vm_area_struct*, struct page*,
165 extern void copy_from_user_page(struct vm_area_struct*, struct page*,
Dtlbflush.h35 void local_flush_tlb_page(struct vm_area_struct *vma,
37 void local_flush_tlb_range(struct vm_area_struct *vma,
45 void flush_tlb_page(struct vm_area_struct *, unsigned long);
46 void flush_tlb_range(struct vm_area_struct *, unsigned long,
/linux-4.4.14/arch/arm/include/asm/
Dtlbflush.h207 void (*flush_user_range)(unsigned long, unsigned long, struct vm_area_struct *);
225 extern void __cpu_flush_user_tlb_range(unsigned long, unsigned long, struct vm_area_struct *);
419 __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()
617 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr);
619 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
631 extern void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr,
634 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
652 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) { } in local_flush_tlb_page()
[all …]
Dcacheflush.h171 extern void copy_to_user_page(struct vm_area_struct *, struct page *,
228 vivt_flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) in vivt_flush_cache_range()
238 vivt_flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn) in vivt_flush_cache_page()
257 extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
258 extern void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn…
309 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
312 extern void __flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
Dpage.h111 struct vm_area_struct;
116 unsigned long vaddr, struct vm_area_struct *vma);
132 unsigned long vaddr, struct vm_area_struct *vma);
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()
Dtlb.h72 struct vm_area_struct *vma;
195 tlb_start_vma(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_start_vma()
206 tlb_end_vma(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_end_vma()
/linux-4.4.14/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.4.14/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()
105 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_splitting_flush()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dllite_mmap.c57 struct vm_area_struct *vma, unsigned long addr, in policy_from_vma()
66 struct vm_area_struct *our_vma(struct mm_struct *mm, unsigned long addr, in our_vma()
69 struct vm_area_struct *vma, *ret = NULL; in our_vma()
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()
291 static int ll_fault0(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_fault0()
340 static int ll_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_fault()
380 static int ll_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in ll_page_mkwrite()
426 static void ll_vm_open(struct vm_area_struct *vma) in ll_vm_open()
439 static void ll_vm_close(struct vm_area_struct *vma) in ll_vm_close()
[all …]
/linux-4.4.14/arch/x86/um/
Dmem_32.c12 static struct vm_area_struct gate_vma;
29 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
47 struct vm_area_struct *vma = get_gate_vma(mm); in in_gate_area()
/linux-4.4.14/arch/nios2/mm/
Dcacheflush.c76 struct vm_area_struct *mpnt; in flush_aliases()
132 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range()
140 void flush_icache_page(struct vm_area_struct *vma, struct page *page) in flush_icache_page()
149 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, in flush_cache_page()
200 void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
249 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, in copy_from_user_page()
260 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
/linux-4.4.14/include/drm/
Ddrm_gem.h130 void drm_gem_vm_open(struct vm_area_struct *vma);
131 void drm_gem_vm_close(struct vm_area_struct *vma);
133 struct vm_area_struct *vma);
134 int drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
Ddrm_gem_cma_helper.h48 int drm_gem_cma_mmap(struct file *filp, struct vm_area_struct *vma);
66 struct vm_area_struct *vma);
/linux-4.4.14/drivers/xen/
Dprivcmd.c47 struct vm_area_struct *vma,
198 struct vm_area_struct *vma;
206 struct vm_area_struct *vma = st->vma; in mmap_gfn_range()
236 struct vm_area_struct *vma; in privcmd_ioctl_mmap()
291 struct vm_area_struct *vma;
315 struct vm_area_struct *vma = st->vma; in mmap_batch_fn()
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()
582 static void privcmd_close(struct vm_area_struct *vma) in privcmd_close()
601 static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in privcmd_fault()
[all …]
Dxlate_mmu.c65 struct vm_area_struct *vma;
140 int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array()
180 int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range()
/linux-4.4.14/fs/proc/
Dtask_nommu.c20 struct vm_area_struct *vma; in task_mem()
27 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_mem()
82 struct vm_area_struct *vma; in task_vsize()
88 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_vsize()
99 struct vm_area_struct *vma; in task_statm()
106 vma = rb_entry(p, struct vm_area_struct, vm_rb); in task_statm()
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()
212 return nommu_vma_show(m, rb_entry(p, struct vm_area_struct, vm_rb), in show_map()
Dtask_mmu.c128 static struct vm_area_struct *
129 m_next_vma(struct proc_maps_private *priv, struct vm_area_struct *vma) in m_next_vma()
136 static void m_cache_vma(struct seq_file *m, struct vm_area_struct *vma) in m_cache_vma()
147 struct vm_area_struct *vma; in m_start()
192 struct vm_area_struct *next; in m_next()
252 struct vm_area_struct *vma, bool is_pid) in pid_of_stack()
271 show_map_vma(struct seq_file *m, struct vm_area_struct *vma, int is_pid) in show_map_vma()
492 struct vm_area_struct *vma = walk->vma; in smaps_pte_entry()
527 struct vm_area_struct *vma = walk->vma; in smaps_pmd_entry()
548 struct vm_area_struct *vma = walk->vma; in smaps_pte_range()
[all …]
/linux-4.4.14/arch/m68k/include/asm/
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()
256 extern void flush_icache_user_range(struct vm_area_struct *vma, struct page *page,
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()
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()
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.4.14/arch/metag/include/asm/
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()
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()
Dhugetlb.h37 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
58 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.4.14/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.4.14/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()
102 struct vm_area_struct cvma; 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.4.14/drivers/staging/rdma/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.4.14/arch/arm/mm/
Dflush.c82 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) in flush_cache_range()
101 void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn) in flush_cache_page()
162 void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
188 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
244 struct vm_area_struct *mpnt; in __flush_dcache_aliases()
388 void __flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in __flush_anon_page()
421 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()
136 struct vm_area_struct *mpnt; 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.4.14/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()
Duv_mmtimer.c43 static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma);
147 static int uv_mmtimer_mmap(struct file *file, struct vm_area_struct *vma) in uv_mmtimer_mmap()
/linux-4.4.14/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()
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.4.14/arch/powerpc/mm/
Dtlb_hash32.c55 void flush_tlb_page_nohash(struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page_nohash()
136 struct vm_area_struct *mp; in flush_tlb_mm()
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.c494 int pmdp_set_access_flags(struct vm_area_struct *vma, unsigned long address, in pmdp_set_access_flags()
547 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
586 int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
600 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
610 void pmdp_splitting_flush(struct vm_area_struct *vma, in pmdp_splitting_flush()
715 void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate()
799 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.4.14/arch/sh/mm/
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()
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()
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()
528 struct vm_area_struct *vma; in sh5_flush_cache_range()
551 struct vm_area_struct *vma; in sh5_flush_cache_page()
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()
84 struct vm_area_struct *vma; in arch_get_unmapped_area_topdown()
/linux-4.4.14/arch/sparc/mm/
Dsrmmu.c545 extern void tsunami_flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned lon…
546 extern void tsunami_flush_cache_page(struct vm_area_struct *vma, unsigned long page);
552 extern void tsunami_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long …
553 extern void tsunami_flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
559 extern void swift_flush_cache_range(struct vm_area_struct *vma,
561 extern void swift_flush_cache_page(struct vm_area_struct *vma, unsigned long page);
567 extern void swift_flush_tlb_range(struct vm_area_struct *vma,
569 extern void swift_flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
572 void swift_flush_tlb_page(struct vm_area_struct *vma, unsigned long page)
611 extern void viking_flush_cache_range(struct vm_area_struct *vma, unsigned long start,
[all …]
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.4.14/arch/arm64/include/asm/
Dcacheflush.h68 extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
77 static inline void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page()
94 extern void copy_to_user_page(struct vm_area_struct *, struct page *,
Dtlbflush.h91 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
107 static inline void __flush_tlb_range(struct vm_area_struct *vma, in __flush_tlb_range()
132 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
Dhugetlb.h35 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
53 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
Dpgtable.h244 struct vm_area_struct;
344 struct vm_area_struct;
345 void pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address,
542 extern int ptep_set_access_flags(struct vm_area_struct *vma,
548 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
560 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
582 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
689 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
/linux-4.4.14/arch/unicore32/include/asm/
Dtlbflush.h20 struct vm_area_struct *);
88 local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in local_flush_tlb_page()
187 extern void update_mmu_cache(struct vm_area_struct *vma,
Dmmu_context.h70 struct vm_area_struct *high_vma = find_vma(mm, 0xffff0000); \
90 struct vm_area_struct *vma, in arch_unmap()
96 struct vm_area_struct *vma) in arch_bprm_mm_init()
Dcacheflush.h118 extern void copy_to_user_page(struct vm_area_struct *, struct page *,
140 extern void flush_cache_range(struct vm_area_struct *vma,
142 extern void flush_cache_page(struct vm_area_struct *vma,
/linux-4.4.14/arch/avr32/include/asm/
Dcacheflush.h103 extern void flush_icache_page(struct vm_area_struct *vma, struct page *page);
121 extern void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
125 static inline void copy_from_user_page(struct vm_area_struct *vma, in copy_from_user_page()
Dtlbflush.h26 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
28 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
/linux-4.4.14/arch/microblaze/include/asm/
Dpci.h50 struct vm_area_struct;
52 int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma,
63 struct vm_area_struct *vma,
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()
Dcacheflush.h105 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()
/linux-4.4.14/arch/score/include/asm/
Dcacheflush.h9 extern void flush_cache_range(struct vm_area_struct *vma,
11 extern void flush_cache_page(struct vm_area_struct *vma,
28 static inline void flush_icache_page(struct vm_area_struct *vma, in flush_icache_page()
Dtlbflush.h17 extern void local_flush_tlb_range(struct vm_area_struct *vma,
21 extern void local_flush_tlb_page(struct vm_area_struct *vma,
/linux-4.4.14/fs/ext2/
Dfile.c42 static int ext2_dax_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in ext2_dax_fault()
62 static int ext2_dax_pmd_fault(struct vm_area_struct *vma, unsigned long addr, in ext2_dax_pmd_fault()
83 static int ext2_dax_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) in ext2_dax_mkwrite()
100 static int ext2_dax_pfn_mkwrite(struct vm_area_struct *vma, in ext2_dax_pfn_mkwrite()
129 static int ext2_file_mmap(struct file *file, struct vm_area_struct *vma) in ext2_file_mmap()
/linux-4.4.14/arch/mn10300/include/asm/
Dtlbflush.h104 extern void flush_tlb_page(struct vm_area_struct *, unsigned long);
108 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()
/linux-4.4.14/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.4.14/arch/frv/include/asm/
Dcacheflush.h77 extern void flush_icache_user_range(struct vm_area_struct *vma, struct page *page,
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()
/linux-4.4.14/arch/um/include/asm/
Dtlbflush.h24 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
26 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long address);
Dmmu_context.h22 struct vm_area_struct *vma, in arch_unmap()
27 struct vm_area_struct *vma) in arch_bprm_mm_init()
/linux-4.4.14/arch/hexagon/include/asm/
Dtlbflush.h39 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr);
40 extern void flush_tlb_range(struct vm_area_struct *vma,
Dcacheflush.h86 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
92 void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
/linux-4.4.14/scripts/coccinelle/api/
Dvma_pages.cocci18 struct vm_area_struct *vma;
28 struct vm_area_struct *vma;
39 struct vm_area_struct *vma;
/linux-4.4.14/arch/openrisc/include/asm/
Dtlbflush.h39 void flush_tlb_page(struct vm_area_struct *vma, unsigned long addr);
40 void flush_tlb_range(struct vm_area_struct *vma,
/linux-4.4.14/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.4.14/include/linux/platform_data/
Dvideo-clcd-versatile.h7 int versatile_clcd_mmap_dma(struct clcd_fb *, struct vm_area_struct *);
18 static inline int versatile_clcd_mmap_dma(struct clcd_fb *fb, struct vm_area_struct *vm) in versatile_clcd_mmap_dma()
/linux-4.4.14/arch/cris/include/asm/
Dtlbflush.h22 extern void __flush_tlb_page(struct vm_area_struct *vma,
29 static inline void flush_tlb_range(struct vm_area_struct * vma, unsigned long start, unsigned long … in flush_tlb_range()
/linux-4.4.14/drivers/video/fbdev/
Dsbuslib.h16 struct vm_area_struct;
20 struct vm_area_struct *vma);
/linux-4.4.14/arch/arc/mm/
Dtlb.c323 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
397 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
418 struct vm_area_struct *ta_vma;
464 void flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in flush_tlb_page()
474 void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_tlb_range()
487 void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, in flush_pmd_tlb_range()
514 void create_tlb(struct vm_area_struct *vma, unsigned long vaddr, pte_t *ptep) in create_tlb()
595 void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr_unaligned, in update_mmu_cache()
655 void update_mmu_cache_pmd(struct vm_area_struct *vma, unsigned long addr, in update_mmu_cache_pmd()
699 void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_pmd_tlb_range()
/linux-4.4.14/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.4.14/drivers/misc/sgi-gru/
Dgrutables.h353 struct vm_area_struct *ts_vma; /* vma of GRU context */
629 extern struct gru_vma_data *gru_alloc_vma_data(struct vm_area_struct *vma,
631 extern struct gru_thread_state *gru_find_thread_state(struct vm_area_struct
633 extern struct gru_thread_state *gru_alloc_thread_state(struct vm_area_struct
656 extern struct vm_area_struct *gru_find_vma(unsigned long vaddr);
661 extern struct gru_thread_state *gru_alloc_gts(struct vm_area_struct *vma,
668 extern int gru_fault(struct vm_area_struct *, struct vm_fault *vmf);
Dgrufault.c61 struct vm_area_struct *gru_find_vma(unsigned long vaddr) in gru_find_vma()
63 struct vm_area_struct *vma; in gru_find_vma()
82 struct vm_area_struct *vma; in gru_find_lock_gts()
99 struct vm_area_struct *vma; in gru_alloc_locked_gts()
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()
/linux-4.4.14/arch/x86/include/asm/
Dpgtable.h751 struct vm_area_struct;
754 extern int ptep_set_access_flags(struct vm_area_struct *vma,
759 extern int ptep_test_and_clear_young(struct vm_area_struct *vma,
763 extern int ptep_clear_flush_young(struct vm_area_struct *vma,
806 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
811 extern int pmdp_test_and_clear_young(struct vm_area_struct *vma,
815 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
820 extern void pmdp_splitting_flush(struct vm_area_struct *vma,
879 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
883 static inline void update_mmu_cache_pmd(struct vm_area_struct *vma, in update_mmu_cache_pmd()
Dmpx.h72 void mpx_notify_unmap(struct mm_struct *mm, struct vm_area_struct *vma,
91 struct vm_area_struct *vma, in mpx_notify_unmap()
Dtlbflush.h191 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
198 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
242 extern void flush_tlb_page(struct vm_area_struct *, unsigned long);
Dhugetlb.h50 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
72 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.4.14/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.4.14/fs/ocfs2/
Dmmap.c47 static int ocfs2_fault(struct vm_area_struct *area, struct vm_fault *vmf) in ocfs2_fault()
131 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()
Dmmap.h4 int ocfs2_mmap(struct file *file, struct vm_area_struct *vma);
/linux-4.4.14/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.h37 int rockchip_gem_mmap(struct file *filp, struct vm_area_struct *vma);
41 struct vm_area_struct *vma);
Drockchip_drm_gem.c58 struct vm_area_struct *vma) in rockchip_drm_gem_object_mmap()
81 struct vm_area_struct *vma) in rockchip_gem_mmap_buf()
93 int rockchip_gem_mmap(struct file *filp, struct vm_area_struct *vma) in rockchip_gem_mmap()
/linux-4.4.14/arch/m32r/kernel/
Dsmp.c50 static struct vm_area_struct *flush_vma;
70 struct vm_area_struct *, unsigned long);
292 void smp_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in smp_flush_tlb_range()
315 void smp_flush_tlb_page(struct vm_area_struct *vma, unsigned long va) in smp_flush_tlb_page()
371 struct vm_area_struct *vma, unsigned long va) in flush_tlb_others()
/linux-4.4.14/arch/x86/entry/vsyscall/
Dvsyscall_64.c283 static const char *gate_vma_name(struct vm_area_struct *vma) in gate_vma_name()
290 static struct vm_area_struct gate_vma = {
298 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
311 struct vm_area_struct *vma = get_gate_vma(mm); in in_gate_area()
/linux-4.4.14/arch/ia64/include/asm/
Dpci.h56 extern int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma,
60 struct vm_area_struct *vma,
Dtlbflush.h69 extern void flush_tlb_range (struct vm_area_struct *vma, unsigned long start, unsigned long end);
75 flush_tlb_page (struct vm_area_struct *vma, unsigned long addr) in flush_tlb_page()
Dhugetlb.h35 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
56 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.4.14/arch/arm/kernel/
Dsmp_tlb.c23 struct vm_area_struct *ta_vma;
156 void flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) in flush_tlb_page()
180 void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
Dprocess.c328 static struct vm_area_struct gate_vma = {
341 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
360 const char *arch_vma_name(struct vm_area_struct *vma) in arch_vma_name()
409 struct vm_area_struct *vma; in arch_setup_additional_pages()
/linux-4.4.14/arch/parisc/include/asm/
Dcacheflush.h105 void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr, unsigned long pfn);
106 void flush_cache_range(struct vm_area_struct *vma,
114 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) in flush_anon_page()
Dhugetlb.h42 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
60 int huge_ptep_set_access_flags(struct vm_area_struct *vma,
/linux-4.4.14/drivers/staging/rdma/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.4.14/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.4.14/drivers/staging/rdma/hfi1/
Dmmap.c82 static void hfi1_vma_open(struct vm_area_struct *vma) in hfi1_vma_open()
89 static void hfi1_vma_close(struct vm_area_struct *vma) in hfi1_vma_close()
107 int hfi1_mmap(struct ib_ucontext *context, struct vm_area_struct *vma) in hfi1_mmap()
/linux-4.4.14/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()
289 struct vm_area_struct *mpnt; in flush_dcache_page()
491 struct vm_area_struct *vma; in mm_total_size()
516 struct vm_area_struct *vma; in flush_cache_mm()
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.4.14/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()
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.c81 void local_flush_tlb_range(struct vm_area_struct *vma, unsigned long start, in local_flush_tlb_range()
160 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page) in local_flush_tlb_page()
191 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.4.14/drivers/media/v4l2-core/
Dvideobuf2-memops.c90 static void vb2_common_vm_open(struct vm_area_struct *vma) in vb2_common_vm_open()
108 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()
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()
/linux-4.4.14/fs/ncpfs/
Dmmap.c30 static int ncp_file_mmap_fault(struct vm_area_struct *area, in ncp_file_mmap_fault()
104 int ncp_mmap(struct file *file, struct vm_area_struct *vma) in ncp_mmap()
/linux-4.4.14/arch/score/mm/
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()
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()
/linux-4.4.14/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()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_mmap.c27 struct vm_area_struct *vma;
79 struct vm_area_struct *vma; in __scif_zap_mmaps()
169 static int scif_insert_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_insert_vma()
188 static void scif_delete_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_delete_vma()
382 int nr_pages, struct vm_area_struct *vma) in scif_rma_list_mmap()
533 static void scif_vma_open(struct vm_area_struct *vma) in scif_vma_open()
551 static void scif_munmap(struct vm_area_struct *vma) in scif_munmap()
611 int scif_mmap(struct vm_area_struct *vma, scif_epd_t epd) in scif_mmap()
/linux-4.4.14/arch/xtensa/kernel/
Dsmp.c442 struct vm_area_struct *vma;
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.4.14/kernel/events/
Duprobes.c121 static bool valid_vma(struct vm_area_struct *vma, bool is_register) in valid_vma()
131 static unsigned long offset_to_vaddr(struct vm_area_struct *vma, loff_t offset) in offset_to_vaddr()
136 static loff_t vaddr_to_offset(struct vm_area_struct *vma, unsigned long vaddr) in vaddr_to_offset()
152 static int __replace_page(struct vm_area_struct *vma, unsigned long addr, in __replace_page()
296 struct vm_area_struct *vma; in uprobe_write_opcode()
642 struct vm_area_struct *vma, unsigned long vaddr) in install_breakpoint()
714 struct vm_area_struct *vma; in build_map_info()
797 struct vm_area_struct *vma; in register_for_each_vma()
962 struct vm_area_struct *vma; in unapply_uprobe()
1016 struct vm_area_struct *vma, in build_probe_list()
[all …]
/linux-4.4.14/arch/s390/include/asm/
Dhugetlb.h47 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
53 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_drv.h196 struct vm_area_struct *vma);
197 int msm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
198 int msm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
214 int msm_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
/linux-4.4.14/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.4.14/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.4.14/arch/arm/xen/
Denlighten.c52 int xen_remap_domain_gfn_array(struct vm_area_struct *vma, in xen_remap_domain_gfn_array()
65 int xen_remap_domain_gfn_range(struct vm_area_struct *vma, in xen_remap_domain_gfn_range()
75 int xen_unmap_domain_gfn_range(struct vm_area_struct *vma, in xen_unmap_domain_gfn_range()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/ipc/
Dshm.c68 static void shm_open(struct vm_area_struct *vma);
69 static void shm_close(struct vm_area_struct *vma);
190 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()
[all …]

12345