Searched refs:kregs (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/arch/openrisc/kernel/ |
D | process.c | 172 struct pt_regs *kregs; in copy_thread() local 186 kregs = (struct pt_regs *)sp; in copy_thread() 189 memset(kregs, 0, sizeof(struct pt_regs)); in copy_thread() 190 kregs->gpr[20] = (unsigned long)args->fn; in copy_thread() 191 kregs->gpr[22] = (unsigned long)args->fn_arg; in copy_thread() 206 kregs->gpr[20] = 0; /* Userspace thread */ in copy_thread() 213 kregs->sp = top_of_kernel_stack; in copy_thread() 214 kregs->gpr[9] = (unsigned long)ret_from_fork; in copy_thread() 216 task_thread_info(p)->ksp = (unsigned long)kregs; in copy_thread()
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | processor_32.h | 37 struct pt_regs *kregs; member 52 .kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \ 85 #define task_pt_regs(tsk) ((tsk)->thread.kregs) 86 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) 87 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP])
|
D | switch_to_32.h | 24 (prv)->thread.kregs->psr &= ~PSR_EF; \ 34 (nxt)->thread.kregs->psr&=~PSR_EF; \
|
D | thread_info_64.h | 46 struct pt_regs *kregs; member 119 .kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \
|
D | processor_64.h | 181 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs)
|
/linux-6.12.1/arch/nios2/include/asm/ |
D | processor.h | 46 struct pt_regs *kregs; member 54 .kregs = NULL, \ 70 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->ea) 71 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->sp)
|
/linux-6.12.1/arch/sparc/kernel/ |
D | process_64.c | 247 regs = tp->kregs; in arch_trigger_cpumask_backtrace() 586 t->kregs = (struct pt_regs *) (child_trap_frame + in copy_thread() 594 t->kregs->u_regs[UREG_G1] = (unsigned long) args->fn; in copy_thread() 595 t->kregs->u_regs[UREG_G2] = (unsigned long) args->fn_arg; in copy_thread() 605 t->kregs->u_regs[UREG_FP] = sp; in copy_thread() 614 t->kregs->u_regs[UREG_FP] = csp; in copy_thread() 620 t->kregs->u_regs[UREG_I0] = current->pid; in copy_thread() 621 t->kregs->u_regs[UREG_I1] = 1; in copy_thread() 627 t->kregs->u_regs[UREG_G7] = tls; in copy_thread()
|
D | ptrace_32.c | 87 const struct pt_regs *regs = target->thread.kregs; in genregs32_get() 111 struct pt_regs *regs = target->thread.kregs; in genregs32_set() 248 const struct pt_regs *regs = target->thread.kregs; in getregs_get() 265 struct pt_regs *regs = target->thread.kregs; in setregs_set() 363 unsigned long addr2 = current->thread.kregs->u_regs[UREG_I4]; in arch_ptrace()
|
D | unaligned_32.c | 61 die_if_kernel("Byte sized unaligned access?!?!", current->thread.kregs); in decode_access_size()
|
D | process_32.c | 298 p->thread.kregs = childregs;
|
D | traps_64.c | 2850 TI_KREGS != offsetof(struct thread_info, kregs) || in trap_init()
|
/linux-6.12.1/arch/nios2/kernel/ |
D | kgdb.c | 100 gdb_regs[GDB_SP] = p->thread.kregs->sp; in sleeping_thread_to_gdb_regs() 101 gdb_regs[GDB_PC] = p->thread.kregs->ea; in sleeping_thread_to_gdb_regs()
|
D | process.c | 124 p->thread.kregs = childregs; in copy_thread() 136 p->thread.kregs = childregs; in copy_thread()
|
D | setup.c | 153 init_task.thread.kregs = &fake_regs; in setup_arch()
|
D | signal.c | 240 current->thread.kregs = regs; in do_signal()
|
/linux-6.12.1/arch/sparc/mm/ |
D | fault_32.c | 337 __do_fault_siginfo(code, SIGSEGV, tsk->thread.kregs, address); in force_user_fault() 342 __do_fault_siginfo(BUS_ADRERR, SIGBUS, tsk->thread.kregs, address); in force_user_fault()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | process.c | 1760 struct pt_regs *kregs; /* Switch frame regs */ in copy_thread() local 1849 kregs = (struct pt_regs *)(sp + STACK_SWITCH_FRAME_REGS); in copy_thread() 1850 kregs->nip = ppc_function_entry(f); in copy_thread() 1857 kregs->gpr[14] = ppc_function_entry((void *)args->fn); in copy_thread() 1858 kregs->gpr[15] = (unsigned long)args->fn_arg; in copy_thread()
|