Home
last modified time | relevance | path

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

1234

/linux-4.1.27/include/linux/
Drmap.h74 struct vm_area_struct *vma;
133 int anon_vma_prepare(struct vm_area_struct *);
134 void unlink_anon_vmas(struct vm_area_struct *);
135 int anon_vma_clone(struct vm_area_struct *, struct vm_area_struct *);
136 int anon_vma_fork(struct vm_area_struct *, struct vm_area_struct *);
138 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
139 struct vm_area_struct *next) in anon_vma_merge()
150 void page_move_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
151 void page_add_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
152 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.h245 void (*open)(struct vm_area_struct * area);
246 void (*close)(struct vm_area_struct * area);
247 int (*fault)(struct vm_area_struct *vma, struct vm_fault *vmf);
248 void (*map_pages)(struct vm_area_struct *vma, struct vm_fault *vmf);
252 int (*page_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf);
255 int (*pfn_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf);
260 int (*access)(struct vm_area_struct *vma, unsigned long addr,
266 const char *(*name)(struct vm_area_struct *vma);
276 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new);
288 struct mempolicy *(*get_policy)(struct vm_area_struct *vma,
[all …]
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()
Dhugetlb.h51 void reset_vma_resv_huge_pages(struct vm_area_struct *vma);
61 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *);
62 long follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *,
63 struct page **, struct vm_area_struct **,
65 void unmap_hugepage_range(struct vm_area_struct *,
68 struct vm_area_struct *vma,
71 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma,
78 int hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma,
81 struct vm_area_struct *vma,
111 unsigned long hugetlb_change_protection(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;
111 extern int uprobe_mmap(struct vm_area_struct *vma);
112 extern void uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end);
154 static inline int uprobe_mmap(struct vm_area_struct *vma) in uprobe_mmap()
159 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()
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()
Dmmdebug.h7 struct vm_area_struct;
13 void dump_vma(const struct vm_area_struct *vma);
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,
Dmm_types.h247 struct vm_area_struct { struct
255 struct vm_area_struct *vm_next, *vm_prev; argument
342 struct vm_area_struct *mmap; /* list of VMAs */
Ddma-buf.h105 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma);
230 int dma_buf_mmap(struct dma_buf *, struct vm_area_struct *,
Dvfio.h43 int (*mmap)(void *device_data, struct vm_area_struct *vma);
70 int (*mmap)(void *iommu_data, struct vm_area_struct *vma);
Dswap.h316 struct vm_area_struct *vma);
401 struct vm_area_struct *vma, unsigned long addr);
403 struct vm_area_struct *vma, unsigned long addr);
487 struct vm_area_struct *vma, unsigned long addr) in swapin_readahead()
/linux-4.1.27/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);
136 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()
Dpci.h111 struct vm_area_struct;
113 int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma,
124 struct vm_area_struct *vma,
Dpgtable-ppc64.h444 extern void update_mmu_cache_pmd(struct vm_area_struct *vma, unsigned long addr,
540 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
562 extern int pmdp_test_and_clear_young(struct vm_area_struct *vma,
565 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
573 extern pmd_t pmdp_clear_flush(struct vm_area_struct *vma, unsigned long address,
588 extern void pmdp_splitting_flush(struct vm_area_struct *vma,
598 extern void pmdp_invalidate(struct vm_area_struct *vma, unsigned long address,
/linux-4.1.27/mm/
Dmmap.c61 struct vm_area_struct *vma, struct vm_area_struct *prev,
98 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()
271 struct vm_area_struct *next = vma->vm_next; in remove_vma()
355 static long vma_compute_subtree_gap(struct vm_area_struct *vma) in vma_compute_subtree_gap()
363 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap()
369 struct vm_area_struct, vm_rb)->rb_subtree_gap; in vma_compute_subtree_gap()
384 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 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()
46 struct vm_area_struct **prev, in madvise_behavior()
142 struct vm_area_struct *vma = walk->private; in swapin_walk_pmd_entry()
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()
219 struct vm_area_struct **prev, in madvise_willneed()
276 static long madvise_dontneed(struct vm_area_struct *vma, in madvise_dontneed()
277 struct vm_area_struct **prev, in madvise_dontneed()
292 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.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()
252 int anon_vma_clone(struct vm_area_struct *dst, struct vm_area_struct *src) in anon_vma_clone()
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()
[all …]
Dnommu.c137 struct vm_area_struct *vma; in kobjsize()
154 struct vm_area_struct **vmas, int *nonblocking) in __get_user_pages()
156 struct vm_area_struct *vma; in __get_user_pages()
204 struct vm_area_struct **vmas) in get_user_pages()
261 int follow_pfn(struct vm_area_struct *vma, unsigned long address, in follow_pfn()
297 struct vm_area_struct *vma; in vmalloc_user()
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()
743 struct vm_area_struct *pvma, *prev; in add_vma_to_mm()
[all …]
Dinternal.h17 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
242 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma,
243 struct vm_area_struct *prev, struct rb_node *rb_parent);
246 extern long populate_vma_page_range(struct vm_area_struct *vma,
248 extern void munlock_vma_pages_range(struct vm_area_struct *vma,
250 static inline void munlock_vma_pages_all(struct vm_area_struct *vma) in munlock_vma_pages_all()
290 extern pmd_t maybe_pmd_mkwrite(pmd_t pmd, struct vm_area_struct *vma);
294 struct vm_area_struct *vma);
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()
90 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes()
162 unsigned long move_page_tables(struct vm_area_struct *vma, in move_page_tables()
163 unsigned long old_addr, struct vm_area_struct *new_vma, in move_page_tables()
235 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma()
240 struct vm_area_struct *new_vma; in move_vma()
341 static struct vm_area_struct *vma_to_resize(unsigned long addr, in vma_to_resize()
345 struct vm_area_struct *vma = find_vma(mm, addr); in vma_to_resize()
395 struct vm_area_struct *vma; in mremap_to()
[all …]
Dmemory.c528 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables()
532 struct vm_area_struct *next = vma->vm_next; 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()
[all …]
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()
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 …]
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.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()
419 struct vm_area_struct **vmas, int *nonblocking) in __get_user_pages()
423 struct vm_area_struct *vma = NULL; in __get_user_pages()
547 struct vm_area_struct *vma; in fixup_user_fault()
584 struct vm_area_struct **vmas, in __get_user_pages_locked()
[all …]
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 …]
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()
662 static int vma_replace_policy(struct vm_area_struct *vma, in vma_replace_policy()
698 struct vm_area_struct *next; in mbind_range()
699 struct vm_area_struct *prev; in mbind_range()
700 struct vm_area_struct *vma; in mbind_range()
[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()
659 struct vm_area_struct * vma, * prev = NULL; in do_mlockall()
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()
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()
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()
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()
[all …]
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_gem.h74 struct vm_area_struct *vma;
145 int exynos_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
148 int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
150 static inline int vma_is_io(struct vm_area_struct *vma) in vma_is_io()
156 struct vm_area_struct *exynos_gem_get_vma(struct vm_area_struct *vma);
159 void exynos_gem_put_vma(struct vm_area_struct *vma);
165 struct vm_area_struct *vma);
170 struct vm_area_struct *vma);
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()
383 struct vm_area_struct *vma_copy; 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()
/linux-4.1.27/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.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/include/asm-generic/
Dpgtable.h27 extern int ptep_set_access_flags(struct vm_area_struct *vma,
33 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
39 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()
79 int ptep_clear_flush_young(struct vm_area_struct *vma,
84 int pmdp_clear_flush_young(struct vm_area_struct *vma,
150 extern pte_t ptep_clear_flush(struct vm_area_struct *vma,
156 extern pmd_t pmdp_clear_flush(struct vm_area_struct *vma,
188 extern void pmdp_splitting_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.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()
38 struct vm_area_struct *vma_copy; in vb2_get_vma()
67 void vb2_put_vma(struct vm_area_struct *vma) in vb2_put_vma()
97 struct vm_area_struct **res_vma, dma_addr_t *res_pa) in vb2_get_contig_userptr()
100 struct vm_area_struct *vma; in vb2_get_contig_userptr()
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()
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.1.27/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.h52 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
73 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
Dfb.h8 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect()
/linux-4.1.27/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.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/include/xen/
Dxen-ops.h30 struct vm_area_struct;
49 int xen_remap_domain_mfn_array(struct vm_area_struct *vma,
68 int xen_remap_domain_mfn_range(struct vm_area_struct *vma,
73 int xen_unmap_domain_mfn_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.1.27/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.1.27/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.1.27/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.1.27/include/media/
Dvideobuf2-memops.h34 struct vm_area_struct **res_vma, dma_addr_t *res_pa);
36 struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma);
37 void vb2_put_vma(struct vm_area_struct *vma);
/linux-4.1.27/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;
448 extern void __update_tlb(struct vm_area_struct *vma, unsigned long address,
451 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
458 static inline void update_mmu_cache_pmd(struct vm_area_struct *vma, in update_mmu_cache_pmd()
469 extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsig…
471 static inline int io_remap_pfn_range(struct vm_area_struct *vma, in io_remap_pfn_range()
516 extern void pmdp_splitting_flush(struct vm_area_struct *vma,
Dhugetlb.h71 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
94 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.1.27/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.1.27/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,
28 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start,
30 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page);
Dcacheflush.h68 void flush_cache_range(struct vm_area_struct *vma,
70 void flush_cache_page(struct vm_area_struct *vma,
78 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);
/linux-4.1.27/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.h175 extern void copy_to_user_page(struct vm_area_struct *, struct page *,
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()
261 extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
262 extern void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn…
313 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
316 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.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/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/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()
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()
[all …]
/linux-4.1.27/arch/xtensa/include/asm/
Dcacheflush.h94 void flush_cache_range(struct vm_area_struct*, ulong, ulong);
96 void flush_cache_page(struct vm_area_struct*,
120 void local_flush_cache_range(struct vm_area_struct *vma,
122 void local_flush_cache_page(struct vm_area_struct *vma,
158 extern void copy_to_user_page(struct vm_area_struct*, struct page*,
160 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,
Dpage.h139 struct vm_area_struct;
157 unsigned long vaddr, struct vm_area_struct *vma);
/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()
Dcacheflush.h73 extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
82 static inline void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page()
99 extern void copy_to_user_page(struct vm_area_struct *, struct page *,
Dhugetlb.h39 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
57 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.1.27/arch/x86/um/
Dmem_32.c13 static struct vm_area_struct gate_vma;
30 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
48 struct vm_area_struct *vma = get_gate_vma(mm); in in_gate_area()
Dmem_64.c5 const char *arch_vma_name(struct vm_area_struct *vma) in arch_vma_name()
/linux-4.1.27/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.1.27/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_mfn_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()
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()
[all …]
Dxlate_mmu.c68 struct vm_area_struct *vma;
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()
/linux-4.1.27/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.c126 static struct vm_area_struct *
127 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()
190 struct vm_area_struct *next; in m_next()
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()
511 struct vm_area_struct *vma = walk->vma; in smaps_pmd_entry()
532 struct vm_area_struct *vma = walk->vma; in smaps_pte_range()
[all …]
/linux-4.1.27/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.h41 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
62 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/linux-4.1.27/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.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/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()
229 struct vm_area_struct *mpnt; in __flush_dcache_aliases()
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()
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.1.27/arch/nios2/mm/
Dcacheflush.c92 struct vm_area_struct *mpnt; in flush_aliases()
148 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/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.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()
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.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/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.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()
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.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/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.1.27/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.1.27/arch/unicore32/include/asm/
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()
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,
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.1.27/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.1.27/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.1.27/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.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/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.1.27/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.1.27/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.1.27/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.1.27/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.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/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/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.1.27/arch/microblaze/include/asm/
Dpci.h62 struct vm_area_struct;
64 int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma,
75 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.1.27/drivers/video/fbdev/
Dsbuslib.h16 struct vm_area_struct;
20 struct vm_area_struct *vma);
/linux-4.1.27/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.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/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()
369 struct vm_area_struct *ta_vma;
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/arch/x86/include/asm/
Dpgtable.h724 struct vm_area_struct;
727 extern int ptep_set_access_flags(struct vm_area_struct *vma,
732 extern int ptep_test_and_clear_young(struct vm_area_struct *vma,
736 extern int ptep_clear_flush_young(struct vm_area_struct *vma,
779 extern int pmdp_set_access_flags(struct vm_area_struct *vma,
784 extern int pmdp_test_and_clear_young(struct vm_area_struct *vma,
788 extern int pmdp_clear_flush_young(struct vm_area_struct *vma,
793 extern void pmdp_splitting_flush(struct vm_area_struct *vma,
852 static inline void update_mmu_cache(struct vm_area_struct *vma, in update_mmu_cache()
856 static inline void update_mmu_cache_pmd(struct vm_area_struct *vma, in update_mmu_cache_pmd()
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);
Dmpx.h77 void mpx_notify_unmap(struct mm_struct *mm, struct vm_area_struct *vma,
97 struct vm_area_struct *vma, in mpx_notify_unmap()
Dhugetlb.h53 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
75 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
Dmmu_context.h222 struct vm_area_struct *vma) in arch_bprm_mm_init()
227 static inline void arch_unmap(struct mm_struct *mm, struct vm_area_struct *vma, in arch_unmap()
/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/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.1.27/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()
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/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.1.27/arch/x86/kernel/
Dvsyscall_64.c276 static const char *gate_vma_name(struct vm_area_struct *vma) in gate_vma_name()
283 static struct vm_area_struct gate_vma = {
291 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
304 struct vm_area_struct *vma = get_gate_vma(mm); in in_gate_area()
/linux-4.1.27/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.c299 static struct vm_area_struct gate_vma = {
312 struct vm_area_struct *get_gate_vma(struct mm_struct *mm) in get_gate_vma()
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()
/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/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()
Dfb.h8 static inline void fb_pgprotect(struct file *file, struct vm_area_struct *vma, in fb_pgprotect()
/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/ia64/include/asm/
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.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()
Dpci.h75 extern int pci_mmap_page_range (struct pci_dev *dev, struct vm_area_struct *vma,
79 struct vm_area_struct *vma,
/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()
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.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()
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/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.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/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.1.27/drivers/gpu/drm/msm/
Dmsm_drv.h177 struct vm_area_struct *vma);
178 int msm_gem_mmap(struct file *filp, struct vm_area_struct *vma);
179 int msm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
195 int msm_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
/linux-4.1.27/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()
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()
/linux-4.1.27/arch/s390/include/asm/
Dhugetlb.h51 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
57 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
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/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/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/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()
648 struct vm_area_struct *vma, unsigned long vaddr) in install_breakpoint()
720 struct vm_area_struct *vma; in build_map_info()
803 struct vm_area_struct *vma; in register_for_each_vma()
968 struct vm_area_struct *vma; in unapply_uprobe()
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/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/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/staging/vme/devices/
Dvme_user.c139 static int vme_user_mmap(struct file *file, struct vm_area_struct *vma);
141 static void vme_user_vm_open(struct vm_area_struct *vma);
142 static void vme_user_vm_close(struct vm_area_struct *vma);
589 static void vme_user_vm_open(struct vm_area_struct *vma) in vme_user_vm_open()
596 static void vme_user_vm_close(struct vm_area_struct *vma) in vme_user_vm_close()
611 static int vme_user_master_mmap(unsigned int minor, struct vm_area_struct *vma) in vme_user_master_mmap()
642 static int vme_user_mmap(struct file *file, struct vm_area_struct *vma) in vme_user_mmap()
/linux-4.1.27/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 …]
/linux-4.1.27/arch/arm/mach-nspire/
Dclcd.h13 int nspire_clcd_mmap(struct clcd_fb *fb, struct vm_area_struct *vma);

1234