Home
last modified time | relevance | path

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

12

/include/linux/
Duserfaultfd_k.h149 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
166 static inline bool uffd_disable_huge_pmd_share(struct vm_area_struct *vma) in uffd_disable_huge_pmd_share()
178 static inline bool uffd_disable_fault_around(struct vm_area_struct *vma) in uffd_disable_fault_around()
183 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
188 static inline bool userfaultfd_wp(struct vm_area_struct *vma) in userfaultfd_wp()
193 static inline bool userfaultfd_minor(struct vm_area_struct *vma) in userfaultfd_minor()
198 static inline bool userfaultfd_pte_wp(struct vm_area_struct *vma, in userfaultfd_pte_wp()
204 static inline bool userfaultfd_huge_pmd_wp(struct vm_area_struct *vma, in userfaultfd_huge_pmd_wp()
210 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
215 static inline bool vma_can_userfault(struct vm_area_struct *vma, in vma_can_userfault()
[all …]
Dpgsize_migration.h46 #define VMA_PAD_START(vma) (vma->vm_end - (vma_pad_pages(vma) << PAGE_SHIFT)) argument
76 static inline void vma_set_pad_pages(struct vm_area_struct *vma, in vma_set_pad_pages()
81 static inline unsigned long vma_pad_pages(struct vm_area_struct *vma) in vma_pad_pages()
86 static inline void madvise_vma_pad_pages(struct vm_area_struct *vma, in madvise_vma_pad_pages()
91 static inline struct vm_area_struct *get_pad_vma(struct vm_area_struct *vma) in get_pad_vma()
96 static inline struct vm_area_struct *get_data_vma(struct vm_area_struct *vma) in get_data_vma()
101 static inline void show_map_pad_vma(struct vm_area_struct *vma, in show_map_pad_vma()
107 static inline void split_pad_vma(struct vm_area_struct *vma, struct vm_area_struct *new, in split_pad_vma()
112 static inline unsigned long vma_pad_fixup_flags(struct vm_area_struct *vma, in vma_pad_fixup_flags()
118 static inline bool is_mergable_pad_vma(struct vm_area_struct *vma, in is_mergable_pad_vma()
[all …]
Dhuge_mm.h91 #define thp_vma_allowable_order(vma, vm_flags, tva_flags, order) \ argument
155 static inline bool thp_vma_suitable_order(struct vm_area_struct *vma, in thp_vma_suitable_order()
180 static inline unsigned long thp_vma_suitable_orders(struct vm_area_struct *vma, in thp_vma_suitable_orders()
203 static inline bool file_thp_enabled(struct vm_area_struct *vma) in file_thp_enabled()
238 unsigned long thp_vma_allowable_orders(struct vm_area_struct *vma, in thp_vma_allowable_orders()
349 struct vm_area_struct *vma) in pmd_trans_huge_lock()
357 struct vm_area_struct *vma) in pud_trans_huge_lock()
423 static inline bool thp_vma_suitable_order(struct vm_area_struct *vma, in thp_vma_suitable_order()
429 static inline unsigned long thp_vma_suitable_orders(struct vm_area_struct *vma, in thp_vma_suitable_orders()
435 static inline unsigned long thp_vma_allowable_orders(struct vm_area_struct *vma, in thp_vma_allowable_orders()
[all …]
Dhugetlb.h113 struct vm_area_struct *vma; member
254 static inline void hugetlb_zap_begin(struct vm_area_struct *vma, in hugetlb_zap_begin()
261 static inline void hugetlb_zap_end(struct vm_area_struct *vma, in hugetlb_zap_end()
287 static inline void hugetlb_dup_vma_private(struct vm_area_struct *vma) in hugetlb_dup_vma_private()
291 static inline void clear_vma_resv_huge_pages(struct vm_area_struct *vma) in clear_vma_resv_huge_pages()
307 struct vm_area_struct *vma, in huge_pmd_unshare()
314 struct vm_area_struct *vma, in adjust_range_if_pmd_sharing_possible()
320 struct vm_area_struct *vma, in hugetlb_zap_begin()
326 struct vm_area_struct *vma, in hugetlb_zap_end()
332 struct vm_area_struct *vma, unsigned long address, unsigned int flags, in hugetlb_follow_page_mask()
[all …]
Dpgtable.h290 static inline int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
297 static inline int pudp_set_access_flags(struct vm_area_struct *vma, in pudp_set_access_flags()
322 static inline int ptep_test_and_clear_young(struct vm_area_struct *vma, in ptep_test_and_clear_young()
338 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
351 static inline int pmdp_test_and_clear_young(struct vm_area_struct *vma, in pmdp_test_and_clear_young()
375 static inline int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
409 static inline void arch_check_zapped_pte(struct vm_area_struct *vma, in arch_check_zapped_pte()
416 static inline void arch_check_zapped_pmd(struct vm_area_struct *vma, in arch_check_zapped_pmd()
453 static inline void clear_young_dirty_ptes(struct vm_area_struct *vma, in clear_young_dirty_ptes()
598 static inline pmd_t pmdp_huge_get_and_clear_full(struct vm_area_struct *vma, in pmdp_huge_get_and_clear_full()
[all …]
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()
Dmm.h517 struct vm_area_struct *vma; /* Target VMA */ member
646 static inline void vma_numab_state_init(struct vm_area_struct *vma) in vma_numab_state_init()
650 static inline void vma_numab_state_free(struct vm_area_struct *vma) in vma_numab_state_free()
655 static inline void vma_numab_state_init(struct vm_area_struct *vma) {} in vma_numab_state_init()
656 static inline void vma_numab_state_free(struct vm_area_struct *vma) {} in vma_numab_state_free()
665 static inline bool vma_start_read(struct vm_area_struct *vma) in vma_start_read()
698 static inline void vma_end_read(struct vm_area_struct *vma) in vma_end_read()
706 static bool __is_vma_write_locked(struct vm_area_struct *vma, int *mm_lock_seq) in __is_vma_write_locked()
723 static inline void vma_start_write(struct vm_area_struct *vma) in vma_start_write()
741 static inline void vma_assert_write_locked(struct vm_area_struct *vma) in vma_assert_write_locked()
[all …]
Drmap.h86 struct vm_area_struct *vma; member
162 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
170 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
242 #define folio_add_anon_rmap_pte(folio, page, vma, address, flags) \ argument
250 #define folio_add_file_rmap_pte(folio, page, vma) \ argument
256 #define folio_remove_rmap_pte(folio, page, vma) \ argument
268 struct vm_area_struct *vma) in hugetlb_try_dup_anon_rmap()
460 #define folio_try_dup_anon_rmap_pte(folio, page, vma) \ argument
653 struct vm_area_struct *vma; member
747 #define anon_vma_prepare(vma) (0) argument
Dcacheflush.h21 static inline void flush_icache_pages(struct vm_area_struct *vma, in flush_icache_pages()
27 #define flush_icache_page(vma, page) flush_icache_pages(vma, page, 1) argument
Dksm.h107 static inline void ksm_add_vma(struct vm_area_struct *vma) in ksm_add_vma()
137 static inline int ksm_madvise(struct vm_area_struct *vma, unsigned long start, in ksm_madvise()
144 struct vm_area_struct *vma, unsigned long addr) in ksm_might_need_to_copy()
Dpkeys.h14 #define arch_override_mprotect_pkey(vma, prot, pkey) (0) argument
18 static inline int vma_pkey(struct vm_area_struct *vma) in vma_pkey()
Dmempolicy.h92 #define vma_policy(vma) ((vma)->vm_policy) argument
225 #define vma_policy(vma) NULL argument
250 static inline int huge_node(struct vm_area_struct *vma, in huge_node()
282 struct vm_area_struct *vma, in mpol_misplaced()
Dhighmem.h186 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vma… in flush_anon_page()
224 struct folio *vma_alloc_zeroed_movable_folio(struct vm_area_struct *vma, in vma_alloc_zeroed_movable_folio()
304 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
342 unsigned long vaddr, struct vm_area_struct *vma) in copy_mc_user_highpage()
375 unsigned long vaddr, struct vm_area_struct *vma) in copy_mc_user_highpage()
Dmm_inline.h433 static inline void free_anon_vma_name(struct vm_area_struct *vma) in free_anon_vma_name()
453 static inline struct anon_vma_name *anon_vma_name(struct vm_area_struct *vma) in anon_vma_name()
467 static inline void free_anon_vma_name(struct vm_area_struct *vma) {} in free_anon_vma_name()
595 pte_install_uffd_wp_if_needed(struct vm_area_struct *vma, unsigned long addr, in pte_install_uffd_wp_if_needed()
630 static inline bool vma_has_recency(struct vm_area_struct *vma) in vma_has_recency()
Dsecretmem.h36 static inline bool vma_is_secretmem(struct vm_area_struct *vma) in vma_is_secretmem()
Dmigrate.h149 struct vm_area_struct *vma, int node) in migrate_misplaced_folio()
186 struct vm_area_struct *vma; member
Dmmdebug.h34 #define VM_BUG_ON_VMA(cond, vma) \ argument
99 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
Ddax.h72 static inline bool daxdev_mapping_supported(struct vm_area_struct *vma, in daxdev_mapping_supported()
115 static inline bool daxdev_mapping_supported(struct vm_area_struct *vma, in daxdev_mapping_supported()
Dkhugepaged.h48 static inline void khugepaged_enter_vma(struct vm_area_struct *vma, in khugepaged_enter_vma()
/include/xen/
Dxen-ops.h51 static inline int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, in xen_remap_pfn()
77 static inline int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, in xen_xlate_remap_gfn_array()
87 static inline int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, in xen_xlate_unmap_gfn_range()
114 static inline int xen_remap_domain_gfn_array(struct vm_area_struct *vma, in xen_remap_domain_gfn_array()
150 static inline int xen_remap_domain_mfn_array(struct vm_area_struct *vma, in xen_remap_domain_mfn_array()
174 static inline int xen_remap_domain_gfn_range(struct vm_area_struct *vma, in xen_remap_domain_gfn_range()
/include/asm-generic/
Dcacheflush.h35 static inline void flush_cache_range(struct vm_area_struct *vma, in flush_cache_range()
43 static inline void flush_cache_page(struct vm_area_struct *vma, in flush_cache_page()
81 static inline void flush_icache_user_page(struct vm_area_struct *vma, in flush_icache_user_page()
107 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
117 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlb.h294 static inline void tlb_flush_rmaps(struct mmu_gather *tlb, struct vm_area_struct *vma) { } in tlb_flush_rmaps()
423 struct vm_area_struct vma = { in tlb_flush() local
437 tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_update_vma_flags()
539 static inline void tlb_start_vma(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_start_vma()
550 static inline void tlb_end_vma(struct mmu_gather *tlb, struct vm_area_struct *vma) in tlb_end_vma()
Dmm_hooks.h25 static inline bool arch_vma_access_permitted(struct vm_area_struct *vma, in arch_vma_access_permitted()
Dhugetlb.h94 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma, in huge_ptep_clear_flush()
138 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma, in huge_ptep_set_access_flags()
/include/media/
Dvideobuf-vmalloc.h26 struct vm_area_struct *vma; member

12