Home
last modified time | relevance | path

Searched defs:vma (Results 1 – 25 of 33) sorted by relevance

12

/include/linux/
Duserfaultfd_k.h40 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
46 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
51 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
83 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
89 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
94 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
99 static inline int dup_userfaultfd(struct vm_area_struct *vma, in dup_userfaultfd()
109 static inline void mremap_userfaultfd_prep(struct vm_area_struct *vma, in mremap_userfaultfd_prep()
121 static inline bool userfaultfd_remove(struct vm_area_struct *vma, in userfaultfd_remove()
128 static inline int userfaultfd_unmap_prep(struct vm_area_struct *vma, in userfaultfd_unmap_prep()
Dhuge_mm.h95 static inline bool transparent_hugepage_enabled(struct vm_area_struct *vma) in transparent_hugepage_enabled()
190 struct vm_area_struct *vma) in pmd_trans_huge_lock()
199 struct vm_area_struct *vma) in pud_trans_huge_lock()
259 static inline bool transparent_hugepage_enabled(struct vm_area_struct *vma) in transparent_hugepage_enabled()
289 static inline void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd()
291 static inline void split_huge_pmd_address(struct vm_area_struct *vma, in split_huge_pmd_address()
297 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise()
303 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
314 struct vm_area_struct *vma) in pmd_trans_huge_lock()
319 struct vm_area_struct *vma) in pud_trans_huge_lock()
[all …]
Dkhugepaged.h46 static inline int khugepaged_enter(struct vm_area_struct *vma, in khugepaged_enter()
66 static inline int khugepaged_enter(struct vm_area_struct *vma, in khugepaged_enter()
71 static inline int khugepaged_enter_vma_merge(struct vm_area_struct *vma, in khugepaged_enter_vma_merge()
Dhugetlb_inline.h9 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page()
16 static inline bool is_vm_hugetlb_page(struct vm_area_struct *vma) in is_vm_hugetlb_page()
Drmap.h78 struct vm_area_struct *vma; member
148 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
156 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
207 struct vm_area_struct *vma; member
281 #define anon_vma_prepare(vma) (0) argument
282 #define anon_vma_link(vma) do {} while (0) argument
Dmempolicy.h95 #define vma_policy(vma) ((vma)->vm_policy) argument
176 static inline bool vma_migratable(struct vm_area_struct *vma) in vma_migratable()
246 #define vma_policy(vma) NULL argument
271 static inline int huge_node(struct vm_area_struct *vma, in huge_node()
302 static inline int mpol_misplaced(struct page *page, struct vm_area_struct *vma, in mpol_misplaced()
Dhighmem.h15 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page()
159 struct vm_area_struct *vma, in __alloc_zeroed_user_highpage()
181 alloc_zeroed_user_highpage_movable(struct vm_area_struct *vma, in alloc_zeroed_user_highpage_movable()
227 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
Dksm.h80 static inline int ksm_madvise(struct vm_area_struct *vma, unsigned long start, in ksm_madvise()
87 struct vm_area_struct *vma, unsigned long address) in ksm_might_need_to_copy()
Dgfp.h525 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
530 #define alloc_pages_vma(gfp_mask, order, vma, addr, node, false)\ argument
532 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
536 #define alloc_page_vma(gfp_mask, vma, addr) \ argument
538 #define alloc_page_vma_node(gfp_mask, vma, addr, node) \ argument
Dmigrate.h137 struct vm_area_struct *vma, int node) in migrate_misplaced_page()
151 struct vm_area_struct *vma, in migrate_misplaced_transhuge_page()
279 struct vm_area_struct *vma, in migrate_vma()
Dhugetlb.h163 static inline void reset_vma_resv_huge_pages(struct vm_area_struct *vma) in reset_vma_resv_huge_pages()
179 struct vm_area_struct *vma, in adjust_range_if_pmd_sharing_possible()
186 #define copy_hugetlb_page_range(src, dst, vma) ({ BUG(); 0; }) argument
194 #define follow_huge_pd(vma, addr, hpd, flags, pdshift) NULL argument
203 #define hugetlb_fault(mm, vma, addr, flags) ({ BUG(); 0; }) argument
214 static inline unsigned long hugetlb_change_protection(struct vm_area_struct *vma, in hugetlb_change_protection()
221 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range_final()
228 struct vm_area_struct *vma, unsigned long start, in __unmap_hugepage_range()
400 static inline struct hstate *hstate_vma(struct vm_area_struct *vma) in hstate_vma()
447 static inline pte_t arch_make_huge_pte(pte_t entry, struct vm_area_struct *vma, in arch_make_huge_pte()
Dmmdebug.h26 #define VM_BUG_ON_VMA(cond, vma) \ argument
47 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
Dmm.h318 struct vm_area_struct *vma; /* Target VMA */ member
666 static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma) in maybe_mkwrite()
1251 #define vm_normal_page(vma, addr, pte) _vm_normal_page(vma, addr, pte, false) argument
1302 struct vm_area_struct *vma; member
1346 static inline int handle_mm_fault(struct vm_area_struct *vma, in handle_mm_fault()
1463 static inline bool vma_is_anonymous(struct vm_area_struct *vma) in vma_is_anonymous()
1475 static inline bool vma_is_shmem(struct vm_area_struct *vma) { return false; } in vma_is_shmem()
2073 #define vma_interval_tree_foreach(vma, root, start, last) \ argument
2099 static inline int vma_adjust(struct vm_area_struct *vma, unsigned long start, in vma_adjust()
2275 #define expand_upwards(vma, address) (0) argument
[all …]
Dpkeys.h13 #define arch_override_mprotect_pkey(vma, prot, pkey) (0) argument
Duprobes.h172 static inline int uprobe_mmap(struct vm_area_struct *vma) in uprobe_mmap()
177 uprobe_munmap(struct vm_area_struct *vma, unsigned long start, unsigned long end) in uprobe_munmap()
Ddm-io.h45 void *vma; member
Dswapops.h172 static inline int device_private_entry_fault(struct vm_area_struct *vma, in device_private_entry_fault()
252 static inline void migration_entry_wait_huge(struct vm_area_struct *vma, in migration_entry_wait_huge()
Dioc3.h30 struct ioc3 __iomem *vma; /* pointer to registers */ member
Ddma-mapping.h176 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
189 static inline int dma_mmap_from_global_coherent(struct vm_area_struct *vma, in dma_mmap_from_global_coherent()
460 dma_mmap_attrs(struct device *dev, struct vm_area_struct *vma, void *cpu_addr, in dma_mmap_attrs()
793 struct vm_area_struct *vma, in dma_mmap_wc()
Dshmem_fs.h129 static inline bool shmem_huge_enabled(struct vm_area_struct *vma) in shmem_huge_enabled()
/include/asm-generic/
Dcacheflush.h15 #define flush_cache_range(vma, start, end) do { } while (0) argument
16 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
22 #define flush_icache_page(vma,pg) do { } while (0) argument
23 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
27 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
32 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dmm_hooks.h21 struct vm_area_struct *vma, in arch_unmap()
27 struct vm_area_struct *vma) in arch_bprm_mm_init()
31 static inline bool arch_vma_access_permitted(struct vm_area_struct *vma, in arch_vma_access_permitted()
Dpgtable.h44 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
51 static inline int pudp_set_access_flags(struct vm_area_struct *vma, in pudp_set_access_flags()
62 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
78 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
91 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
115 static inline int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
292 static inline pmd_t pmdp_collapse_flush(struct vm_area_struct *vma, in pmdp_collapse_flush()
318 static inline pmd_t generic_pmdp_establish(struct vm_area_struct *vma, in generic_pmdp_establish()
333 static inline void pmdp_huge_split_prepare(struct vm_area_struct *vma, in pmdp_huge_split_prepare()
424 #define flush_tlb_fix_spurious_fault(vma, address) flush_tlb_page(vma, address) argument
[all …]
Dtlb.h184 #define tlb_start_vma(tlb, vma) do { } while (0) argument
187 #define __tlb_end_vma(tlb, vma) \ argument
/include/media/
Dvideobuf-vmalloc.h29 struct vm_area_struct *vma; member

12