Home
last modified time | relevance | path

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

12345678910>>...25

/linux-3.3/drivers/gpu/drm/
Ddrm_vm.c46 static pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_io_prot()
71 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot()
92 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault()
165 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault()
181 static int drm_do_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_shm_fault()
211 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close()
293 static int drm_do_vm_dma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_dma_fault()
327 static int drm_do_vm_sg_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_sg_fault()
353 static int drm_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_vm_fault()
358 static int drm_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_vm_shm_fault()
[all …]
/linux-3.3/mm/
Dprio_tree.c29 #define RADIX_INDEX(vma) ((vma)->vm_pgoff) argument
30 #define VMA_SIZE(vma) (((vma)->vm_end - (vma)->vm_start) >> PAGE_SHIFT) argument
32 #define HEAP_INDEX(vma) ((vma)->vm_pgoff + (VMA_SIZE(vma) - 1)) argument
76 void vma_prio_tree_add(struct vm_area_struct *vma, struct vm_area_struct *old) in vma_prio_tree_add()
98 void vma_prio_tree_insert(struct vm_area_struct *vma, in vma_prio_tree_insert()
114 void vma_prio_tree_remove(struct vm_area_struct *vma, in vma_prio_tree_remove()
165 struct vm_area_struct *vma_prio_tree_next(struct vm_area_struct *vma, in vma_prio_tree_next()
Dmmap.c191 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
211 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
226 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
314 struct vm_area_struct *vma; in browse_rb() local
361 struct vm_area_struct * vma; in find_vma_prepare() local
393 void __vma_link_rb(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_rb()
400 static void __vma_link_file(struct vm_area_struct *vma) in __vma_link_file()
423 __vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link()
431 static void vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in vma_link()
458 static void __insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma) in __insert_vm_struct()
[all …]
Dpgtable-generic.c23 int ptep_set_access_flags(struct vm_area_struct *vma, in ptep_set_access_flags()
37 int pmdp_set_access_flags(struct vm_area_struct *vma, in pmdp_set_access_flags()
57 int ptep_clear_flush_young(struct vm_area_struct *vma, in ptep_clear_flush_young()
69 int pmdp_clear_flush_young(struct vm_area_struct *vma, in pmdp_clear_flush_young()
85 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush()
97 pmd_t pmdp_clear_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_clear_flush()
111 pmd_t pmdp_splitting_flush(struct vm_area_struct *vma, unsigned long address, in pmdp_splitting_flush()
Drmap.c150 int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
227 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link()
324 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork()
374 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas()
570 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
589 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
674 int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma) in page_mapped_in_vma()
695 int page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
790 struct vm_area_struct *vma = avc->vma; in page_referenced_anon() local
831 struct vm_area_struct *vma; in page_referenced_file() local
[all …]
Dmincore.c22 static void mincore_hugetlb_page_range(struct vm_area_struct *vma, in mincore_hugetlb_page_range()
89 static void mincore_unmapped_range(struct vm_area_struct *vma, in mincore_unmapped_range()
108 static void mincore_pte_range(struct vm_area_struct *vma, pmd_t *pmd, in mincore_pte_range()
150 static void mincore_pmd_range(struct vm_area_struct *vma, pud_t *pud, in mincore_pmd_range()
175 static void mincore_pud_range(struct vm_area_struct *vma, pgd_t *pgd, in mincore_pud_range()
193 static void mincore_page_range(struct vm_area_struct *vma, in mincore_page_range()
218 struct vm_area_struct *vma; in do_mincore() local
Dmemory.c560 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables()
595 int __pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, in __pte_alloc()
677 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte()
800 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page()
856 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *vma, in copy_one_pte()
937 pmd_t *dst_pmd, pmd_t *src_pmd, struct vm_area_struct *vma, in copy_pte_range()
1000 pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, in copy_pmd_range()
1033 pgd_t *dst_pgd, pgd_t *src_pgd, struct vm_area_struct *vma, in copy_pud_range()
1055 struct vm_area_struct *vma) in copy_page_range()
1117 struct vm_area_struct *vma, pmd_t *pmd, in zap_pte_range()
[all …]
/linux-3.3/arch/m32r/include/asm/
Dcacheflush.h13 #define flush_cache_range(vma, start, end) do { } while (0) argument
14 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
21 #define flush_icache_page(vma,pg) _flush_cache_copyback_all() argument
22 #define flush_icache_user_range(vma,pg,adr,len) _flush_cache_copyback_all() argument
27 #define flush_icache_page(vma,pg) smp_flush_cache_all() argument
28 #define flush_icache_user_range(vma,pg,adr,len) smp_flush_cache_all() argument
35 #define flush_cache_range(vma, start, end) do { } while (0) argument
36 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
42 #define flush_icache_page(vma,pg) _flush_cache_all() argument
43 #define flush_icache_user_range(vma,pg,adr,len) _flush_cache_all() argument
[all …]
Dtlbflush.h27 #define flush_tlb_page(vma, page) local_flush_tlb_page(vma, page) argument
28 #define flush_tlb_range(vma, start, end) \ argument
34 #define flush_tlb_page(vma, vmaddr) do { } while (0) argument
35 #define flush_tlb_range(vma, start, end) do { } while (0) argument
46 #define flush_tlb_page(vma, page) smp_flush_tlb_page(vma, page) argument
47 #define flush_tlb_range(vma, start, end) \ argument
/linux-3.3/drivers/media/video/
Dvideobuf2-memops.c36 struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma) in vb2_get_vma()
66 void vb2_put_vma(struct vm_area_struct *vma) in vb2_put_vma()
99 struct vm_area_struct *vma; in vb2_get_contig_userptr() local
148 int vb2_mmap_pfn_range(struct vm_area_struct *vma, unsigned long paddr, in vb2_mmap_pfn_range()
185 static void vb2_common_vm_open(struct vm_area_struct *vma) in vb2_common_vm_open()
203 static void vb2_common_vm_close(struct vm_area_struct *vma) in vb2_common_vm_close()
/linux-3.3/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-3.3/arch/sparc/include/asm/
Dcacheflush_32.h23 #define local_flush_cache_range(vma,start,end) BTFIXUP_CALL(local_flush_cache_range)(vma,start,end) argument
24 #define local_flush_cache_page(vma,addr) BTFIXUP_CALL(local_flush_cache_page)(vma,addr) argument
52 #define flush_cache_range(vma,start,end) BTFIXUP_CALL(flush_cache_range)(vma,start,end) argument
53 #define flush_cache_page(vma,addr,pfn) BTFIXUP_CALL(flush_cache_page)(vma,addr) argument
55 #define flush_icache_page(vma, pg) do { } while (0) argument
57 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
59 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
64 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dcacheflush_64.h16 #define flush_cache_range(vma, start, end) \ argument
18 #define flush_cache_page(vma, page, pfn) \ argument
43 #define flush_icache_page(vma, pg) do { } while(0) argument
44 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
50 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
57 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
Dtlbflush_32.h27 #define local_flush_tlb_range(vma,start,end) BTFIXUP_CALL(local_flush_tlb_range)(vma,start,end) argument
28 #define local_flush_tlb_page(vma,addr) BTFIXUP_CALL(local_flush_tlb_page)(vma,addr) argument
46 #define flush_tlb_range(vma,start,end) BTFIXUP_CALL(flush_tlb_range)(vma,start,end) in BTFIXUPDEF_CALL() argument
47 #define flush_tlb_page(vma,addr) BTFIXUP_CALL(flush_tlb_page)(vma,addr) in BTFIXUPDEF_CALL() argument
/linux-3.3/arch/ia64/include/asm/
Dcacheflush.h22 #define flush_cache_range(vma, start, end) do { } while (0) argument
23 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
24 #define flush_icache_page(vma,page) do { } while (0) argument
41 #define flush_icache_user_range(vma, page, user_addr, len) \ argument
47 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
51 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-3.3/arch/powerpc/include/asm/
Dtlbflush.h54 #define flush_tlb_page(vma,addr) local_flush_tlb_page(vma,addr) argument
57 #define flush_tlb_page_nohash(vma,addr) flush_tlb_page(vma,addr) argument
70 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
143 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
148 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
153 static inline void flush_tlb_page_nohash(struct vm_area_struct *vma, in flush_tlb_page_nohash()
158 static inline void flush_tlb_range(struct vm_area_struct *vma, in flush_tlb_range()
Dcacheflush.h22 #define flush_cache_range(vma, start, end) do { } while (0) argument
23 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
24 #define flush_icache_page(vma, page) do { } while (0) argument
59 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
64 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-3.3/include/asm-generic/
Dcacheflush.h14 #define flush_cache_range(vma, start, end) do { } while (0) argument
15 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
21 #define flush_icache_page(vma,pg) do { } while (0) argument
22 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
26 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
31 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-3.3/arch/cris/include/asm/
Dcacheflush.h13 #define flush_cache_range(vma, start, end) do { } while (0) argument
14 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
20 #define flush_icache_page(vma,pg) do { } while (0) argument
21 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
25 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
27 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-3.3/arch/xtensa/include/asm/
Dtlb.h21 # define tlb_start_vma(tlb,vma) do { } while (0) argument
22 # define tlb_end_vma(tlb,vma) do { } while (0) argument
26 # define tlb_start_vma(tlb, vma) \ argument
32 # define tlb_end_vma(tlb, vma) \ argument
/linux-3.3/arch/alpha/include/asm/
Dcacheflush.h10 #define flush_cache_range(vma, start, end) do { } while (0) argument
11 #define flush_cache_page(vma, vmaddr, pfn) do { } while (0) argument
50 flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
67 #define flush_icache_page(vma, page) \ argument
70 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
74 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-3.3/arch/m68k/include/asm/
Dcacheflush_no.h13 #define flush_cache_range(vma, start, end) do { } while (0) argument
14 #define flush_cache_page(vma, vmaddr) do { } while (0) argument
21 #define flush_icache_page(vma,pg) do { } while (0) argument
22 #define flush_icache_user_range(vma,pg,adr,len) do { } while (0) argument
26 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
28 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-3.3/arch/arm/include/asm/
Dcacheflush.h167 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
216 vivt_flush_cache_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) in vivt_flush_cache_range()
224 vivt_flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn) in vivt_flush_cache_page()
235 #define flush_cache_range(vma,start,end) \ argument
237 #define flush_cache_page(vma,addr,pfn) \ argument
252 #define flush_cache_user_range(vma,start,end) \ argument
294 static inline void flush_anon_page(struct vm_area_struct *vma, in flush_anon_page()
313 #define flush_icache_user_range(vma,page,addr,len) \ argument
320 #define flush_icache_page(vma,page) do { } while (0) argument
/linux-3.3/arch/unicore32/mm/
Dflush.c24 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range()
31 void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr, in flush_cache_page()
36 static void flush_ptrace_access(struct vm_area_struct *vma, struct page *page, in flush_ptrace_access()
54 void copy_to_user_page(struct vm_area_struct *vma, struct page *page, in copy_to_user_page()
/linux-3.3/drivers/xen/
Dprivcmd.c156 struct vm_area_struct *vma; member
164 struct vm_area_struct *vma = st->vma; in mmap_mfn_range() local
194 struct vm_area_struct *vma; in privcmd_ioctl_mmap() local
248 struct vm_area_struct *vma; member
284 struct vm_area_struct *vma; in privcmd_ioctl_mmap_batch() local
368 static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in privcmd_fault()
381 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_mmap()
396 static int privcmd_enforce_singleshot_mapping(struct vm_area_struct *vma) in privcmd_enforce_singleshot_mapping()

12345678910>>...25