Home
last modified time | relevance | path

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

12345678910>>...23

/linux-2.6.39/drivers/gpu/drm/
Ddrm_vm.c45 static pgprot_t drm_io_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_io_prot()
70 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot()
91 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault()
164 static int drm_do_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_fault()
180 static int drm_do_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_shm_fault()
210 static void drm_vm_shm_close(struct vm_area_struct *vma) in drm_vm_shm_close()
292 static int drm_do_vm_dma_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_dma_fault()
326 static int drm_do_vm_sg_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_do_vm_sg_fault()
352 static int drm_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_vm_fault()
357 static int drm_vm_shm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in drm_vm_shm_fault()
[all …]
/linux-2.6.39/mm/
Dprio_tree.c28 #define RADIX_INDEX(vma) ((vma)->vm_pgoff) argument
29 #define VMA_SIZE(vma) (((vma)->vm_end - (vma)->vm_start) >> PAGE_SHIFT) argument
31 #define HEAP_INDEX(vma) ((vma)->vm_pgoff + (VMA_SIZE(vma) - 1)) argument
75 void vma_prio_tree_add(struct vm_area_struct *vma, struct vm_area_struct *old) in vma_prio_tree_add()
97 void vma_prio_tree_insert(struct vm_area_struct *vma, in vma_prio_tree_insert()
113 void vma_prio_tree_remove(struct vm_area_struct *vma, in vma_prio_tree_remove()
164 struct vm_area_struct *vma_prio_tree_next(struct vm_area_struct *vma, in vma_prio_tree_next()
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()
Dmmap.c195 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
215 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
230 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
318 struct vm_area_struct *vma; in browse_rb() local
365 struct vm_area_struct * vma; in find_vma_prepare() local
398 __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_list()
420 void __vma_link_rb(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_rb()
427 static void __vma_link_file(struct vm_area_struct *vma) in __vma_link_file()
450 __vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link()
458 static void vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in vma_link()
[all …]
Drmap.c129 int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
180 static void anon_vma_chain_link(struct vm_area_struct *vma, in anon_vma_chain_link()
223 int anon_vma_fork(struct vm_area_struct *vma, struct vm_area_struct *pvma) in anon_vma_fork()
291 void unlink_anon_vmas(struct vm_area_struct *vma) in unlink_anon_vmas()
373 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
392 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
477 int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma) in page_mapped_in_vma()
498 int page_referenced_one(struct page *page, struct vm_area_struct *vma, in page_referenced_one()
593 struct vm_area_struct *vma = avc->vma; in page_referenced_anon() local
634 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()
86 static void mincore_unmapped_range(struct vm_area_struct *vma, in mincore_unmapped_range()
105 static void mincore_pte_range(struct vm_area_struct *vma, pmd_t *pmd, in mincore_pte_range()
147 static void mincore_pmd_range(struct vm_area_struct *vma, pud_t *pud, in mincore_pmd_range()
172 static void mincore_pud_range(struct vm_area_struct *vma, pgd_t *pgd, in mincore_pud_range()
190 static void mincore_page_range(struct vm_area_struct *vma, in mincore_page_range()
215 struct vm_area_struct *vma; in do_mincore() local
Dmemory.c362 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables()
397 int __pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, in __pte_alloc()
479 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte()
602 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page()
658 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *vma, in copy_one_pte()
730 pmd_t *dst_pmd, pmd_t *src_pmd, struct vm_area_struct *vma, in copy_pte_range()
793 pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, in copy_pmd_range()
826 pgd_t *dst_pgd, pgd_t *src_pgd, struct vm_area_struct *vma, in copy_pud_range()
848 struct vm_area_struct *vma) in copy_page_range()
910 struct vm_area_struct *vma, pmd_t *pmd, in zap_pte_range()
[all …]
/linux-2.6.39/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-2.6.39/drivers/media/video/
Dvideobuf2-memops.c37 struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma) in vb2_get_vma()
67 void vb2_put_vma(struct vm_area_struct *vma) in vb2_put_vma()
100 struct vm_area_struct *vma; in vb2_get_contig_userptr() local
157 int vb2_mmap_pfn_range(struct vm_area_struct *vma, unsigned long paddr, in vb2_mmap_pfn_range()
194 static void vb2_common_vm_open(struct vm_area_struct *vma) in vb2_common_vm_open()
212 static void vb2_common_vm_close(struct vm_area_struct *vma) in vb2_common_vm_close()
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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()
141 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
146 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
151 static inline void flush_tlb_page_nohash(struct vm_area_struct *vma, in flush_tlb_page_nohash()
156 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-2.6.39/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
28 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/linux-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/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-2.6.39/drivers/xen/xenfs/
Dprivcmd.c150 struct vm_area_struct *vma; member
158 struct vm_area_struct *vma = st->vma; in mmap_mfn_range() local
188 struct vm_area_struct *vma; in privcmd_ioctl_mmap() local
242 struct vm_area_struct *vma; member
278 struct vm_area_struct *vma; in privcmd_ioctl_mmap_batch() local
363 static int privcmd_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in privcmd_fault()
376 static int privcmd_mmap(struct file *file, struct vm_area_struct *vma) in privcmd_mmap()
391 static int privcmd_enforce_singleshot_mapping(struct vm_area_struct *vma) in privcmd_enforce_singleshot_mapping()

12345678910>>...23