Searched refs:cpu_context (Results 1 - 25 of 27) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/microblaze/kernel/
H A Dasm-offsets.c93 DEFINE(TI_CPU_CONTEXT, offsetof(struct thread_info, cpu_context));
97 /* struct cpu_context */
98 DEFINE(CC_R1, offsetof(struct cpu_context, r1)); /* r1 */
99 DEFINE(CC_R2, offsetof(struct cpu_context, r2));
101 DEFINE(CC_R13, offsetof(struct cpu_context, r13));
102 DEFINE(CC_R14, offsetof(struct cpu_context, r14));
103 DEFINE(CC_R15, offsetof(struct cpu_context, r15));
104 DEFINE(CC_R16, offsetof(struct cpu_context, r16));
105 DEFINE(CC_R17, offsetof(struct cpu_context, r17));
106 DEFINE(CC_R18, offsetof(struct cpu_context, r1
[all...]
H A Dprocess.c136 memset(&ti->cpu_context, 0, sizeof(struct cpu_context));
137 ti->cpu_context.r1 = (unsigned long)childregs;
138 ti->cpu_context.msr = (unsigned long)childregs->msr;
152 memset(&ti->cpu_context, 0, sizeof(struct cpu_context));
157 ti->cpu_context = *(struct cpu_context *)regs;
161 ti->cpu_context.r1 = (unsigned long)childregs - STATE_SAVE_ARG_SPACE;
179 ti->cpu_context
[all...]
H A Dunwind.c294 const struct cpu_context *cpu_context = local
295 &thread_info->cpu_context;
299 cpu_context->r1,
300 cpu_context->r15, trace);
H A Dtraps.c42 (task->stack))->cpu_context.r1;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/include/asm/
H A Dprocessor.h102 struct cpu_context { struct
118 struct cpu_context cpu_context; member in struct:thread_struct
124 .cpu_context = { \
153 #define thread_saved_pc(tsk) ((tsk)->thread.cpu_context.pc)
164 #define KSTK_EIP(tsk) ((tsk)->thread.cpu_context.pc)
165 #define KSTK_ESP(tsk) ((tsk)->thread.cpu_context.ksp)
H A Dsystem.h52 struct cpu_context;
55 struct cpu_context *,
56 struct cpu_context *);
59 last = __switch_to(prev, &prev->thread.cpu_context + 1, \
60 &next->thread.cpu_context); \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/kernel/
H A Dxscale-cp0.c40 thread->cpu_context.extra[0] = 0;
41 thread->cpu_context.extra[1] = 0;
45 dsp_save_state(current_thread_info()->cpu_context.extra);
46 dsp_load_state(thread->cpu_context.extra);
H A Dprocess.c344 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save));
345 thread->cpu_context.sp = (unsigned long)childregs;
346 thread->cpu_context.pc = (unsigned long)ret_from_fork;
H A Dasm-offsets.c49 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/include/asm/
H A Dmmu_context.h38 #define cpu_context(cpu, mm) ((mm)->context.id[cpu]) macro
41 (cpu_context((cpu), (mm)) & MMU_CONTEXT_ASID_MASK)
62 if (((cpu_context(cpu, mm) ^ asid) & MMU_CONTEXT_VERSION_MASK) == 0)
90 cpu_context(cpu, mm) = asid_cache(cpu) = asid;
103 cpu_context(i, mm) = NO_CONTEXT;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/mm/
H A Dtlbflush_32.c19 if (vma->vm_mm && cpu_context(cpu, vma->vm_mm) != NO_CONTEXT) {
45 if (cpu_context(cpu, mm) != NO_CONTEXT) {
52 cpu_context(cpu, mm) = NO_CONTEXT;
112 if (cpu_context(cpu, mm) != NO_CONTEXT) {
116 cpu_context(cpu, mm) = NO_CONTEXT;
H A Dcache-sh4.c191 if (cpu_context(smp_processor_id(), mm) == NO_CONTEXT)
222 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT)
285 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT)
H A Dtlbflush_64.c375 if (cpu_context(cpu, mm) == NO_CONTEXT)
419 if (cpu_context(cpu, mm) == NO_CONTEXT)
424 cpu_context(cpu, mm) = NO_CONTEXT;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/mm/
H A Dtlb-r3k.c71 if (cpu_context(cpu, mm) != 0) {
73 printk("[tlbmm<%lu>]", (unsigned long)cpu_context(cpu, mm));
85 if (cpu_context(cpu, mm) != 0) {
90 cpu_context(cpu, mm) & ASID_MASK, start, end);
96 int newpid = cpu_context(cpu, mm) & ASID_MASK;
162 if (!vma || cpu_context(cpu, vma->vm_mm) != 0) {
167 printk("[tlbpage<%lu,0x%08lx>]", cpu_context(cpu, vma->vm_mm), page);
169 newpid = cpu_context(cpu, vma->vm_mm) & ASID_MASK;
203 if ((pid != (cpu_context(cpu, vma->vm_mm) & ASID_MASK)) || (cpu_context(cp
[all...]
H A Dtlb-r8k.c59 if (cpu_context(cpu, mm) != 0)
71 if (!cpu_context(cpu, mm))
157 if (!cpu_context(cpu, vma->vm_mm))
H A Dc-tx39.c155 if (cpu_context(smp_processor_id(), mm) != 0)
164 if (!(cpu_context(smp_processor_id(), vma->vm_mm)))
183 if (cpu_context(smp_processor_id(), mm) == 0)
H A Dtlb-r4k.c108 if (cpu_context(cpu, mm) != 0) {
121 if (cpu_context(cpu, mm) != 0) {
207 if (cpu_context(cpu, vma->vm_mm) != 0) {
H A Dc-r3k.c250 cpu_context(smp_processor_id(), mm), addr);
253 if (cpu_context(smp_processor_id(), mm) == 0)
H A Dc-r4k.c375 if (cpu_context(i, mm))
380 return cpu_context(smp_processor_id(), mm);
514 if (cpu_context(cpu, mm) != 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/include/asm/
H A Dthread_info.h48 * __switch_to() assumes cpu_context follows immediately after cpu_domain.
58 struct cpu_context_save cpu_context; /* cpu context */ member in struct:thread_info
101 ((unsigned long)(task_thread_info(tsk)->cpu_context.pc))
103 ((unsigned long)(task_thread_info(tsk)->cpu_context.sp))
105 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/
H A Dmmu_context.h101 #define cpu_context(cpu, mm) ((mm)->context.asid[cpu]) macro
102 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK)
130 cpu_context(cpu, mm) = asid_cache(cpu) = asid;
149 cpu_context(i, mm) = 0;
170 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK)
307 cpu_context(cpu, mm) = 0;
315 cpu_context(i, mm) = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/microblaze/include/asm/
H A Dthread_info.h31 struct cpu_context { struct
76 struct cpu_context cpu_context; member in struct:thread_info
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/kernel/
H A Dsmp.c326 if (cpu_context(cpu, mm))
327 cpu_context(cpu, mm) = 0;
366 if (cpu_context(cpu, mm))
367 cpu_context(cpu, mm) = 0;
413 if (cpu_context(cpu, vma->vm_mm))
414 cpu_context(cpu, vma->vm_mm) = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/kernel/
H A Dprocess.c176 fp = tsk->thread.cpu_context.r7;
233 sp = tsk->thread.cpu_context.ksp;
352 p->thread.cpu_context.sr = MODE_SUPERVISOR | SR_GM;
353 p->thread.cpu_context.ksp = (unsigned long)childregs;
354 p->thread.cpu_context.pc = (unsigned long)ret_from_fork;
429 unsigned long fp = p->thread.cpu_context.r7;
442 unsigned long sp = p->thread.cpu_context.ksp + 16;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/
H A Dsmp.c383 cpu_context(i, mm) = 0;
420 cpu_context(i, mm) = 0;
463 cpu_context(i, vma->vm_mm) = 0;

Completed in 263 milliseconds

12