Searched refs:old_ctx (Results 1 – 8 of 8) sorted by relevance
/arch/mips/mm/ |
D | tlb-r3k.c | 44 unsigned long old_ctx; in local_flush_tlb_from() local 46 old_ctx = read_c0_entryhi() & cpu_asid_mask(¤t_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()
|
D | tlb-r4k.c | 57 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()
|
D | init.c | 88 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/ |
D | signal_32.c | 907 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, ¤t->blocked) in COMPAT_SYSCALL_DEFINE3() 973 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in COMPAT_SYSCALL_DEFINE3()
|
D | signal_64.c | 635 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/ |
D | pci-alchemy.c | 77 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/ |
D | asm-prototypes.h | 89 long sys_swapcontext(struct ucontext __user *old_ctx,
|
/arch/sparc/mm/ |
D | init_64.c | 753 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()
|