Symbol: cpu_context
arch/arm/include/asm/thread_info.h
68
struct cpu_context_save cpu_context; /* cpu context */
arch/arm/include/asm/thread_info.h
90
((unsigned long)(task_thread_info(tsk)->cpu_context.pc))
arch/arm/include/asm/thread_info.h
92
((unsigned long)(task_thread_info(tsk)->cpu_context.sp))
arch/arm/include/asm/thread_info.h
96
((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
arch/arm/include/asm/thread_info.h
99
((unsigned long)(task_thread_info(tsk)->cpu_context.r7))
arch/arm/kernel/asm-offsets.c
52
DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context));
arch/arm/kernel/kgdb.c
100
gdb_regs[_PC] = ti->cpu_context.pc;
arch/arm/kernel/kgdb.c
91
gdb_regs[_R4] = ti->cpu_context.r4;
arch/arm/kernel/kgdb.c
92
gdb_regs[_R5] = ti->cpu_context.r5;
arch/arm/kernel/kgdb.c
93
gdb_regs[_R6] = ti->cpu_context.r6;
arch/arm/kernel/kgdb.c
94
gdb_regs[_R7] = ti->cpu_context.r7;
arch/arm/kernel/kgdb.c
95
gdb_regs[_R8] = ti->cpu_context.r8;
arch/arm/kernel/kgdb.c
96
gdb_regs[_R9] = ti->cpu_context.r9;
arch/arm/kernel/kgdb.c
97
gdb_regs[_R10] = ti->cpu_context.sl;
arch/arm/kernel/kgdb.c
98
gdb_regs[_FP] = ti->cpu_context.fp;
arch/arm/kernel/kgdb.c
99
gdb_regs[_SPT] = ti->cpu_context.sp;
arch/arm/kernel/process.c
243
memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save));
arch/arm/kernel/process.c
262
thread->cpu_context.r4 = (unsigned long)args->fn_arg;
arch/arm/kernel/process.c
263
thread->cpu_context.r5 = (unsigned long)args->fn;
arch/arm/kernel/process.c
266
thread->cpu_context.pc = (unsigned long)ret_from_fork;
arch/arm/kernel/process.c
267
thread->cpu_context.sp = (unsigned long)childregs;
arch/arm/kernel/xscale-cp0.c
39
thread->cpu_context.extra[0] = 0;
arch/arm/kernel/xscale-cp0.c
40
thread->cpu_context.extra[1] = 0;
arch/arm/kernel/xscale-cp0.c
44
dsp_save_state(current_thread_info()->cpu_context.extra);
arch/arm/kernel/xscale-cp0.c
45
dsp_load_state(thread->cpu_context.extra);
arch/arm64/include/asm/processor.h
153
struct cpu_context cpu_context; /* cpu context */
arch/arm64/include/asm/thread_info.h
52
((unsigned long)(tsk->thread.cpu_context.pc))
arch/arm64/include/asm/thread_info.h
54
((unsigned long)(tsk->thread.cpu_context.sp))
arch/arm64/include/asm/thread_info.h
56
((unsigned long)(tsk->thread.cpu_context.fp))
arch/arm64/kernel/asm-offsets.c
44
DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context));
arch/arm64/kernel/kgdb.c
131
struct cpu_context *cpu_context = &task->thread.cpu_context;
arch/arm64/kernel/kgdb.c
136
gdb_regs[19] = cpu_context->x19;
arch/arm64/kernel/kgdb.c
137
gdb_regs[20] = cpu_context->x20;
arch/arm64/kernel/kgdb.c
138
gdb_regs[21] = cpu_context->x21;
arch/arm64/kernel/kgdb.c
139
gdb_regs[22] = cpu_context->x22;
arch/arm64/kernel/kgdb.c
140
gdb_regs[23] = cpu_context->x23;
arch/arm64/kernel/kgdb.c
141
gdb_regs[24] = cpu_context->x24;
arch/arm64/kernel/kgdb.c
142
gdb_regs[25] = cpu_context->x25;
arch/arm64/kernel/kgdb.c
143
gdb_regs[26] = cpu_context->x26;
arch/arm64/kernel/kgdb.c
144
gdb_regs[27] = cpu_context->x27;
arch/arm64/kernel/kgdb.c
145
gdb_regs[28] = cpu_context->x28;
arch/arm64/kernel/kgdb.c
146
gdb_regs[29] = cpu_context->fp;
arch/arm64/kernel/kgdb.c
148
gdb_regs[31] = cpu_context->sp;
arch/arm64/kernel/kgdb.c
149
gdb_regs[32] = cpu_context->pc;
arch/arm64/kernel/process.c
421
memset(&p->thread.cpu_context, 0, sizeof(struct cpu_context));
arch/arm64/kernel/process.c
504
p->thread.cpu_context.x19 = (unsigned long)args->fn;
arch/arm64/kernel/process.c
505
p->thread.cpu_context.x20 = (unsigned long)args->fn_arg;
arch/arm64/kernel/process.c
510
p->thread.cpu_context.pc = (unsigned long)ret_from_fork;
arch/arm64/kernel/process.c
511
p->thread.cpu_context.sp = (unsigned long)childregs;
arch/arm64/kernel/process.c
516
p->thread.cpu_context.fp = (unsigned long)&childregs->stackframe;
arch/loongarch/include/asm/mmu_context.h
165
cpu_context(cpu, mm) = 0;
arch/loongarch/include/asm/mmu_context.h
36
#define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & cpu_asid_mask(&cpu_data[cpu]))
arch/loongarch/include/asm/mmu_context.h
40
if ((cpu_context(cpu, mm) ^ asid_cache(cpu)) & asid_version_mask(cpu))
arch/loongarch/include/asm/mmu_context.h
59
cpu_context(cpu, mm) = asid_cache(cpu) = asid;
arch/loongarch/include/asm/mmu_context.h
72
cpu_context(i, mm) = 0;
arch/loongarch/kernel/smp.c
754
if (cpu != smp_processor_id() && cpu_context(cpu, mm))
arch/loongarch/kernel/smp.c
755
cpu_context(cpu, mm) = 0;
arch/loongarch/kernel/smp.c
793
if (cpu != smp_processor_id() && cpu_context(cpu, mm))
arch/loongarch/kernel/smp.c
794
cpu_context(cpu, mm) = 0;
arch/loongarch/kernel/smp.c
839
if (cpu != smp_processor_id() && cpu_context(cpu, vma->vm_mm))
arch/loongarch/kernel/smp.c
840
cpu_context(cpu, vma->vm_mm) = 0;
arch/microblaze/include/asm/thread_info.h
66
struct cpu_context cpu_context;
arch/microblaze/kernel/asm-offsets.c
100
DEFINE(CC_R15, offsetof(struct cpu_context, r15));
arch/microblaze/kernel/asm-offsets.c
101
DEFINE(CC_R16, offsetof(struct cpu_context, r16));
arch/microblaze/kernel/asm-offsets.c
102
DEFINE(CC_R17, offsetof(struct cpu_context, r17));
arch/microblaze/kernel/asm-offsets.c
103
DEFINE(CC_R18, offsetof(struct cpu_context, r18));
arch/microblaze/kernel/asm-offsets.c
105
DEFINE(CC_R19, offsetof(struct cpu_context, r19));
arch/microblaze/kernel/asm-offsets.c
106
DEFINE(CC_R20, offsetof(struct cpu_context, r20));
arch/microblaze/kernel/asm-offsets.c
107
DEFINE(CC_R21, offsetof(struct cpu_context, r21));
arch/microblaze/kernel/asm-offsets.c
108
DEFINE(CC_R22, offsetof(struct cpu_context, r22));
arch/microblaze/kernel/asm-offsets.c
109
DEFINE(CC_R23, offsetof(struct cpu_context, r23));
arch/microblaze/kernel/asm-offsets.c
110
DEFINE(CC_R24, offsetof(struct cpu_context, r24));
arch/microblaze/kernel/asm-offsets.c
111
DEFINE(CC_R25, offsetof(struct cpu_context, r25));
arch/microblaze/kernel/asm-offsets.c
112
DEFINE(CC_R26, offsetof(struct cpu_context, r26));
arch/microblaze/kernel/asm-offsets.c
113
DEFINE(CC_R27, offsetof(struct cpu_context, r27));
arch/microblaze/kernel/asm-offsets.c
114
DEFINE(CC_R28, offsetof(struct cpu_context, r28));
arch/microblaze/kernel/asm-offsets.c
115
DEFINE(CC_R29, offsetof(struct cpu_context, r29));
arch/microblaze/kernel/asm-offsets.c
116
DEFINE(CC_R30, offsetof(struct cpu_context, r30));
arch/microblaze/kernel/asm-offsets.c
118
DEFINE(CC_MSR, offsetof(struct cpu_context, msr));
arch/microblaze/kernel/asm-offsets.c
119
DEFINE(CC_EAR, offsetof(struct cpu_context, ear));
arch/microblaze/kernel/asm-offsets.c
120
DEFINE(CC_ESR, offsetof(struct cpu_context, esr));
arch/microblaze/kernel/asm-offsets.c
121
DEFINE(CC_FSR, offsetof(struct cpu_context, fsr));
arch/microblaze/kernel/asm-offsets.c
90
DEFINE(TI_CPU_CONTEXT, offsetof(struct thread_info, cpu_context));
arch/microblaze/kernel/asm-offsets.c
95
DEFINE(CC_R1, offsetof(struct cpu_context, r1)); /* r1 */
arch/microblaze/kernel/asm-offsets.c
96
DEFINE(CC_R2, offsetof(struct cpu_context, r2));
arch/microblaze/kernel/asm-offsets.c
98
DEFINE(CC_R13, offsetof(struct cpu_context, r13));
arch/microblaze/kernel/asm-offsets.c
99
DEFINE(CC_R14, offsetof(struct cpu_context, r14));
arch/microblaze/kernel/process.c
101
ti->cpu_context.msr = (childregs->msr|MSR_VM);
arch/microblaze/kernel/process.c
102
ti->cpu_context.msr &= ~MSR_UMS; /* switch_to to kernel mode */
arch/microblaze/kernel/process.c
103
ti->cpu_context.msr &= ~MSR_IE;
arch/microblaze/kernel/process.c
104
ti->cpu_context.r15 = (unsigned long)ret_from_fork - 8;
arch/microblaze/kernel/process.c
67
memset(&ti->cpu_context, 0, sizeof(struct cpu_context));
arch/microblaze/kernel/process.c
68
ti->cpu_context.r1 = (unsigned long)childregs;
arch/microblaze/kernel/process.c
69
ti->cpu_context.r20 = (unsigned long)args->fn;
arch/microblaze/kernel/process.c
70
ti->cpu_context.r19 = (unsigned long)args->fn_arg;
arch/microblaze/kernel/process.c
73
ti->cpu_context.msr = childregs->msr & ~MSR_IE;
arch/microblaze/kernel/process.c
74
ti->cpu_context.r15 = (unsigned long)ret_from_kernel_thread - 8;
arch/microblaze/kernel/process.c
81
memset(&ti->cpu_context, 0, sizeof(struct cpu_context));
arch/microblaze/kernel/process.c
82
ti->cpu_context.r1 = (unsigned long)childregs;
arch/microblaze/kernel/traps.c
43
(task->stack))->cpu_context.r1;
arch/microblaze/kernel/unwind.c
284
const struct cpu_context *cpu_context =
arch/microblaze/kernel/unwind.c
285
&thread_info->cpu_context;
arch/microblaze/kernel/unwind.c
289
cpu_context->r1,
arch/microblaze/kernel/unwind.c
290
cpu_context->r15,
arch/mips/include/asm/mmu_context.h
125
(cpu_context((cpu), (mm)) & cpu_asid_mask(&cpu_data[cpu]))
arch/mips/include/asm/mmu_context.h
197
ctx = cpu_context(cpu, mm);
arch/mips/kernel/smp.c
579
if (cpu != smp_processor_id() && cpu_context(cpu, mm))
arch/mips/kernel/smp.c
643
if (cpu != smp_processor_id() && cpu_context(cpu, mm))
arch/mips/kernel/smp.c
709
if (cpu != smp_processor_id() && cpu_context(cpu, vma->vm_mm))
arch/mips/mm/c-r3k.c
246
cpu_context(smp_processor_id(), mm), addr);
arch/mips/mm/c-r3k.c
249
if (cpu_context(smp_processor_id(), mm) == 0)
arch/mips/mm/c-r4k.c
438
return cpu_context(0, mm) != 0;
arch/mips/mm/c-r4k.c
451
if (cpu_context(i, mm))
arch/mips/mm/context.c
129
mmid = cpu_context(0, mm);
arch/mips/mm/context.c
209
ctx = cpu_context(cpu, mm);
arch/mips/mm/context.c
216
ctx = cpu_context(cpu, mm);
arch/mips/mm/context.c
59
if (!asid_versions_eq(cpu, cpu_context(cpu, mm), asid_cache(cpu)))
arch/mips/mm/tlb-r3k.c
152
if (cpu_context(cpu, vma->vm_mm) != 0) {
arch/mips/mm/tlb-r3k.c
157
printk("[tlbpage<%lu,0x%08lx>]", cpu_context(cpu, vma->vm_mm), page);
arch/mips/mm/tlb-r3k.c
159
newpid = cpu_context(cpu, vma->vm_mm) & asid_mask;
arch/mips/mm/tlb-r3k.c
194
if ((pid != (cpu_context(cpu, vma->vm_mm) & asid_mask)) || (cpu_context(cpu, vma->vm_mm) == 0)) {
arch/mips/mm/tlb-r3k.c
196
(cpu_context(cpu, vma->vm_mm)), pid);
arch/mips/mm/tlb-r3k.c
74
if (cpu_context(cpu, mm) != 0) {
arch/mips/mm/tlb-r3k.c
79
cpu_context(cpu, mm) & asid_mask, start, end);
arch/mips/mm/tlb-r3k.c
85
int newpid = cpu_context(cpu, mm) & asid_mask;
arch/mips/mm/tlb-r4k.c
116
if (cpu_context(cpu, mm) != 0) {
arch/mips/mm/tlb-r4k.c
219
if (cpu_context(cpu, vma->vm_mm) != 0) {
arch/sh/include/asm/mmu_context.h
43
(cpu_context((cpu), (mm)) & MMU_CONTEXT_ASID_MASK)
arch/sh/include/asm/mmu_context.h
60
if (((cpu_context(cpu, mm) ^ asid) & MMU_CONTEXT_VERSION_MASK) == 0)
arch/sh/include/asm/mmu_context.h
80
cpu_context(cpu, mm) = asid_cache(cpu) = asid;
arch/sh/include/asm/mmu_context.h
94
cpu_context(i, mm) = NO_CONTEXT;
arch/sh/kernel/smp.c
372
cpu_context(i, mm) = 0;
arch/sh/kernel/smp.c
409
cpu_context(i, mm) = 0;
arch/sh/kernel/smp.c
452
cpu_context(i, vma->vm_mm) = 0;
arch/sh/mm/cache-sh4.c
202
if (cpu_context(smp_processor_id(), mm) == NO_CONTEXT)
arch/sh/mm/cache-sh4.c
231
if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT)
arch/sh/mm/cache-sh4.c
293
if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT)
arch/sh/mm/tlbflush_32.c
112
if (cpu_context(cpu, mm) != NO_CONTEXT) {
arch/sh/mm/tlbflush_32.c
116
cpu_context(cpu, mm) = NO_CONTEXT;
arch/sh/mm/tlbflush_32.c
19
if (vma->vm_mm && cpu_context(cpu, vma->vm_mm) != NO_CONTEXT) {
arch/sh/mm/tlbflush_32.c
45
if (cpu_context(cpu, mm) != NO_CONTEXT) {
arch/sh/mm/tlbflush_32.c
52
cpu_context(cpu, mm) = NO_CONTEXT;
drivers/hv/channel_mgmt.c
852
= per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/channel_mgmt.c
901
= per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/hv.c
182
hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/hv.c
193
hv_cpu = per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/hv.c
250
per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/hv.c
282
per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/hv.c
353
= per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/hv.c
38
hv_context.cpu_context = alloc_percpu(struct hv_per_cpu_context);
drivers/hv/hv.c
39
if (!hv_context.cpu_context)
drivers/hv/hv.c
410
per_cpu_ptr(hv_context.cpu_context, cpu);
drivers/hv/hv.c
534
struct hv_per_cpu_context *hv_cpu = this_cpu_ptr(hv_context.cpu_context);
drivers/hv/hv.c
69
aligned_msg = this_cpu_ptr(hv_context.cpu_context)->post_msg_page;
drivers/hv/hyperv_vmbus.h
171
struct hv_per_cpu_context __percpu *cpu_context;
drivers/hv/mshv_vtl.h
14
struct mshv_vtl_cpu_context cpu_context;
drivers/hv/mshv_vtl_main.c
303
per_cpu = this_cpu_ptr(hv_context.cpu_context);
drivers/hv/mshv_vtl_main.c
643
mshv_cpu = this_cpu_ptr(hv_context.cpu_context);
drivers/hv/mshv_vtl_main.c
682
mshv_vtl_return(&mshv_vtl_this_run()->cpu_context);
drivers/hv/mshv_vtl_main.c
875
struct hv_per_cpu_context *mshv_cpu = this_cpu_ptr(hv_context.cpu_context);
drivers/hv/vmbus_drv.c
1336
= this_cpu_ptr(hv_context.cpu_context);
drivers/hv/vmbus_drv.c
2714
hv_context.cpu_context, VMBUS_CONNECT_CPU);
drivers/hv/vmbus_drv.c
3043
= per_cpu_ptr(hv_context.cpu_context, cpu);