Home
last modified time | relevance | path

Searched refs:acrs (Results 1 – 20 of 20) sorted by relevance

/Linux-v4.19/arch/s390/include/asm/
Dswitch_to.h19 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]); \
Dprocessor.h119 unsigned int acrs[NUM_ACRS]; member
Dcompat.h91 u32 acrs[NUM_ACRS]; member
/Linux-v4.19/arch/s390/kernel/
Dptrace.c207 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 …]
Dcompat_signal.c56 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(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs32()
117 sizeof(current->thread.acrs)); in restore_sigregs32()
Dsignal.c109 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(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs()
168 sizeof(current->thread.acrs)); in restore_sigregs()
Dprocess.c93 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()
Dcrash_dump.c44 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()
Dcompat_ptrace.h24 u32 acrs[NUM_ACRS]; member
Dcompat_linux.h45 __u32 acrs[__NUM_ACRS]; member
Dhead64.S58 lam 0,15,.Laregs-.LPG1(%r13) # load acrs needed by uaccess
Dentry.S1071 lam %a0,%a15,__LC_AREGS_SAVE_AREA-4095(%r1) # validate acrs
/Linux-v4.19/arch/s390/include/uapi/asm/
Dkvm.h177 __u32 acrs[16]; member
236 __u32 acrs[16]; /* access registers */ member
Dptrace.h285 unsigned int acrs[NUM_ACRS]; member
443 unsigned int acrs[NUM_ACRS]; member
Dsigcontext.h51 unsigned int acrs[__NUM_ACRS]; member
/Linux-v4.19/tools/arch/s390/include/uapi/asm/
Dkvm.h177 __u32 acrs[16]; member
236 __u32 acrs[16]; /* access registers */ member
Dptrace.h285 unsigned int acrs[NUM_ACRS]; member
443 unsigned int acrs[NUM_ACRS]; member
/Linux-v4.19/arch/s390/kvm/
Dkvm-s390.c2954 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()
Dgaccess.c393 save_access_regs(vcpu->run->s.regs.acrs); in ar_translation()
394 alet.val = vcpu->run->s.regs.acrs[ar]; in ar_translation()
Dinterrupt.c469 save_access_regs(vcpu->run->s.regs.acrs); in __write_machine_check()
541 &vcpu->run->s.regs.acrs, 64); in __write_machine_check()