/linux-2.4.37.9/arch/mips64/mm/ |
D | tlb-andes.c | 111 if (cpu_context(smp_processor_id(), vma->vm_mm) != 0) { in local_flush_tlb_page() 116 printk("[tlbpage<%d,%08lx>]", vma->vm_mm->context, page); in local_flush_tlb_page() 118 newpid = (cpu_context(smp_processor_id(), vma->vm_mm) & in local_flush_tlb_page() 154 if (current->active_mm != vma->vm_mm) in __update_tlb() 159 if ((pid != cpu_asid(cpu, vma->vm_mm)) in __update_tlb() 160 || (cpu_context(cpu, vma->vm_mm) == 0)) { in __update_tlb() 163 __FUNCTION__, (int) cpu_asid(cpu, vma->vm_mm), pid); in __update_tlb() 169 pgdp = pgd_offset(vma->vm_mm, address); in __update_tlb()
|
D | tlb-r4k.c | 144 if (cpu_context(cpu, vma->vm_mm) != 0) { in local_flush_tlb_page() 149 printk("[tlbpage<%d,%08lx>]", vma->vm_mm->context, page); in local_flush_tlb_page() 151 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page() 220 if (current->active_mm != vma->vm_mm) in __update_tlb() 226 if ((pid != (cpu_asid(smp_processor_id(), vma->vm_mm))) || in __update_tlb() 227 (cpu_context(smp_processor_id(), vma->vm_mm) == 0)) { in __update_tlb() 230 vma->vm_mm) & ASID_MASK), pid); in __update_tlb() 237 pgdp = pgd_offset(vma->vm_mm, address); in __update_tlb()
|
D | tlb-sb1.c | 192 if (cpu_context(cpu, vma->vm_mm) != 0) { in local_flush_tlb_page() 194 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page() 264 if (current->active_mm != vma->vm_mm) in __update_tlb() 272 pgdp = pgd_offset(vma->vm_mm, address); in __update_tlb()
|
D | c-sb1.c | 203 if (cpu_context(cpu, vma->vm_mm) != 0) in local_sb1_flush_cache_page() 204 drop_mmu_context(vma->vm_mm, cpu); in local_sb1_flush_cache_page() 371 if (cpu_context(cpu, vma->vm_mm) != 0) { in local_sb1_flush_icache_page() 372 drop_mmu_context(vma->vm_mm, cpu); in local_sb1_flush_icache_page()
|
/linux-2.4.37.9/mm/ |
D | mprotect.c | 98 struct mm_struct * mm = vma->vm_mm; in mprotect_fixup_all() 133 spin_lock(&vma->vm_mm->page_table_lock); in mprotect_fixup_start() 136 spin_unlock(&vma->vm_mm->page_table_lock); in mprotect_fixup_start() 154 spin_lock(&vma->vm_mm->page_table_lock); in mprotect_fixup_start() 157 spin_unlock(&vma->vm_mm->page_table_lock); in mprotect_fixup_start() 183 spin_lock(&vma->vm_mm->page_table_lock); in mprotect_fixup_end() 186 spin_unlock(&vma->vm_mm->page_table_lock); in mprotect_fixup_end() 225 spin_lock(&vma->vm_mm->page_table_lock); in mprotect_fixup_middle() 231 spin_unlock(&vma->vm_mm->page_table_lock); in mprotect_fixup_middle() 326 spin_lock(&prev->vm_mm->page_table_lock); in sys_mprotect() [all …]
|
D | mlock.c | 17 spin_lock(&vma->vm_mm->page_table_lock); in mlock_fixup_all() 19 spin_unlock(&vma->vm_mm->page_table_lock); in mlock_fixup_all() 41 spin_lock(&vma->vm_mm->page_table_lock); in mlock_fixup_start() 44 spin_unlock(&vma->vm_mm->page_table_lock); in mlock_fixup_start() 67 spin_lock(&vma->vm_mm->page_table_lock); in mlock_fixup_end() 70 spin_unlock(&vma->vm_mm->page_table_lock); in mlock_fixup_end() 106 spin_lock(&vma->vm_mm->page_table_lock); in mlock_fixup_middle() 112 spin_unlock(&vma->vm_mm->page_table_lock); in mlock_fixup_middle() 143 vma->vm_mm->locked_vm -= pages; in mlock_fixup()
|
D | mremap.c | 133 struct mm_struct * mm = vma->vm_mm; in move_vma() 343 spin_lock(&vma->vm_mm->page_table_lock); in do_mremap() 345 spin_unlock(&vma->vm_mm->page_table_lock); in do_mremap()
|
/linux-2.4.37.9/arch/mips/mm/ |
D | tlb-r3k.c | 126 if (!vma || cpu_context(cpu, vma->vm_mm) != 0) { in local_flush_tlb_page() 131 printk("[tlbpage<%lu,0x%08lx>]", cpu_context(cpu, vma->vm_mm), page); in local_flush_tlb_page() 133 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page() 161 if (current->active_mm != vma->vm_mm) in __update_tlb() 167 if ((pid != cpu_asid(cpu, vma->vm_mm)) || (cpu_context(cpu, vma->vm_mm) == 0)) { in __update_tlb() 169 (cpu_context(cpu, vma->vm_mm)), pid); in __update_tlb()
|
D | tlb-r4k.c | 141 if (!vma || cpu_context(cpu, vma->vm_mm) != 0) { in local_flush_tlb_page() 146 printk("[tlbpage<%d,%08lx>]", cpu_context(cpu, vma->vm_mm), in local_flush_tlb_page() 149 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page() 221 if (current->active_mm != vma->vm_mm) in __update_tlb() 227 if ((pid != cpu_asid(cpu, vma->vm_mm)) || in __update_tlb() 228 (cpu_context(vma->vm_mm) == 0)) { in __update_tlb() 230 "tlbpid=%d\n", (int) (cpu_asid(cpu, vma->vm_mm)), pid); in __update_tlb() 237 pgdp = pgd_offset(vma->vm_mm, address); in __update_tlb() 281 pgdp = pgd_offset(vma->vm_mm, address);
|
D | tlb-sb1.c | 193 if (cpu_context(cpu, vma->vm_mm) != 0) { in local_flush_tlb_page() 195 newpid = cpu_asid(cpu, vma->vm_mm); in local_flush_tlb_page() 268 if (current->active_mm != vma->vm_mm) in __update_tlb() 276 pgdp = pgd_offset(vma->vm_mm, address); in __update_tlb()
|
D | c-sb1.c | 203 if (cpu_context(cpu, vma->vm_mm) != 0) in local_sb1_flush_cache_page() 204 drop_mmu_context(vma->vm_mm, cpu); in local_sb1_flush_cache_page() 371 if (cpu_context(cpu, vma->vm_mm) != 0) { in local_sb1_flush_icache_page() 372 drop_mmu_context(vma->vm_mm, cpu); in local_sb1_flush_icache_page()
|
D | c-r4k.c | 318 struct mm_struct *mm = vma->vm_mm; in r4k_flush_cache_page() 368 if (cpu_context(cpu, vma->vm_mm) != 0) in r4k_flush_cache_page() 369 drop_mmu_context(vma->vm_mm, cpu); in r4k_flush_cache_page() 465 if (cpu_context(cpu, vma->vm_mm) != 0) in r4k_flush_icache_page() 466 drop_mmu_context(vma->vm_mm, cpu); in r4k_flush_icache_page()
|
/linux-2.4.37.9/include/linux/ |
D | mm.h | 45 struct mm_struct * vm_mm; /* The address space we belong to. */ member 661 spin_lock(&vma->vm_mm->page_table_lock); in expand_stack() 665 spin_unlock(&vma->vm_mm->page_table_lock); in expand_stack() 671 ((vma->vm_mm->total_vm + grow) << PAGE_SHIFT) > current->rlim[RLIMIT_AS].rlim_cur) { in expand_stack() 672 spin_unlock(&vma->vm_mm->page_table_lock); in expand_stack() 677 … ((vma->vm_mm->locked_vm + grow) << PAGE_SHIFT) > current->rlim[RLIMIT_MEMLOCK].rlim_cur) { in expand_stack() 678 spin_unlock(&vma->vm_mm->page_table_lock); in expand_stack() 685 vma->vm_mm->total_vm += grow; in expand_stack() 687 vma->vm_mm->locked_vm += grow; in expand_stack() 688 spin_unlock(&vma->vm_mm->page_table_lock); in expand_stack()
|
/linux-2.4.37.9/arch/sh/mm/ |
D | fault.c | 309 if (vma && current->active_mm != vma->vm_mm) in update_mmu_cache() 370 if (vma->vm_mm && vma->vm_mm->context != NO_CONTEXT) { in flush_tlb_page() 375 asid = vma->vm_mm->context & MMU_CONTEXT_ASID_MASK; in flush_tlb_page() 379 if (vma->vm_mm != current->mm) { in flush_tlb_page()
|
/linux-2.4.37.9/arch/arm/mm/ |
D | fault-armv.c | 140 pgd = pgd_offset(vma->vm_mm, address); in adjust_pte() 182 struct mm_struct *mm = vma->vm_mm; in make_coherent() 200 if (mpnt->vm_mm != mm || mpnt == vma) in make_coherent()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | smp.c | 273 if ((atomic_read(&vma->vm_mm->mm_users) != 1) || (current->mm != vma->vm_mm)) { in flush_tlb_page() 283 cpu_context(i, vma->vm_mm) = 0; in flush_tlb_page()
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | smp.c | 273 if ((atomic_read(&vma->vm_mm->mm_users) != 1) || (current->mm != vma->vm_mm)) { in flush_tlb_page() 283 cpu_context(i, vma->vm_mm) = 0; in flush_tlb_page()
|
/linux-2.4.37.9/arch/ia64/mm/ |
D | fault.c | 37 || (((vma->vm_mm->total_vm + grow) << PAGE_SHIFT) > current->rlim[RLIMIT_AS].rlim_cur)) in expand_backing_store() 40 vma->vm_mm->total_vm += grow; in expand_backing_store() 42 vma->vm_mm->locked_vm += grow; in expand_backing_store()
|
/linux-2.4.37.9/include/asm-ia64/ |
D | pgalloc.h | 209 flush_tlb_range(vma->vm_mm, (addr & PAGE_MASK), (addr & PAGE_MASK) + PAGE_SIZE); in flush_tlb_page() 211 if (vma->vm_mm == current->active_mm) in flush_tlb_page() 214 vma->vm_mm->context = 0; in flush_tlb_page()
|
/linux-2.4.37.9/include/asm-arm/proc-armv/ |
D | cache.h | 54 if ((_vma)->vm_mm == current->active_mm) { \ 228 if ((_vma)->vm_mm == current->active_mm) \
|
/linux-2.4.37.9/include/asm-parisc/ |
D | pgalloc.h | 96 if (!vma->vm_mm->context) { in flush_cache_page() 102 if (vma->vm_mm->context == sr3) { in flush_cache_page() 188 mtsp(vma->vm_mm->context,1); in flush_tlb_page()
|
/linux-2.4.37.9/arch/ia64/ia32/ |
D | binfmt_elf32.c | 87 vma->vm_mm = current->mm; in ia64_elf32_init() 113 vma->vm_mm = current->mm; in ia64_elf32_init() 190 mpnt->vm_mm = current->mm; in ia32_setup_arg_pages()
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | pgalloc.h | 21 flush_cache_mm((vma)->vm_mm) 78 do { struct mm_struct *__mm = (vma)->vm_mm; \ 99 smp_flush_tlb_page((vma)->vm_mm, page)
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | smp.c | 195 struct mm_struct *mm = vma->vm_mm; in smp_flush_cache_page() 206 struct mm_struct *mm = vma->vm_mm; in smp_flush_tlb_page()
|
/linux-2.4.37.9/include/asm-alpha/ |
D | pgalloc.h | 85 struct mm_struct *mm = vma->vm_mm; in flush_icache_user_range() 201 struct mm_struct * mm = vma->vm_mm; in flush_tlb_page()
|