Lines Matching defs:ti
60 struct thread_info *ti = task_thread_info(p);
66 memset(&ti->cpu_context, 0, sizeof(struct cpu_context));
67 ti->cpu_context.r1 = (unsigned long)childregs;
68 ti->cpu_context.r20 = (unsigned long)usp; /* fn */
69 ti->cpu_context.r19 = (unsigned long)arg;
73 ti->cpu_context.msr = childregs->msr & ~MSR_IE;
75 ti->cpu_context.r15 = (unsigned long)ret_from_kernel_thread - 8;
82 memset(&ti->cpu_context, 0, sizeof(struct cpu_context));
83 ti->cpu_context.r1 = (unsigned long)childregs;
85 ti->cpu_context.msr = (unsigned long)childregs->msr;
105 ti->cpu_context.msr = (childregs->msr|MSR_VM);
106 ti->cpu_context.msr &= ~MSR_UMS; /* switch_to to kernel mode */
107 ti->cpu_context.msr &= ~MSR_IE;
109 ti->cpu_context.r15 = (unsigned long)ret_from_fork - 8;