Home
last modified time | relevance | path

Searched refs:user_sregs (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/s390/kernel/
Dcompat_signal.c68 _sigregs32 user_sregs; in save_sigregs32() local
71 user_sregs.regs.psw.mask = (__u32)(regs->psw.mask >> 32); in save_sigregs32()
72 user_sregs.regs.psw.mask &= PSW32_MASK_USER | PSW32_MASK_RI; in save_sigregs32()
73 user_sregs.regs.psw.mask |= PSW32_USER_BITS; in save_sigregs32()
74 user_sregs.regs.psw.addr = (__u32) regs->psw.addr | in save_sigregs32()
77 user_sregs.regs.gprs[i] = (__u32) regs->gprs[i]; in save_sigregs32()
78 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs32()
79 sizeof(user_sregs.regs.acrs)); in save_sigregs32()
80 fpregs_store((_s390_fp_regs *) &user_sregs.fpregs, &current->thread.fpu); in save_sigregs32()
81 if (__copy_to_user(sregs, &user_sregs, sizeof(_sigregs32))) in save_sigregs32()
[all …]
Dsignal.c122 _sigregs user_sregs; in save_sigregs() local
126 user_sregs.regs.psw.mask = PSW_USER_BITS | in save_sigregs()
128 user_sregs.regs.psw.addr = regs->psw.addr; in save_sigregs()
129 memcpy(&user_sregs.regs.gprs, &regs->gprs, sizeof(sregs->regs.gprs)); in save_sigregs()
130 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs()
131 sizeof(user_sregs.regs.acrs)); in save_sigregs()
132 fpregs_store(&user_sregs.fpregs, &current->thread.fpu); in save_sigregs()
133 if (__copy_to_user(sregs, &user_sregs, sizeof(_sigregs))) in save_sigregs()
140 _sigregs user_sregs; in restore_sigregs() local
145 if (__copy_from_user(&user_sregs, sregs, sizeof(user_sregs))) in restore_sigregs()
[all …]