| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | userfaultfd_k.h | 57 struct vm_area_struct *dst_vma, 75 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx() 92 static inline bool uffd_disable_huge_pmd_share(struct vm_area_struct *vma) in uffd_disable_huge_pmd_share() 97 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing() 102 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp() 107 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor() 112 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp() 118 static inline bool userfaultfd_huge_pmd_wp(struct vm_area_struct *vma, in userfaultfd_huge_pmd_wp() 124 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed() 129 extern int dup_userfaultfd(struct vm_area_struct *, struct list_head *); [all …]
|
| H A D | huge_mm.h | 13 struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma); 17 struct vm_area_struct *vma); 28 struct page *follow_trans_huge_pmd(struct vm_area_struct *vma, 31 bool madvise_free_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, 33 int zap_huge_pmd(struct mmu_gather *tlb, struct vm_area_struct *vma, pmd_t *pmd, 35 int zap_huge_pud(struct mmu_gather *tlb, struct vm_area_struct *vma, pud_t *pud, 37 bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr, 39 int change_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, unsigned long addr, 121 static inline bool transhuge_vma_suitable(struct vm_area_struct *vma, in transhuge_vma_suitable() 136 static inline bool transhuge_vma_enabled(struct vm_area_struct *vma, in transhuge_vma_enabled() [all …]
|
| H A D | rmap.h | 82 struct vm_area_struct *vma; 152 int __anon_vma_prepare(struct vm_area_struct *); 153 void unlink_anon_vmas(struct vm_area_struct *); 154 int anon_vma_clone(struct vm_area_struct *, struct vm_area_struct *); 155 int anon_vma_fork(struct vm_area_struct *, struct vm_area_struct *); 157 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare() 165 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge() 166 struct vm_area_struct *next) in anon_vma_merge() 181 void page_move_anon_rmap(struct page *, struct vm_area_struct *); 182 void page_add_anon_rmap(struct page *, struct vm_area_struct *, [all …]
|
| H A D | hugetlb.h | 109 void reset_vma_resv_huge_pages(struct vm_area_struct *vma); 118 int copy_hugetlb_page_range(struct mm_struct *, struct mm_struct *, struct vm_area_struct *); 119 long follow_hugetlb_page(struct mm_struct *, struct vm_area_struct *, 120 struct page **, struct vm_area_struct **, 123 void unmap_hugepage_range(struct vm_area_struct *, 126 struct vm_area_struct *vma, 129 void __unmap_hugepage_range(struct mmu_gather *tlb, struct vm_area_struct *vma, 136 vm_fault_t hugetlb_fault(struct mm_struct *mm, struct vm_area_struct *vma, 140 struct vm_area_struct *dst_vma, 147 struct vm_area_struct *vma, [all …]
|
| H A D | mm.h | 249 struct vm_area_struct *vm_area_alloc(struct mm_struct *); 250 struct vm_area_struct *vm_area_dup(struct vm_area_struct *); 251 void vm_area_free(struct vm_area_struct *); 534 struct vm_area_struct *vma; /* Target VMA */ 592 void (*open)(struct vm_area_struct * area); 593 void (*close)(struct vm_area_struct * area); 594 int (*split)(struct vm_area_struct * area, unsigned long addr); 595 int (*mremap)(struct vm_area_struct * area); 601 unsigned long (*pagesize)(struct vm_area_struct * area); 613 int (*access)(struct vm_area_struct *vma, unsigned long addr, [all …]
|
| H A D | pgtable.h | 150 extern int ptep_set_access_flags(struct vm_area_struct *vma, 157 extern int pmdp_set_access_flags(struct vm_area_struct *vma, 160 extern int pudp_set_access_flags(struct vm_area_struct *vma, 164 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() 171 static inline int pudp_set_access_flags(struct vm_area_struct *vma, in pudp_set_access_flags() 182 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young() 198 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young() 211 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young() 222 int ptep_clear_flush_young(struct vm_area_struct *vma, 228 extern int pmdp_clear_flush_young(struct vm_area_struct *vma, [all …]
|
| H A D | mempolicy.h | 130 int vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst); 133 struct vm_area_struct *vma, 140 struct mempolicy *__get_vma_policy(struct vm_area_struct *vma, 142 bool vma_policy_mof(struct vm_area_struct *vma); 149 extern int huge_node(struct vm_area_struct *vma, 185 extern bool vma_migratable(struct vm_area_struct *vma); 187 extern int mpol_misplaced(struct page *, struct vm_area_struct *, unsigned long); 231 vma_dup_policy(struct vm_area_struct *src, struct vm_area_struct *dst) in vma_dup_policy() 253 static inline int huge_node(struct vm_area_struct *vma, in huge_node() 284 static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, in mpol_misplaced()
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | mmap.c | 81 struct vm_area_struct *vma, struct vm_area_struct *prev, 126 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot() 143 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct() 160 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma() 172 static void __free_vma(struct vm_area_struct *vma) in __free_vma() 181 void put_vma(struct vm_area_struct *vma) in put_vma() 187 static inline void put_vma(struct vm_area_struct *vma) in put_vma() 196 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma() 198 struct vm_area_struct *next = vma->vm_next; in remove_vma() 214 struct vm_area_struct *next; in SYSCALL_DEFINE1() [all …]
|
| H A D | interval_tree.c | 13 static inline unsigned long vma_start_pgoff(struct vm_area_struct *v) in vma_start_pgoff() 18 static inline unsigned long vma_last_pgoff(struct vm_area_struct *v) in vma_last_pgoff() 23 INTERVAL_TREE_DEFINE(struct vm_area_struct, shared.rb, 28 void vma_interval_tree_insert_after(struct vm_area_struct *node, in vma_interval_tree_insert_after() 29 struct vm_area_struct *prev, in vma_interval_tree_insert_after() 33 struct vm_area_struct *parent; in vma_interval_tree_insert_after() 43 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after() 48 struct vm_area_struct, shared.rb); in vma_interval_tree_insert_after()
|
| H A D | mremap.c | 70 static pud_t *alloc_new_pud(struct mm_struct *mm, struct vm_area_struct *vma, in alloc_new_pud() 84 static pmd_t *alloc_new_pmd(struct mm_struct *mm, struct vm_area_struct *vma, in alloc_new_pmd() 103 static void take_rmap_locks(struct vm_area_struct *vma) in take_rmap_locks() 111 static void drop_rmap_locks(struct vm_area_struct *vma) in drop_rmap_locks() 134 static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd, in move_ptes() 136 struct vm_area_struct *new_vma, pmd_t *new_pmd, in move_ptes() 214 static inline bool trylock_vma_ref_count(struct vm_area_struct *vma) in trylock_vma_ref_count() 226 static inline void unlock_vma_ref_count(struct vm_area_struct *vma) in unlock_vma_ref_count() 236 static inline bool trylock_vma_ref_count(struct vm_area_struct *vma) in trylock_vma_ref_count() 240 static inline void unlock_vma_ref_count(struct vm_area_struct *vma) in unlock_vma_ref_count() [all …]
|
| H A D | pgtable-generic.c | 64 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags() 78 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young() 90 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() 105 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags() 120 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young() 133 pmd_t pmdp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_huge_clear_flush() 146 pud_t pudp_huge_clear_flush(struct vm_area_struct *vma, unsigned long address, in pudp_huge_clear_flush() 194 pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, in pmdp_invalidate() 204 pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_collapse_flush()
|
| H A D | internal.h | 40 extern struct vm_area_struct *get_vma(struct mm_struct *mm, 42 extern void put_vma(struct vm_area_struct *vma); 59 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma, 62 static inline bool can_madv_lru_vma(struct vm_area_struct *vma) in can_madv_lru_vma() 68 struct vm_area_struct *vma, 351 void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, 352 struct vm_area_struct *prev); 353 void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma); 356 extern long populate_vma_page_range(struct vm_area_struct *vma, 358 extern void munlock_vma_pages_range(struct vm_area_struct *vma, [all …]
|
| /OK3568_Linux_fs/kernel/include/xen/ |
| H A D | xen-ops.h | 65 int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, 69 static inline int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, in xen_remap_pfn() 79 struct vm_area_struct; 82 int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, 88 int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, 95 static inline int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array() 105 static inline int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range() 112 int xen_remap_vma_range(struct vm_area_struct *vma, unsigned long addr, 132 static inline int xen_remap_domain_gfn_array(struct vm_area_struct *vma, in xen_remap_domain_gfn_array() 169 static inline int xen_remap_domain_mfn_array(struct vm_area_struct *vma, in xen_remap_domain_mfn_array() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/ |
| H A D | ump_osk_low_level_mem.c | 38 static void ump_vma_open(struct vm_area_struct *vma); 39 static void ump_vma_close(struct vm_area_struct *vma); 41 static int ump_cpu_page_fault_handler(struct vm_area_struct *vma, struct vm_fault *vmf); 43 static unsigned long ump_cpu_page_fault_handler(struct vm_area_struct *vma, unsigned long address); 61 static int ump_cpu_page_fault_handler(struct vm_area_struct *vma, struct vm_fault *vmf) in ump_cpu_page_fault_handler() 63 static unsigned long ump_cpu_page_fault_handler(struct vm_area_struct *vma, unsigned long address) in ump_cpu_page_fault_handler() 80 static void ump_vma_open(struct vm_area_struct *vma) in ump_vma_open() 93 static void ump_vma_close(struct vm_area_struct *vma) in ump_vma_close() 128 struct vm_area_struct *vma; in _ump_osk_mem_mapregion_init() 138 vma = (struct vm_area_struct *)descriptor->process_mapping_info; in _ump_osk_mem_mapregion_init() [all …]
|
| /OK3568_Linux_fs/kernel/arch/nds32/include/asm/ |
| H A D | cacheflush.h | 14 void flush_icache_page(struct vm_area_struct *vma, struct page *page); 20 void flush_cache_range(struct vm_area_struct *vma, 22 void flush_cache_page(struct vm_area_struct *vma, 30 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, 32 void copy_from_user_page(struct vm_area_struct *vma, struct page *page, 36 void flush_anon_page(struct vm_area_struct *vma, 47 void flush_icache_user_page(struct vm_area_struct *vma, struct page *page,
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | pagefault.h | 15 struct vm_area_struct *vma, unsigned long address), 41 struct vm_area_struct *vma, unsigned long address), 49 struct vm_area_struct *vma, unsigned long address), 57 struct vm_area_struct *vma, unsigned long address), 65 struct vm_area_struct *vma, unsigned long address), 73 struct vm_area_struct *vma, unsigned long address), 81 struct vm_area_struct *vma, unsigned long address),
|
| /OK3568_Linux_fs/kernel/arch/arc/include/asm/ |
| H A D | tlbflush.h | 13 void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long page); 15 void local_flush_tlb_range(struct vm_area_struct *vma, 18 void local_flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, 32 extern void flush_tlb_range(struct vm_area_struct *vma, unsigned long start, 34 extern void flush_tlb_page(struct vm_area_struct *vma, unsigned long page); 39 extern void flush_pmd_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end);
|
| /OK3568_Linux_fs/kernel/arch/sh/include/asm/ |
| H A D | cacheflush.h | 40 extern void flush_cache_page(struct vm_area_struct *vma, 42 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,
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A D | cachetlb_32.h | 6 struct vm_area_struct; 11 void (*cache_range)(struct vm_area_struct *, unsigned long, 13 void (*cache_page)(struct vm_area_struct *, unsigned long); 17 void (*tlb_range)(struct vm_area_struct *, unsigned long, 19 void (*tlb_page)(struct vm_area_struct *, unsigned long);
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/book3s/64/ |
| H A D | hugetlb.h | 9 void radix__flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 10 void radix__local_flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 16 extern void radix__huge_ptep_modify_prot_commit(struct vm_area_struct *vma, 57 extern pte_t huge_ptep_modify_prot_start(struct vm_area_struct *vma, 61 extern void huge_ptep_modify_prot_commit(struct vm_area_struct *vma, 87 static inline void flush_hugetlb_page(struct vm_area_struct *vma, in flush_hugetlb_page() 107 void flush_hugetlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
|
| H A D | tlbflush-radix.h | 7 struct vm_area_struct; 59 extern void radix__flush_hugetlb_tlb_range(struct vm_area_struct *vma, 63 extern void radix__flush_pmd_tlb_range(struct vm_area_struct *vma, 65 extern void radix__flush_tlb_range(struct vm_area_struct *vma, unsigned long start, 71 extern void radix__local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr); 78 extern void radix__flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
|
| /OK3568_Linux_fs/kernel/arch/alpha/include/asm/ |
| H A D | tlbflush.h | 39 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,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_vm.c | 61 struct vm_area_struct *vma; 65 static void drm_vm_open(struct vm_area_struct *vma); 66 static void drm_vm_close(struct vm_area_struct *vma); 69 struct vm_area_struct *vma) in drm_io_prot() 94 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot() 117 struct vm_area_struct *vma = vmf->vma; in drm_vm_fault() 206 struct vm_area_struct *vma = vmf->vma; in drm_vm_shm_fault() 235 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close() 306 struct vm_area_struct *vma = vmf->vma; in drm_vm_dma_fault() 341 struct vm_area_struct *vma = vmf->vma; in drm_vm_sg_fault() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | cacheflush.h | 50 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() 104 extern void copy_to_user_page(struct vm_area_struct *vma, 108 extern void copy_from_user_page(struct vm_area_struct *vma,
|
| /OK3568_Linux_fs/kernel/arch/nios2/include/asm/ |
| H A D | cacheflush.h | 26 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,
|