/Linux-v4.19/arch/s390/include/asm/ |
D | switch_to.h | 19 static inline void save_access_regs(unsigned int *acrs) in save_access_regs() argument 23 asm volatile("stam 0,15,%0" : "=Q" (*(acrstype *)acrs)); in save_access_regs() 26 static inline void restore_access_regs(unsigned int *acrs) in restore_access_regs() argument 30 asm volatile("lam 0,15,%0" : : "Q" (*(acrstype *)acrs)); in restore_access_regs() 39 save_access_regs(&prev->thread.acrs[0]); \ 43 restore_access_regs(&next->thread.acrs[0]); \
|
D | processor.h | 119 unsigned int acrs[NUM_ACRS]; member
|
D | compat.h | 91 u32 acrs[NUM_ACRS]; member
|
/Linux-v4.19/arch/s390/kernel/ |
D | ptrace.c | 207 if (addr < (addr_t) &dummy->regs.acrs) { in __peek_user() 222 offset = addr - (addr_t) &dummy->regs.acrs; in __peek_user() 228 if (addr == (addr_t) &dummy->regs.acrs[15]) in __peek_user() 229 tmp = ((unsigned long) child->thread.acrs[15]) << 32; in __peek_user() 231 tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); in __peek_user() 289 if (addr >= (addr_t) &((struct user *) NULL)->regs.acrs && in peek_user() 339 if (addr < (addr_t) &dummy->regs.acrs) { in __poke_user() 363 offset = addr - (addr_t) &dummy->regs.acrs; in __poke_user() 370 if (addr == (addr_t) &dummy->regs.acrs[15]) in __poke_user() 371 child->thread.acrs[15] = (unsigned int) (data >> 32); in __poke_user() [all …]
|
D | compat_signal.c | 56 save_access_regs(current->thread.acrs); in store_sigregs() 63 restore_access_regs(current->thread.acrs); in load_sigregs() 78 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs32() 79 sizeof(user_sregs.regs.acrs)); in save_sigregs32() 116 memcpy(¤t->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs32() 117 sizeof(current->thread.acrs)); in restore_sigregs32()
|
D | signal.c | 109 save_access_regs(current->thread.acrs); in store_sigregs() 116 restore_access_regs(current->thread.acrs); in load_sigregs() 130 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs() 131 sizeof(user_sregs.regs.acrs)); in save_sigregs() 167 memcpy(¤t->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs() 168 sizeof(current->thread.acrs)); in restore_sigregs()
|
D | process.c | 93 save_access_regs(&p->thread.acrs[0]); in copy_thread_tls() 145 p->thread.acrs[0] = (unsigned int)tls; in copy_thread_tls() 147 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread_tls() 148 p->thread.acrs[1] = (unsigned int)tls; in copy_thread_tls()
|
D | crash_dump.c | 44 u32 acrs[16]; member 91 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); in save_area_add_regs() 365 memcpy(&nt_prstatus.pr_reg.acrs, sa->acrs, sizeof(sa->acrs)); in fill_cpu_elf_notes()
|
D | compat_ptrace.h | 24 u32 acrs[NUM_ACRS]; member
|
D | compat_linux.h | 45 __u32 acrs[__NUM_ACRS]; member
|
D | head64.S | 58 lam 0,15,.Laregs-.LPG1(%r13) # load acrs needed by uaccess
|
D | entry.S | 1071 lam %a0,%a15,__LC_AREGS_SAVE_AREA-4095(%r1) # validate acrs
|
/Linux-v4.19/arch/s390/include/uapi/asm/ |
D | kvm.h | 177 __u32 acrs[16]; member 236 __u32 acrs[16]; /* access registers */ member
|
D | ptrace.h | 285 unsigned int acrs[NUM_ACRS]; member 443 unsigned int acrs[NUM_ACRS]; member
|
D | sigcontext.h | 51 unsigned int acrs[__NUM_ACRS]; member
|
/Linux-v4.19/tools/arch/s390/include/uapi/asm/ |
D | kvm.h | 177 __u32 acrs[16]; member 236 __u32 acrs[16]; /* access registers */ member
|
D | ptrace.h | 285 unsigned int acrs[NUM_ACRS]; member 443 unsigned int acrs[NUM_ACRS]; member
|
/Linux-v4.19/arch/s390/kvm/ |
D | kvm-s390.c | 2954 memcpy(&vcpu->run->s.regs.acrs, &sregs->acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_set_sregs() 2966 memcpy(&sregs->acrs, &vcpu->run->s.regs.acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_get_sregs() 3556 restore_access_regs(vcpu->run->s.regs.acrs); in sync_regs() 3603 save_access_regs(vcpu->run->s.regs.acrs); in store_regs() 3736 &vcpu->run->s.regs.acrs, 64); in kvm_s390_store_status_unloaded() 3751 save_access_regs(vcpu->run->s.regs.acrs); in kvm_s390_vcpu_store_status()
|
D | gaccess.c | 393 save_access_regs(vcpu->run->s.regs.acrs); in ar_translation() 394 alet.val = vcpu->run->s.regs.acrs[ar]; in ar_translation()
|
D | interrupt.c | 469 save_access_regs(vcpu->run->s.regs.acrs); in __write_machine_check() 541 &vcpu->run->s.regs.acrs, 64); in __write_machine_check()
|