Home
last modified time | relevance | path

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

/linux/arch/s390/include/asm/
H A Daccess-regs.h16 static inline void save_access_regs(unsigned int *acrs) in save_access_regs() argument
18 struct access_regs *regs = (struct access_regs *)acrs; in save_access_regs()
27 static inline void restore_access_regs(unsigned int *acrs) in restore_access_regs() argument
29 struct access_regs *regs = (struct access_regs *)acrs; in restore_access_regs()
H A Dcompat.h57 u32 acrs[NUM_ACRS]; member
/linux/arch/s390/kernel/
H A Dprocess.c122 save_access_regs(&p->thread.acrs[0]); in copy_thread()
171 p->thread.acrs[0] = (unsigned int)tls; in copy_thread()
173 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread()
174 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
196 save_access_regs(&prev->thread.acrs[0]); in __switch_to()
201 restore_access_regs(&next->thread.acrs[0]); in __switch_to()
H A Dptrace.c207 if (addr < offsetof(struct user, regs.acrs)) { in __peek_user()
222 offset = addr - offsetof(struct user, regs.acrs); in __peek_user()
228 if (addr == offsetof(struct user, 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()
282 if (addr >= offsetof(struct user, regs.acrs) && in peek_user()
330 if (addr < offsetof(struct user, regs.acrs)) { in __poke_user()
361 offset = addr - offsetof(struct user, regs.acrs); in __poke_user()
368 if (addr == offsetof(struct user, regs.acrs[15])) in __poke_user()
369 child->thread.acrs[15] = (unsigned int) (data >> 32); in __poke_user()
[all …]
H A Dcompat_signal.c58 save_access_regs(current->thread.acrs); in store_sigregs()
65 restore_access_regs(current->thread.acrs); in load_sigregs()
80 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs32()
81 sizeof(user_sregs.regs.acrs)); in save_sigregs32()
114 memcpy(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs32()
115 sizeof(current->thread.acrs)); in restore_sigregs32()
H A Dsignal.c111 save_access_regs(current->thread.acrs); in store_sigregs()
118 restore_access_regs(current->thread.acrs); in load_sigregs()
132 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs()
133 sizeof(user_sregs.regs.acrs)); in save_sigregs()
165 memcpy(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs()
166 sizeof(current->thread.acrs)); in restore_sigregs()
H A Dcompat_ptrace.h24 u32 acrs[NUM_ACRS]; member
H A Dearly.c291 unsigned int acrs[NUM_ACRS] = { 0 }; in setup_access_registers() local
293 restore_access_regs(acrs); in setup_access_registers()
H A Dcompat_linux.h38 __u32 acrs[__NUM_ACRS]; member
/linux/tools/testing/selftests/kvm/s390x/
H A Dresets.c
H A Dsync_regs_test.c
/linux/arch/s390/include/uapi/asm/
H A Dsigcontext.h51 unsigned int acrs[__NUM_ACRS]; member
H A Dptrace.h283 unsigned int acrs[NUM_ACRS]; member
441 unsigned int acrs[NUM_ACRS]; member
/linux/tools/testing/selftests/kvm/include/s390x/
H A Ddebug_print.h
/linux/arch/s390/kvm/
H A Dkvm-s390.c4316 memset(&regs->acrs, 0, sizeof(regs->acrs)); in kvm_arch_vcpu_ioctl_clear_reset()
4344 memcpy(&vcpu->run->s.regs.acrs, &sregs->acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_set_sregs()
4356 memcpy(&sregs->acrs, &vcpu->run->s.regs.acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_get_sregs()
5207 restore_access_regs(vcpu->run->s.regs.acrs); in sync_regs()
5268 save_access_regs(vcpu->run->s.regs.acrs); in store_regs()
5407 &vcpu->run->s.regs.acrs, 64); in kvm_s390_store_status_unloaded()
5421 save_access_regs(vcpu->run->s.regs.acrs); in kvm_s390_vcpu_store_status()
H A Dgaccess.c239 save_access_regs(vcpu->run->s.regs.acrs); in ar_translation()
240 alet.val = vcpu->run->s.regs.acrs[ar]; in ar_translation()
H A Dinterrupt.c579 save_access_regs(vcpu->run->s.regs.acrs); in __write_machine_check()
651 &vcpu->run->s.regs.acrs, 64); in __write_machine_check()