Searched refs:user_sregs (Results 1 – 2 of 2) sorted by relevance
/linux/arch/s390/kernel/ |
H A D | compat_signal.c | 70 _sigregs32 user_sregs; in save_sigregs32() local 73 user_sregs.regs.psw.mask = (__u32)(regs->psw.mask >> 32); in save_sigregs32() 74 user_sregs.regs.psw.mask &= PSW32_MASK_USER | PSW32_MASK_RI; in save_sigregs32() 75 user_sregs.regs.psw.mask |= PSW32_USER_BITS; in save_sigregs32() 76 user_sregs.regs.psw.addr = (__u32) regs->psw.addr | in save_sigregs32() 79 user_sregs.regs.gprs[i] = (__u32) regs->gprs[i]; in save_sigregs32() 80 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs32() 81 sizeof(user_sregs.regs.acrs)); in save_sigregs32() 82 fpregs_store((_s390_fp_regs *) &user_sregs.fpregs, ¤t->thread.ufpu); in save_sigregs32() 83 if (__copy_to_user(sregs, &user_sregs, sizeof(_sigregs32))) in save_sigregs32() [all …]
|
H A D | signal.c | 124 _sigregs user_sregs; in save_sigregs() local 128 user_sregs.regs.psw.mask = PSW_USER_BITS | in save_sigregs() 130 user_sregs.regs.psw.addr = regs->psw.addr; in save_sigregs() 131 memcpy(&user_sregs.regs.gprs, ®s->gprs, sizeof(sregs->regs.gprs)); in save_sigregs() 132 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs() 133 sizeof(user_sregs.regs.acrs)); in save_sigregs() 134 fpregs_store(&user_sregs.fpregs, ¤t->thread.ufpu); in save_sigregs() 135 if (__copy_to_user(sregs, &user_sregs, sizeof(_sigregs))) in save_sigregs() 142 _sigregs user_sregs; in restore_sigregs() local 147 if (__copy_from_user(&user_sregs, sregs, sizeof(user_sregs))) in restore_sigregs() [all …]
|