Searched refs:user_sregs (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/s390/kernel/ |
H A D | compat_signal.c | 69 _sigregs32 user_sregs; in save_sigregs32() local 74 user_sregs.regs.psw.mask |= PSW32_USER_BITS; in save_sigregs32() 75 user_sregs.regs.psw.addr = (__u32) regs->psw.addr | in save_sigregs32() 78 user_sregs.regs.gprs[i] = (__u32) regs->gprs[i]; in save_sigregs32() 79 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs32() 80 sizeof(user_sregs.regs.acrs)); in save_sigregs32() 89 _sigregs32 user_sregs; in restore_sigregs32() local 95 if (__copy_from_user(&user_sregs, &sregs->regs, sizeof(user_sregs))) in restore_sigregs32() 102 if (test_fp_ctl(user_sregs.fpregs.fpc)) in restore_sigregs32() 116 regs->gprs[i] = (__u64) user_sregs.regs.gprs[i]; in restore_sigregs32() [all …]
|
H A D | signal.c | 123 _sigregs user_sregs; in save_sigregs() local 127 user_sregs.regs.psw.mask = PSW_USER_BITS | in save_sigregs() 129 user_sregs.regs.psw.addr = regs->psw.addr; in save_sigregs() 131 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs() 132 sizeof(user_sregs.regs.acrs)); in save_sigregs() 141 _sigregs user_sregs; in restore_sigregs() local 146 if (__copy_from_user(&user_sregs, sregs, sizeof(user_sregs))) in restore_sigregs() 153 if (test_fp_ctl(user_sregs.fpregs.fpc)) in restore_sigregs() 166 regs->psw.addr = user_sregs.regs.psw.addr; in restore_sigregs() 168 memcpy(¤t->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs() [all …]
|