Home
last modified time | relevance | path

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

123456

/linux-4.19.296/include/linux/
Duserfaultfd_k.h42 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
48 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
53 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
86 static inline bool is_mergeable_vm_userfaultfd_ctx(struct vm_area_struct *vma, in is_mergeable_vm_userfaultfd_ctx()
92 static inline bool userfaultfd_missing(struct vm_area_struct *vma) in userfaultfd_missing()
97 static inline bool userfaultfd_armed(struct vm_area_struct *vma) in userfaultfd_armed()
102 static inline int dup_userfaultfd(struct vm_area_struct *vma, in dup_userfaultfd()
112 static inline void mremap_userfaultfd_prep(struct vm_area_struct *vma, in mremap_userfaultfd_prep()
124 static inline bool userfaultfd_remove(struct vm_area_struct *vma, in userfaultfd_remove()
131 static inline int userfaultfd_unmap_prep(struct vm_area_struct *vma, in userfaultfd_unmap_prep()
Dhuge_mm.h98 static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma) in __transparent_hugepage_enabled()
195 struct vm_area_struct *vma) in pmd_trans_huge_lock()
204 struct vm_area_struct *vma) in pud_trans_huge_lock()
265 static inline bool __transparent_hugepage_enabled(struct vm_area_struct *vma) in __transparent_hugepage_enabled()
270 static inline bool transparent_hugepage_enabled(struct vm_area_struct *vma) in transparent_hugepage_enabled()
300 static inline void __split_huge_pmd(struct vm_area_struct *vma, pmd_t *pmd, in __split_huge_pmd()
302 static inline void split_huge_pmd_address(struct vm_area_struct *vma, in split_huge_pmd_address()
308 static inline int hugepage_madvise(struct vm_area_struct *vma, in hugepage_madvise()
314 static inline void vma_adjust_trans_huge(struct vm_area_struct *vma, in vma_adjust_trans_huge()
325 struct vm_area_struct *vma) in pmd_trans_huge_lock()
[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()
Dkhugepaged.h47 static inline int khugepaged_enter(struct vm_area_struct *vma, in khugepaged_enter()
67 static inline int khugepaged_enter(struct vm_area_struct *vma, in khugepaged_enter()
72 static inline int khugepaged_enter_vma_merge(struct vm_area_struct *vma, in khugepaged_enter_vma_merge()
Drmap.h81 struct vm_area_struct *vma; member
152 static inline int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
160 static inline void anon_vma_merge(struct vm_area_struct *vma, in anon_vma_merge()
211 struct vm_area_struct *vma; member
286 #define anon_vma_prepare(vma) (0) argument
287 #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.h69 static inline int ksm_madvise(struct vm_area_struct *vma, unsigned long start, in ksm_madvise()
76 struct vm_area_struct *vma, unsigned long address) in ksm_might_need_to_copy()
/linux-4.19.296/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()
413 struct vm_area_struct *vma, in arch_do_swap_page()
431 struct vm_area_struct *vma, in arch_unmap_one()
[all …]
/linux-4.19.296/drivers/misc/ocxl/
Dcontext.c89 static vm_fault_t map_afu_irq(struct vm_area_struct *vma, unsigned long address, in map_afu_irq()
101 static vm_fault_t map_pp_mmio(struct vm_area_struct *vma, unsigned long address, in map_pp_mmio()
131 struct vm_area_struct *vma = vmf->vma; in ocxl_mmap_fault() local
152 struct vm_area_struct *vma) in check_mmap_afu_irq()
176 struct vm_area_struct *vma) in check_mmap_mmio()
184 int ocxl_context_mmap(struct ocxl_context *ctx, struct vm_area_struct *vma) in ocxl_context_mmap()
/linux-4.19.296/fs/proc/
Dtask_mmu.c136 m_next_vma(struct proc_maps_private *priv, struct vm_area_struct *vma) in m_next_vma()
143 static void m_cache_vma(struct seq_file *m, struct vm_area_struct *vma) in m_cache_vma()
154 struct vm_area_struct *vma; in m_start() local
268 static int is_stack(struct vm_area_struct *vma) in is_stack()
300 show_map_vma(struct seq_file *m, struct vm_area_struct *vma) in show_map_vma()
503 struct vm_area_struct *vma = walk->vma; in smaps_pte_entry() local
555 struct vm_area_struct *vma = walk->vma; in smaps_pmd_entry() local
583 struct vm_area_struct *vma = walk->vma; in smaps_pte_range() local
611 static void show_smap_vma_flags(struct seq_file *m, struct vm_area_struct *vma) in show_smap_vma_flags()
690 struct vm_area_struct *vma = walk->vma; in smaps_hugetlb_range() local
[all …]
Dtask_nommu.c23 struct vm_area_struct *vma; in task_mem() local
85 struct vm_area_struct *vma; in task_vsize() local
102 struct vm_area_struct *vma; in task_statm() local
129 static int is_stack(struct vm_area_struct *vma) in is_stack()
145 static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma) in nommu_vma_show()
/linux-4.19.296/drivers/char/
Dmspec.c143 mspec_open(struct vm_area_struct *vma) in mspec_open()
158 mspec_close(struct vm_area_struct *vma) in mspec_close()
243 mspec_mmap(struct file *file, struct vm_area_struct *vma, in mspec_mmap()
283 fetchop_mmap(struct file *file, struct vm_area_struct *vma) in fetchop_mmap()
289 cached_mmap(struct file *file, struct vm_area_struct *vma) in cached_mmap()
295 uncached_mmap(struct file *file, struct vm_area_struct *vma) in uncached_mmap()
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_mmap.c27 struct vm_area_struct *vma; member
79 struct vm_area_struct *vma; in __scif_zap_mmaps() local
169 static int scif_insert_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_insert_vma()
188 static void scif_delete_vma(struct scif_endpt *ep, struct vm_area_struct *vma) in scif_delete_vma()
382 int nr_pages, struct vm_area_struct *vma) in scif_rma_list_mmap()
533 static void scif_vma_open(struct vm_area_struct *vma) in scif_vma_open()
551 static void scif_munmap(struct vm_area_struct *vma) in scif_munmap()
611 int scif_mmap(struct vm_area_struct *vma, scif_epd_t epd) in scif_mmap()
/linux-4.19.296/drivers/pci/
Dmmap.c23 struct vm_area_struct *vma, in pci_mmap_page_range()
44 struct vm_area_struct *vma, in pci_mmap_resource_range()
82 struct vm_area_struct *vma, in pci_mmap_resource_range()
/linux-4.19.296/drivers/xen/
Dprivcmd.c218 struct vm_area_struct *vma; member
226 struct vm_area_struct *vma = st->vma; in mmap_gfn_range() local
257 struct vm_area_struct *vma; in privcmd_ioctl_mmap() local
316 struct vm_area_struct *vma; member
340 struct vm_area_struct *vma = st->vma; in mmap_batch_fn() local
420 static int alloc_empty_pages(struct vm_area_struct *vma, int numpgs) in alloc_empty_pages()
451 struct vm_area_struct *vma; in privcmd_ioctl_mmap_batch() local
751 struct vm_area_struct *vma; in privcmd_ioctl_mmap_resource() local
932 static void privcmd_close(struct vm_area_struct *vma) in privcmd_close()
965 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_mmap()
[all …]
Dprivcmd-buf.c86 static void privcmd_buf_vma_open(struct vm_area_struct *vma) in privcmd_buf_vma_open()
98 static void privcmd_buf_vma_close(struct vm_area_struct *vma) in privcmd_buf_vma_close()
132 static int privcmd_buf_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_buf_mmap()
/linux-4.19.296/drivers/media/common/videobuf2/
Dvideobuf2-memops.c94 static void vb2_common_vm_open(struct vm_area_struct *vma) in vb2_common_vm_open()
112 static void vb2_common_vm_close(struct vm_area_struct *vma) in vb2_common_vm_close()
/linux-4.19.296/drivers/media/v4l2-core/
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() local
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.19.296/fs/nilfs2/
Dfile.c47 struct vm_area_struct *vma = vmf->vma; in nilfs_page_mkwrite() local
120 static int nilfs_file_mmap(struct file *file, struct vm_area_struct *vma) in nilfs_file_mmap()
/linux-4.19.296/drivers/misc/sgi-gru/
Dgrufault.c63 struct vm_area_struct *vma; in gru_find_vma() local
82 struct vm_area_struct *vma; in gru_find_lock_gts() local
99 struct vm_area_struct *vma; in gru_alloc_locked_gts() local
190 static int non_atomic_pte_lookup(struct vm_area_struct *vma, in non_atomic_pte_lookup()
218 static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr, in atomic_pte_lookup()
269 struct vm_area_struct *vma; in gru_vtop() local
/linux-4.19.296/fs/
Duserfaultfd.c230 struct vm_area_struct *vma, in userfaultfd_huge_must_wait()
262 struct vm_area_struct *vma, in userfaultfd_huge_must_wait()
639 struct vm_area_struct *vma; in userfaultfd_event_wait_completion() local
673 int dup_userfaultfd(struct vm_area_struct *vma, struct list_head *fcs) in dup_userfaultfd()
745 void mremap_userfaultfd_prep(struct vm_area_struct *vma, in mremap_userfaultfd_prep()
791 bool userfaultfd_remove(struct vm_area_struct *vma, in userfaultfd_remove()
830 int userfaultfd_unmap_prep(struct vm_area_struct *vma, in userfaultfd_unmap_prep()
880 struct vm_area_struct *vma, *prev; in userfaultfd_release() local
1290 static inline bool vma_can_userfault(struct vm_area_struct *vma) in vma_can_userfault()
1300 struct vm_area_struct *vma, *prev, *cur; in userfaultfd_register() local
[all …]

123456