Searched refs:childregs (Results 1 - 25 of 26) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/kernel/
H A Dprocess.c103 * +------------------------+ <- sp in childregs (= tos)
104 * | childregs |
115 * childregs.
122 struct pt_regs *childregs; local
129 childregs = (struct pt_regs*)(tos - PT_USER_SIZE);
131 childregs = (struct pt_regs*)tos - 1;
133 *childregs = *regs;
135 /* Create a call4 dummy-frame: a0 = 0, a1 = childregs. */
136 *((int*)childregs - 3) = (unsigned long)childregs;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/
H A Dprocess.c208 struct pt_regs *childregs0, *childregs, *regs0; local
213 childregs = childregs0;
224 childregs--;
225 *childregs = *regs;
226 childregs->sp = (unsigned long) childregs0;
227 childregs->next_frame = childregs0;
228 childregs->gr15 = (unsigned long) task_thread_info(p);
229 childregs->gr29 = (unsigned long) p;
234 p->thread.frame = childregs;
236 p->thread.sp = (unsigned long) childregs;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v10/kernel/
H A Dprocess.c123 struct pt_regs * childregs; local
130 childregs = task_pt_regs(p);
132 *childregs = *regs; /* struct copy of pt_regs */
136 childregs->r10 = 0; /* child returns 0 after a fork/clone */
140 swstack = ((struct switch_stack *)childregs) - 1;
157 printk("copy_thread: new regs at 0x%p, as shown below:\n", childregs);
158 show_registers(childregs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/h8300/kernel/
H A Dprocess.c197 struct pt_regs * childregs; local
199 childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1;
201 *childregs = *regs;
202 childregs->retpc = (unsigned long) ret_from_fork;
203 childregs->er0 = 0;
206 p->thread.ksp = (unsigned long)childregs;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/
H A Dprocess.c103 struct pt_regs *childregs; local
120 childregs = (struct pt_regs *) childksp - 1;
121 *childregs = *regs;
122 childregs->regs[7] = 0; /* Clear error flag */
127 childregs->regs[3] = 1;
131 childregs->regs[2] = 0; /* Child gets zero as return value */
134 if (childregs->cp0_status & ST0_CU0) {
135 childregs->regs[28] = (unsigned long) ti;
136 childregs->regs[29] = childksp;
139 childregs
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dia32.h22 extern int ia32_clone_tls (struct task_struct *child, struct pt_regs *childregs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/cris/arch-v32/kernel/
H A Dprocess.c142 struct pt_regs *childregs; local
150 childregs = task_pt_regs(p);
151 *childregs = *regs; /* Struct copy of pt_regs. */
153 childregs->r10 = 0; /* Child returns 0 after a fork/clone. */
163 swstack = ((struct switch_stack *) childregs) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/kernel/
H A Dprocess.c265 struct pt_regs *childregs; local
274 childregs = task_pt_regs(p);
275 *childregs = *regs;
278 childregs->regs[15] = usp;
281 childregs->regs[15] = (unsigned long)childregs;
286 childregs->gbr = childregs->regs[0];
288 childregs->regs[0] = 0; /* Set return value for child */
290 p->thread.sp = (unsigned long) childregs;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/avr32/kernel/
H A Dprocess.c331 struct pt_regs *childregs; local
333 childregs = ((struct pt_regs *)(THREAD_SIZE + (unsigned long)task_stack_page(p))) - 1;
334 *childregs = *regs;
337 childregs->sp = usp;
339 childregs->sp = (unsigned long)task_stack_page(p) + THREAD_SIZE;
341 childregs->r12 = 0; /* Set return value for child */
344 p->thread.cpu_context.ksp = (unsigned long)childregs;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm26/kernel/
H A Dprocess.c277 struct pt_regs *childregs = task_pt_regs(p); local
279 *childregs = *regs;
280 childregs->ARM_r0 = 0;
281 childregs->ARM_sp = stack_start;
284 thread->cpu_context.sp = (unsigned long)childregs;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m32r/kernel/
H A Dprocess.c248 struct pt_regs *childregs = task_pt_regs(tsk); local
252 *childregs = *regs;
254 childregs->spu = spu;
255 childregs->r0 = 0; /* Child gets zero as return value */
257 tsk->thread.sp = (unsigned long)childregs;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/
H A Dprocess.c492 struct pt_regs *childregs; local
505 childregs = (struct pt_regs *)(THREAD_SIZE + task_stack_page(p)) - 1;
507 *childregs = *regs;
510 childregs->regs[15] = usp;
511 p->thread.uregs = childregs;
513 childregs->regs[15] = (unsigned long)task_stack_page(p) + THREAD_SIZE;
516 childregs->regs[9] = 0; /* Set return value for child */
517 childregs->sr |= SR_FD; /* Invalidate FPU flag */
519 p->thread.sp = (unsigned long) childregs;
529 se = childregs
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dprocess.c415 struct pt_regs *childregs; local
432 * p->thread_info new_stack childregs
442 childregs = (struct pt_regs *) (new_stack + STACKFRAME_SZ);
461 childregs->u_regs[UREG_FP] = (unsigned long) new_stack;
465 childregs->u_regs[UREG_G6] = (unsigned long) ti;
467 p->thread.kregs = childregs;
468 childregs->u_regs[UREG_FP] = sp;
491 childregs->u_regs[UREG_FP] = (unsigned long)childstack;
497 childregs->psr &= ~PSR_EF;
501 childregs
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/
H A Dprocess.c464 struct pt_regs * childregs; local
467 childregs = ((struct pt_regs *)
469 *childregs = *regs;
471 childregs->rax = 0;
472 childregs->rsp = rsp;
474 childregs->rsp = (unsigned long)childregs;
476 p->thread.rsp = (unsigned long) childregs;
477 p->thread.rsp0 = (unsigned long) (childregs+1);
507 err = ia32_child_tls(p, childregs);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dprocess.c279 struct pt_regs * childregs; local
286 childregs = (struct pt_regs *)
289 *childregs = *regs;
291 childregs->r0 = 0;
292 childregs->r19 = 0;
293 childregs->r20 = 1; /* OSF/1 has some strange fork() semantics. */
296 childstack = ((struct switch_stack *) childregs) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/kernel/
H A Dprocess.c228 struct pt_regs childregs; member in struct:fake_frame
231 frame = container_of(task_pt_regs(p), struct fake_frame, childregs);
234 frame->childregs = *regs;
235 frame->childregs.gprs[2] = 0; /* child returns 0 on fork. */
236 frame->childregs.gprs[15] = new_stackp;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/kernel/
H A Dprocess.c250 struct pt_regs *childregs; local
252 childregs = (struct pt_regs *) (task_stack_page(p) + THREAD_SIZE) - 1;
253 *childregs = *regs;
254 childregs->r0 = 0;
257 p->thread.ksp = (unsigned long)childregs;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/kernel/
H A Dprocess.c242 struct pt_regs * childregs; local
246 childregs = (struct pt_regs *) (task_stack_page(p) + THREAD_SIZE) - 1;
248 *childregs = *regs;
249 childregs->d0 = 0;
254 childstack = ((struct switch_stack *) childregs) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68knommu/kernel/
H A Dprocess.c206 struct pt_regs * childregs; local
210 childregs = (struct pt_regs *) (task_stack_page(p) + THREAD_SIZE) - 1;
212 *childregs = *regs;
213 childregs->d0 = 0;
218 childstack = ((struct switch_stack *) childregs) - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/
H A Dprocess.c335 struct pt_regs *childregs = task_pt_regs(p); local
337 *childregs = *regs;
338 childregs->ARM_r0 = 0;
339 childregs->ARM_sp = stack_start;
342 thread->cpu_context.sp = (unsigned long)childregs;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dprocess.c507 struct pt_regs *childregs, *kregs; local
514 childregs = (struct pt_regs *) sp;
515 *childregs = *regs;
516 if ((childregs->msr & MSR_PR) == 0) {
518 childregs->gpr[1] = sp + sizeof(struct pt_regs);
520 childregs->gpr[2] = (unsigned long) p;
526 childregs->gpr[1] = usp;
527 p->thread.regs = childregs;
531 childregs->gpr[13] = childregs
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/ia32/
H A Dtls32.c141 int ia32_child_tls(struct task_struct *p, struct pt_regs *childregs) argument
148 cp = (void __user *)childregs->rsi;
H A Dptrace32.c233 struct pt_regs *childregs; local
283 childregs = task_pt_regs(child);
348 save_i387_ia32(child, datap, childregs, 1);
371 ret = __put_user(childregs->cs, &u->fcs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/
H A Dia32.h166 int ia32_child_tls(struct task_struct *p, struct pt_regs *childregs);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/
H A Dprocess.c422 struct pt_regs * childregs; local
426 childregs = task_pt_regs(p);
427 *childregs = *regs;
428 childregs->eax = 0;
429 childregs->esp = esp;
431 p->thread.esp = (unsigned long) childregs;
432 p->thread.esp0 = (unsigned long) (childregs+1);
458 if (copy_from_user(&info, (void __user *)childregs->esi, sizeof(info)))

Completed in 244 milliseconds

12