Home
last modified time | relevance | path

Searched refs:vm_area_struct (Results 1 – 25 of 240) sorted by relevance

12345678910

/linux-2.4.37.9/mm/
Dmmap.c100 static inline void __remove_shared_vm_struct(struct vm_area_struct *vma) in __remove_shared_vm_struct()
114 static inline void remove_shared_vm_struct(struct vm_area_struct *vma) in remove_shared_vm_struct()
121 void lock_vma_mappings(struct vm_area_struct *vma) in lock_vma_mappings()
132 void unlock_vma_mappings(struct vm_area_struct *vma) in unlock_vma_mappings()
232 struct vm_area_struct * tmp = mm->mmap; in validate_mm()
249 static struct vm_area_struct * find_vma_prepare(struct mm_struct * mm, unsigned long addr, in find_vma_prepare()
250 struct vm_area_struct ** pprev, in find_vma_prepare()
253 struct vm_area_struct * vma; in find_vma_prepare()
261 struct vm_area_struct *vma_tmp; in find_vma_prepare()
264 vma_tmp = rb_entry(__rb_parent, struct vm_area_struct, vm_rb); in find_vma_prepare()
[all …]
Dmprotect.c94 static inline int mprotect_fixup_all(struct vm_area_struct * vma, struct vm_area_struct ** pprev, in mprotect_fixup_all()
97 struct vm_area_struct * prev = *pprev; in mprotect_fixup_all()
123 static inline int mprotect_fixup_start(struct vm_area_struct * vma, struct vm_area_struct ** pprev, in mprotect_fixup_start()
127 struct vm_area_struct * n, * prev = *pprev; in mprotect_fixup_start()
163 static inline int mprotect_fixup_end(struct vm_area_struct * vma, struct vm_area_struct ** pprev, in mprotect_fixup_end()
167 struct vm_area_struct * n; in mprotect_fixup_end()
194 static inline int mprotect_fixup_middle(struct vm_area_struct * vma, struct vm_area_struct ** pprev, in mprotect_fixup_middle()
198 struct vm_area_struct * left, * right; in mprotect_fixup_middle()
239 static int mprotect_fixup(struct vm_area_struct * vma, struct vm_area_struct ** pprev, in mprotect_fixup()
270 struct vm_area_struct * vma, * next, * prev; in sys_mprotect()
Dmlock.c15 static inline int mlock_fixup_all(struct vm_area_struct * vma, int newflags) in mlock_fixup_all()
23 static inline int mlock_fixup_start(struct vm_area_struct * vma, in mlock_fixup_start()
26 struct vm_area_struct * n; in mlock_fixup_start()
49 static inline int mlock_fixup_end(struct vm_area_struct * vma, in mlock_fixup_end()
52 struct vm_area_struct * n; in mlock_fixup_end()
75 static inline int mlock_fixup_middle(struct vm_area_struct * vma, in mlock_fixup_middle()
78 struct vm_area_struct * left, * right; in mlock_fixup_middle()
117 static int mlock_fixup(struct vm_area_struct * vma, in mlock_fixup()
151 struct vm_area_struct * vma, * next; in do_mlock()
242 struct vm_area_struct * vma; in do_mlockall()
Dmemory.c177 struct vm_area_struct *vma) in copy_page_range()
455 int len, int write, int force, struct page **pages, struct vm_area_struct **vmas) in get_user_pages()
469 struct vm_area_struct * vma; in get_user_pages()
914 static inline void establish_pte(struct vm_area_struct * vma, unsigned long address, pte_t *page_ta… in establish_pte()
924 static inline void break_cow(struct vm_area_struct * vma, struct page * new_page, unsigned long add… in break_cow()
952 static int do_wp_page(struct mm_struct *mm, struct vm_area_struct * vma, in do_wp_page()
1011 static void vmtruncate_list(struct vm_area_struct *mpnt, unsigned long pgoff) in vmtruncate_list()
1123 struct vm_area_struct * vma, unsigned long address, in do_swap_page()
1195 static int do_anonymous_page(struct mm_struct * mm, struct vm_area_struct * vma, pte_t *page_table,… in do_anonymous_page()
1251 static int do_no_page(struct mm_struct * mm, struct vm_area_struct * vma, in do_no_page()
[all …]
/linux-2.4.37.9/include/linux/
Dmm.h44 struct vm_area_struct { struct
51 struct vm_area_struct *vm_next; argument
63 struct vm_area_struct *vm_next_share; argument
64 struct vm_area_struct **vm_pprev_share; argument
135 void (*open)(struct vm_area_struct * area);
136 void (*close)(struct vm_area_struct * area);
137 struct page * (*nopage)(struct vm_area_struct * area, unsigned long address, int unused);
486 struct page * shmem_nopage(struct vm_area_struct * vma, unsigned long address, int unused);
489 extern int shmem_zero_setup(struct vm_area_struct *);
492 extern int copy_page_range(struct mm_struct *dst, struct mm_struct *src, struct vm_area_struct *vma…
[all …]
/linux-2.4.37.9/drivers/char/drm-4.0/
Dvm.c60 unsigned long drm_vm_nopage(struct vm_area_struct *vma, in drm_vm_nopage()
65 struct page *drm_vm_nopage(struct vm_area_struct *vma, in drm_vm_nopage()
74 unsigned long drm_vm_shm_nopage(struct vm_area_struct *vma, in drm_vm_shm_nopage()
79 struct page *drm_vm_shm_nopage(struct vm_area_struct *vma, in drm_vm_shm_nopage()
108 unsigned long drm_vm_shm_nopage_lock(struct vm_area_struct *vma, in drm_vm_shm_nopage_lock()
113 struct page *drm_vm_shm_nopage_lock(struct vm_area_struct *vma, in drm_vm_shm_nopage_lock()
141 unsigned long drm_vm_dma_nopage(struct vm_area_struct *vma, in drm_vm_dma_nopage()
146 struct page *drm_vm_dma_nopage(struct vm_area_struct *vma, in drm_vm_dma_nopage()
175 void drm_vm_open(struct vm_area_struct *vma) in drm_vm_open()
205 void drm_vm_close(struct vm_area_struct *vma) in drm_vm_close()
[all …]
DdrmP.h323 struct vm_area_struct *vma;
631 extern unsigned long drm_vm_nopage(struct vm_area_struct *vma,
634 extern unsigned long drm_vm_shm_nopage(struct vm_area_struct *vma,
637 extern unsigned long drm_vm_shm_nopage_lock(struct vm_area_struct *vma,
640 extern unsigned long drm_vm_dma_nopage(struct vm_area_struct *vma,
645 extern struct page *drm_vm_nopage(struct vm_area_struct *vma,
648 extern struct page *drm_vm_shm_nopage(struct vm_area_struct *vma,
651 extern struct page *drm_vm_shm_nopage_lock(struct vm_area_struct *vma,
654 extern struct page *drm_vm_dma_nopage(struct vm_area_struct *vma,
658 extern void drm_vm_open(struct vm_area_struct *vma);
[all …]
/linux-2.4.37.9/arch/mips/mm/
Dc-sb1.c188 static void local_sb1_flush_cache_page(struct vm_area_struct *vma, in local_sb1_flush_cache_page()
209 struct vm_area_struct *vma;
221 static void sb1_flush_cache_page(struct vm_area_struct *vma, unsigned long addr) in sb1_flush_cache_page()
235 void sb1_flush_cache_page(struct vm_area_struct *vma, unsigned long addr)
353 static void local_sb1_flush_icache_page(struct vm_area_struct *vma, in local_sb1_flush_icache_page()
378 struct vm_area_struct *vma;
389 static void sb1_flush_icache_page(struct vm_area_struct *vma, in sb1_flush_icache_page()
402 void sb1_flush_icache_page(struct vm_area_struct *vma, struct page *page)
Dloadmmu.c31 void (*_flush_cache_page)(struct vm_area_struct *vma, unsigned long page);
33 void (*_flush_icache_page)(struct vm_area_struct *vma, struct page *page);
/linux-2.4.37.9/arch/mips64/mm/
Dc-sb1.c188 static void local_sb1_flush_cache_page(struct vm_area_struct *vma, in local_sb1_flush_cache_page()
209 struct vm_area_struct *vma;
221 static void sb1_flush_cache_page(struct vm_area_struct *vma, unsigned long addr) in sb1_flush_cache_page()
235 void sb1_flush_cache_page(struct vm_area_struct *vma, unsigned long addr)
353 static void local_sb1_flush_icache_page(struct vm_area_struct *vma, in local_sb1_flush_icache_page()
378 struct vm_area_struct *vma;
389 static void sb1_flush_icache_page(struct vm_area_struct *vma, in sb1_flush_icache_page()
402 void sb1_flush_icache_page(struct vm_area_struct *vma, struct page *page)
Dloadmmu.c31 void (*_flush_cache_page)(struct vm_area_struct *vma, unsigned long page);
33 void (*_flush_icache_page)(struct vm_area_struct *vma, struct page *page);
/linux-2.4.37.9/include/asm-s390/
Dpgalloc.h196 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
265 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
285 static inline int ptep_test_and_clear_and_flush_young(struct vm_area_struct *vma, in ptep_test_and_clear_and_flush_young()
292 static inline int ptep_test_and_clear_and_flush_dirty(struct vm_area_struct *vma, in ptep_test_and_clear_and_flush_dirty()
299 static inline pte_t ptep_invalidate(struct vm_area_struct *vma, in ptep_invalidate()
312 static inline void ptep_establish(struct vm_area_struct *vma, in ptep_establish()
/linux-2.4.37.9/arch/ia64/mm/
Dhugetlbpage.c88 set_huge_pte (struct mm_struct *mm, struct vm_area_struct *vma, in set_huge_pte()
134 void hugetlb_free_pgtables(struct mm_struct * mm, struct vm_area_struct *prev, in hugetlb_free_pgtables()
152 struct vm_area_struct *next = prev->vm_next; in hugetlb_free_pgtables()
183 struct vm_area_struct *vma) in copy_hugetlb_page_range()
208 follow_hugetlb_page(struct mm_struct *mm, struct vm_area_struct *vma, in follow_hugetlb_page()
209 struct page **pages, struct vm_area_struct **vmas, in follow_hugetlb_page()
264 void unmap_hugepage_range(struct vm_area_struct *vma, unsigned long start, unsigned long end) in unmap_hugepage_range()
286 void zap_hugepage_range(struct vm_area_struct *vma, unsigned long start, unsigned long length) in zap_hugepage_range()
294 int hugetlb_prefault(struct address_space *mapping, struct vm_area_struct *vma) in hugetlb_prefault()
345 struct vm_area_struct *vmm; in hugetlb_get_unmapped_area()
[all …]
/linux-2.4.37.9/include/asm-s390x/
Dpgalloc.h234 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
294 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
314 static inline int ptep_test_and_clear_and_flush_young(struct vm_area_struct *vma, in ptep_test_and_clear_and_flush_young()
321 static inline int ptep_test_and_clear_and_flush_dirty(struct vm_area_struct *vma, in ptep_test_and_clear_and_flush_dirty()
328 static inline pte_t ptep_invalidate(struct vm_area_struct *vma, in ptep_invalidate()
338 static inline void ptep_establish(struct vm_area_struct *vma, in ptep_establish()
/linux-2.4.37.9/include/asm-sparc/
Dpgalloc.h17 BTFIXUPDEF_CALL(void, local_flush_cache_page, struct vm_area_struct *, unsigned long)
27 BTFIXUPDEF_CALL(void, local_flush_tlb_page, struct vm_area_struct *, unsigned long)
45 extern void smp_flush_cache_page(struct vm_area_struct *vma, unsigned long page);
52 extern void smp_flush_tlb_page(struct vm_area_struct *mm, unsigned long page);
60 BTFIXUPDEF_CALL(void, flush_cache_page, struct vm_area_struct *, unsigned long) in BTFIXUPDEF_CALL()
71 BTFIXUPDEF_CALL(void, flush_tlb_page, struct vm_area_struct *, unsigned long)
/linux-2.4.37.9/include/asm-alpha/
Dpgalloc.h81 flush_icache_user_range(struct vm_area_struct *vma, struct page *page, in flush_icache_user_range()
93 extern void flush_icache_user_range(struct vm_area_struct *vma,
108 struct vm_area_struct *vma, in ev4_flush_tlb_current_page()
121 struct vm_area_struct *vma, in ev5_flush_tlb_current_page()
198 static inline void flush_tlb_page(struct vm_area_struct *vma, in flush_tlb_page()
223 extern void flush_tlb_page(struct vm_area_struct *, unsigned long);
Dmachvec.h20 struct vm_area_struct;
76 struct vm_area_struct *vma,
/linux-2.4.37.9/include/asm-mips/
Dcacheflush.h15 struct vm_area_struct;
38 extern void (*_flush_cache_page)(struct vm_area_struct *vma,
42 extern void (*_flush_icache_page)(struct vm_area_struct *vma,
/linux-2.4.37.9/include/asm-mips64/
Dcacheflush.h15 struct vm_area_struct;
38 extern void (*_flush_cache_page)(struct vm_area_struct *vma,
42 extern void (*_flush_icache_page)(struct vm_area_struct *vma,
/linux-2.4.37.9/drivers/char/drm/
Ddrm_vm.h58 struct page *DRM(vm_nopage)(struct vm_area_struct *vma, in DRM()
125 struct page *DRM(vm_shm_nopage)(struct vm_area_struct *vma, in DRM()
152 void DRM(vm_shm_close)(struct vm_area_struct *vma) in DRM()
224 struct page *DRM(vm_dma_nopage)(struct vm_area_struct *vma, in DRM()
250 struct page *DRM(vm_sg_nopage)(struct vm_area_struct *vma, in DRM()
277 void DRM(vm_open)(struct vm_area_struct *vma) in DRM()
298 void DRM(vm_close)(struct vm_area_struct *vma) in DRM()
323 int DRM(mmap_dma)(struct file *filp, struct vm_area_struct *vma) in DRM()
364 int DRM(mmap)(struct file *filp, struct vm_area_struct *vma) in DRM()
/linux-2.4.37.9/arch/arm/mm/
Dfault-armv.c134 static void adjust_pte(struct vm_area_struct *vma, unsigned long address) in adjust_pte()
179 make_coherent(struct vm_area_struct *vma, unsigned long addr, struct page *page) in make_coherent()
181 struct vm_area_struct *mpnt; in make_coherent()
236 void update_mmu_cache(struct vm_area_struct *vma, unsigned long addr, pte_t pte) in update_mmu_cache()
/linux-2.4.37.9/drivers/char/
Dfetchop.c74 static int fetchop_mmap(struct file *file, struct vm_area_struct *vma);
75 static void fetchop_open(struct vm_area_struct *vma);
76 static void fetchop_close(struct vm_area_struct *vma);
274 fetchop_mmap(struct file *file, struct vm_area_struct *vma) in fetchop_mmap()
332 fetchop_open(struct vm_area_struct *vma) in fetchop_open()
349 fetchop_close(struct vm_area_struct *vma) in fetchop_close()
/linux-2.4.37.9/arch/ia64/sn/io/drivers/
Dpciba.c193 static int rom_mmap(struct file * file, struct vm_area_struct * vma);
195 static int base_mmap(struct file * file, struct vm_area_struct * vma);
202 static int dma_mmap(struct file * file, struct vm_area_struct * vma);
205 static int mmap_pci_address(struct vm_area_struct * vma, unsigned long pci_va);
206 static int mmap_kernel_address(struct vm_area_struct * vma, void * kernel_va);
512 rom_mmap(struct file * file, struct vm_area_struct * vma) in rom_mmap()
570 base_mmap(struct file * file, struct vm_area_struct * vma) in base_mmap()
835 dma_mmap(struct file * file, struct vm_area_struct * vma) in dma_mmap()
884 mmap_pci_address(struct vm_area_struct * vma, unsigned long pci_va) in mmap_pci_address()
922 mmap_kernel_address(struct vm_area_struct * vma, void * kernel_va) in mmap_kernel_address()
/linux-2.4.37.9/include/asm-ppc/
Dpgtable.h32 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
47 static inline void local_flush_tlb_page(struct vm_area_struct *vma, in local_flush_tlb_page()
57 struct vm_area_struct;
60 extern void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr);
71 extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);
102 extern void flush_icache_user_range(struct vm_area_struct *vma,
107 extern void flush_icache_page(struct vm_area_struct *vma, struct page *page);
/linux-2.4.37.9/arch/ppc/mm/
Dtlb.c82 struct vm_area_struct *mp; in local_flush_tlb_mm()
94 local_flush_tlb_page(struct vm_area_struct *vma, unsigned long vmaddr) in local_flush_tlb_page()

12345678910