Home
last modified time | relevance | path

Searched refs:old_ctx (Results 1 – 8 of 8) sorted by relevance

/arch/mips/mm/
Dtlb-r3k.c44 unsigned long old_ctx; in local_flush_tlb_from() local
46 old_ctx = read_c0_entryhi() & cpu_asid_mask(&current_cpu_data); in local_flush_tlb_from()
54 write_c0_entryhi(old_ctx); in local_flush_tlb_from()
224 unsigned long old_ctx; in add_wired_entry() local
238 old_ctx = read_c0_entryhi() & asid_mask; in add_wired_entry()
249 write_c0_entryhi(old_ctx); in add_wired_entry()
261 old_ctx = read_c0_entryhi() & asid_mask; in add_wired_entry()
267 write_c0_entryhi(old_ctx); in add_wired_entry()
Dtlb-r4k.c57 unsigned long old_ctx; in local_flush_tlb_all() local
62 old_ctx = read_c0_entryhi(); in local_flush_tlb_all()
99 write_c0_entryhi(old_ctx); in local_flush_tlb_all()
389 unsigned long old_ctx; in add_wired_entry()
397 old_ctx = read_c0_entryhi(); in add_wired_entry()
412 write_c0_entryhi(old_ctx); in add_wired_entry()
460 unsigned long old_ctx; in add_temporary_entry() local
465 old_ctx = read_c0_entryhi(); in add_temporary_entry()
484 write_c0_entryhi(old_ctx); in add_temporary_entry()
Dinit.c88 unsigned long old_ctx; in __kmap_pgprot() local
109 old_ctx = read_c0_entryhi(); in __kmap_pgprot()
130 write_c0_entryhi(old_ctx); in __kmap_pgprot()
151 unsigned long flags, old_ctx; in kunmap_coherent() local
154 old_ctx = read_c0_entryhi(); in kunmap_coherent()
164 write_c0_entryhi(old_ctx); in kunmap_coherent()
/arch/powerpc/kernel/
Dsignal_32.c907 COMPAT_SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3() argument
910 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in COMPAT_SYSCALL_DEFINE3()
958 if (old_ctx != NULL) { in COMPAT_SYSCALL_DEFINE3()
969 ((unsigned long) &old_ctx->uc_mcontext & ~0xfUL); in COMPAT_SYSCALL_DEFINE3()
970 if (!access_ok(old_ctx, ctx_size) in COMPAT_SYSCALL_DEFINE3()
972 || put_sigset_t(&old_ctx->uc_sigmask, &current->blocked) in COMPAT_SYSCALL_DEFINE3()
973 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
Dsignal_64.c635 SYSCALL_DEFINE3(swapcontext, struct ucontext __user *, old_ctx, in SYSCALL_DEFINE3() argument
662 if (old_ctx != NULL) { in SYSCALL_DEFINE3()
663 if (!access_ok(old_ctx, ctx_size) in SYSCALL_DEFINE3()
664 || setup_sigcontext(&old_ctx->uc_mcontext, current, 0, NULL, 0, in SYSCALL_DEFINE3()
666 || __copy_to_user(&old_ctx->uc_sigmask, in SYSCALL_DEFINE3()
/arch/mips/pci/
Dpci-alchemy.c77 unsigned long old_ctx; in mod_wired_entry() local
80 old_ctx = read_c0_entryhi() & MIPS_ENTRYHI_ASID; in mod_wired_entry()
88 write_c0_entryhi(old_ctx); in mod_wired_entry()
/arch/powerpc/include/asm/
Dasm-prototypes.h89 long sys_swapcontext(struct ucontext __user *old_ctx,
/arch/sparc/mm/
Dinit_64.c753 unsigned long new_ver, new_ctx, old_ctx; in mmu_context_wrap() local
788 old_ctx = mm->context.sparc64_ctx_val; in mmu_context_wrap()
789 if (likely((old_ctx & CTX_VERSION_MASK) == old_ver)) { in mmu_context_wrap()
790 new_ctx = (old_ctx & ~CTX_VERSION_MASK) | new_ver; in mmu_context_wrap()