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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-avr32/
H A Dprocessor.h83 struct cpu_context { struct
99 struct cpu_context cpu_context; member in struct:thread_struct
105 .cpu_context = { \
134 #define thread_saved_pc(tsk) ((tsk)->thread.cpu_context.pc)
142 #define KSTK_EIP(tsk) ((tsk)->thread.cpu_context.pc)
143 #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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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.c341 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save));
342 thread->cpu_context.sp = (unsigned long)childregs;
343 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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/mm/
H A Dtlb-flush.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;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/mm/
H A Dtlb-r3k.c70 if (cpu_context(cpu, mm) != 0) {
72 printk("[tlbmm<%lu>]", (unsigned long)cpu_context(cpu, mm));
84 if (cpu_context(cpu, mm) != 0) {
90 cpu_context(cpu, mm) & ASID_MASK, start, end);
96 int newpid = cpu_context(cpu, mm) & ASID_MASK;
163 if (!vma || cpu_context(cpu, vma->vm_mm) != 0) {
168 printk("[tlbpage<%lu,0x%08lx>]", cpu_context(cpu, vma->vm_mm), page);
170 newpid = cpu_context(cpu, vma->vm_mm) & ASID_MASK;
204 if ((pid != (cpu_context(cpu, vma->vm_mm) & ASID_MASK)) || (cpu_context(cp
[all...]
H A Dtlb-r8k.c58 if (cpu_context(cpu, mm) != 0)
70 if (!cpu_context(cpu, mm))
157 if (!cpu_context(cpu, vma->vm_mm))
H A Dc-tx39.c144 if (cpu_context(smp_processor_id(), mm) != 0)
153 if (!(cpu_context(smp_processor_id(), vma->vm_mm)))
172 if (cpu_context(smp_processor_id(), mm) == 0)
H A Dtlb-r4k.c89 if (cpu_context(cpu, mm) != 0) {
102 if (cpu_context(cpu, mm) != 0) {
188 if (cpu_context(cpu, vma->vm_mm) != 0) {
H A Dc-r4k.c364 if (!(cpu_context(smp_processor_id(), vma->vm_mm)))
383 if (!cpu_context(smp_processor_id(), mm))
434 if (cpu_context(smp_processor_id(), mm) == 0)
483 if (cpu_context(cpu, mm) != 0)
H A Dc-sb1.c207 if (cpu_context(cpu, vma->vm_mm) != 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dmmu_context.h76 #define cpu_context(cpu, mm) ((mm)->context[cpu]) macro
77 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK)
105 cpu_context(cpu, mm) = asid_cache(cpu) = asid;
124 cpu_context(i, mm) = 0;
145 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK)
168 | (cpu_context(cpu, next) & ASID_MASK));
172 write_c0_entryhi(cpu_context(cpu, next));
228 (cpu_context(cpu, next) & ASID_MASK));
232 write_c0_entryhi(cpu_context(cpu, next));
282 cpu_context(cp
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dmmu_context.h76 #define cpu_context(cpu, mm) ((mm)->context[cpu]) macro
77 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & ASID_MASK)
105 cpu_context(cpu, mm) = asid_cache(cpu) = asid;
124 cpu_context(i, mm) = 0;
145 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK)
168 | (cpu_context(cpu, next) & ASID_MASK));
172 write_c0_entryhi(cpu_context(cpu, next));
228 (cpu_context(cpu, next) & ASID_MASK));
232 write_c0_entryhi(cpu_context(cpu, next));
282 cpu_context(cp
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm26/
H A Dthread_info.h43 * We assume cpu_context follows immedately after cpu_domain.
52 struct cpu_context_save cpu_context; /* cpu context */ member in struct:thread_info
90 ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc)))
92 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dmmu_context.h31 #define cpu_context(cpu, mm) ((mm)->context.id[cpu]) macro
32 #define cpu_asid(cpu, mm) (cpu_context((cpu), (mm)) & \
50 if (((cpu_context(cpu, mm) ^ asid) & MMU_CONTEXT_VERSION_MASK) == 0)
70 cpu_context(cpu, mm) = asid_cache(cpu) = asid;
83 cpu_context(i, mm) = NO_CONTEXT;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/
H A Dthread_info.h49 * __switch_to() assumes cpu_context follows immediately after cpu_domain.
59 struct cpu_context_save cpu_context; /* cpu context */ member in struct:thread_info
112 ((unsigned long)(pc_pointer(task_thread_info(tsk)->cpu_context.pc)))
114 ((unsigned long)(task_thread_info(tsk)->cpu_context.fp))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/kernel/
H A Dprocess.c168 fp = tsk->thread.cpu_context.r7;
225 sp = tsk->thread.cpu_context.ksp;
343 p->thread.cpu_context.sr = MODE_SUPERVISOR | SR_GM;
344 p->thread.cpu_context.ksp = (unsigned long)childregs;
345 p->thread.cpu_context.pc = (unsigned long)ret_from_fork;
416 unsigned long fp = p->thread.cpu_context.r7;
429 unsigned long sp = p->thread.cpu_context.ksp + 16;
H A Dptrace.c34 tsk->pid, tsk->thread.cpu_context.sr);
35 if (!(tsk->thread.cpu_context.sr & SR_D)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm26/kernel/
H A Dprocess.c283 memset(&thread->cpu_context, 0, sizeof(struct cpu_context_save));
284 thread->cpu_context.sp = (unsigned long)childregs;
285 thread->cpu_context.pc = (unsigned long)ret_from_fork | MODE_SVC26 | PSR_I_BIT;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/
H A Dsmp.c331 cpu_context(i, mm) = 0;
367 cpu_context(i, mm) = 0;
409 cpu_context(i, vma->vm_mm) = 0;
H A Dsmtc.c1254 cpu_context(i, mm) = asid_cache(i) = asid;

Completed in 382 milliseconds