Searched refs:GP_REGS_SIZE (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/powerpc/kernel/ |
H A D | signal_64.c | 40 #define GP_REGS_SIZE min(sizeof(elf_gregset_t), sizeof(struct pt_regs)) macro 180 unsafe_copy_to_user(&sc->gp_regs, regs, GP_REGS_SIZE, efault_out); in __unsafe_setup_sigcontext() 316 err |= __copy_to_user(&tm_sc->gp_regs, regs, GP_REGS_SIZE); in setup_tm_sigcontexts() 318 &tsk->thread.ckpt_regs, GP_REGS_SIZE); in setup_tm_sigcontexts()
|
H A D | signal_32.c | 75 #define GP_REGS_SIZE min(sizeof(elf_gregset_t32), sizeof(struct pt_regs32)) macro 131 #define GP_REGS_SIZE min(sizeof(elf_gregset_t), sizeof(struct pt_regs)) macro 148 unsafe_copy_to_user(&frame->mc_gregs, regs, GP_REGS_SIZE, failed); in __unsafe_save_general_regs() 163 GP_REGS_SIZE - PT_ORIG_R3 * sizeof(elf_greg_t), failed); in __unsafe_restore_general_regs()
|