Home
last modified time | relevance | path

Searched refs:oldpid (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/arch/csky/mm/
Dtlb.c44 #define restore_asid_inv_utlb(oldpid, newpid) \ argument
46 if (oldpid == newpid) \
47 write_mmu_entryhi(oldpid + 1); \
48 write_mmu_entryhi(oldpid); \
75 unsigned long flags, oldpid; in flush_tlb_range() local
78 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_range()
89 restore_asid_inv_utlb(oldpid, newpid); in flush_tlb_range()
115 unsigned long flags, oldpid; in flush_tlb_kernel_range() local
118 oldpid = read_mmu_entryhi() & ASID_MASK; in flush_tlb_kernel_range()
122 write_mmu_entryhi(start | oldpid); in flush_tlb_kernel_range()
[all …]
/linux-6.1.9/arch/mips/mm/
Dtlb-r3k.c84 int oldpid = read_c0_entryhi() & asid_mask; in local_flush_tlb_range() local
103 write_c0_entryhi(oldpid); in local_flush_tlb_range()
154 int oldpid, newpid, idx; in local_flush_tlb_page() local
162 oldpid = read_c0_entryhi() & asid_mask; in local_flush_tlb_page()
174 write_c0_entryhi(oldpid); in local_flush_tlb_page()
Dtlb-r4k.c262 int oldpid, idx; in local_flush_tlb_one() local
265 oldpid = read_c0_entryhi(); in local_flush_tlb_one()
282 write_c0_entryhi(oldpid); in local_flush_tlb_one()
/linux-6.1.9/arch/csky/kernel/
Dptrace.c352 unsigned long oldpid; in show_iutlb() local
355 oldpid = read_mmu_entryhi(); in show_iutlb()
373 write_mmu_entryhi(oldpid); in show_iutlb()
387 unsigned long oldpid; in show_dutlb() local
390 oldpid = read_mmu_entryhi(); in show_dutlb()
408 write_mmu_entryhi(oldpid); in show_dutlb()
423 unsigned long oldpid; in show_jtlb() local
425 oldpid = read_mmu_entryhi(); in show_jtlb()
441 write_mmu_entryhi(oldpid); in show_jtlb()
/linux-6.1.9/arch/xtensa/mm/
Dtlb.c103 int oldpid = get_rasid_register(); in local_flush_tlb_range() local
119 set_rasid_register(oldpid); in local_flush_tlb_range()
131 int oldpid; in local_flush_tlb_page() local
138 oldpid = get_rasid_register(); in local_flush_tlb_page()
145 set_rasid_register(oldpid); in local_flush_tlb_page()
/linux-6.1.9/tools/testing/selftests/arm64/abi/
Dtpidr2.c98 pid_t newpid, waiting, oldpid; in write_fork_read() local
103 oldpid = getpid(); in write_fork_read()
107 if (get_tpidr2() != oldpid) { in write_fork_read()
/linux-6.1.9/virt/kvm/
Dkvm_main.c4068 struct pid *oldpid; in kvm_vcpu_ioctl() local
4072 oldpid = rcu_access_pointer(vcpu->pid); in kvm_vcpu_ioctl()
4073 if (unlikely(oldpid != task_pid(current))) { in kvm_vcpu_ioctl()
4083 if (oldpid) in kvm_vcpu_ioctl()
4085 put_pid(oldpid); in kvm_vcpu_ioctl()