Home
last modified time | relevance | path

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

/linux/arch/s390/include/asm/
A 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]); \
A Dcompat.h74 u32 acrs[NUM_ACRS]; member
A Dprocessor.h108 unsigned int acrs[NUM_ACRS]; member
/linux/arch/s390/kernel/
A Dptrace.c202 if (addr < (addr_t) &dummy->regs.acrs) { in __peek_user()
217 offset = addr - (addr_t) &dummy->regs.acrs; in __peek_user()
223 if (addr == (addr_t) &dummy->regs.acrs[15]) in __peek_user()
335 if (addr < (addr_t) &dummy->regs.acrs) { in __poke_user()
588 if (addr < (addr_t) &dummy32->regs.acrs) { in __peek_user_compat()
700 if (addr < (addr_t) &dummy32->regs.acrs) { in __poke_user_compat()
858 save_access_regs(target->thread.acrs); in s390_regs_get()
873 save_access_regs(target->thread.acrs); in s390_regs_set()
896 restore_access_regs(target->thread.acrs); in s390_regs_set()
1355 save_access_regs(target->thread.acrs); in s390_compat_regs_get()
[all …]
A Dcompat_signal.c57 save_access_regs(current->thread.acrs); in store_sigregs()
64 restore_access_regs(current->thread.acrs); in load_sigregs()
79 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs32()
80 sizeof(user_sregs.regs.acrs)); in save_sigregs32()
117 memcpy(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs32()
118 sizeof(current->thread.acrs)); in restore_sigregs32()
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()
169 memcpy(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs()
170 sizeof(current->thread.acrs)); in restore_sigregs()
A Dprocess.c109 save_access_regs(&p->thread.acrs[0]); in copy_thread()
163 p->thread.acrs[0] = (unsigned int)tls; in copy_thread()
165 p->thread.acrs[0] = (unsigned int)(tls >> 32); in copy_thread()
166 p->thread.acrs[1] = (unsigned int)tls; in copy_thread()
A Dcrash_dump.c43 u32 acrs[16]; member
93 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); in save_area_add_regs()
367 memcpy(&nt_prstatus.pr_reg.acrs, sa->acrs, sizeof(sa->acrs)); in fill_cpu_elf_notes()
A Dearly.c266 unsigned int acrs[NUM_ACRS] = { 0 }; in setup_access_registers() local
268 restore_access_regs(acrs); in setup_access_registers()
A Dcompat_ptrace.h24 u32 acrs[NUM_ACRS]; member
A Dcompat_linux.h45 __u32 acrs[__NUM_ACRS]; member
/linux/tools/testing/selftests/kvm/s390x/
A Dresets.c99 TEST_ASSERT(!memcmp(&sregs.acrs, regs_null, sizeof(sregs.acrs)), "acrs == 0"); in assert_clear()
108 TEST_ASSERT(!memcmp(sync_regs->acrs, regs_null, sizeof(sync_regs->acrs)), in assert_clear()
127 TEST_ASSERT(sync_regs->acrs[9] == 1, "ar9 == 1 (sync_regs)"); in assert_initial_noclear()
A Dsync_regs_test.c66 REG_COMPARE32(acrs[i]); in compare_sregs()
152 run->s.regs.acrs[0] = 1 << 11; in main()
171 TEST_ASSERT(run->s.regs.acrs[0] == 1 << 11, in main()
173 run->s.regs.acrs[0]); in main()
/linux/tools/arch/s390/include/uapi/asm/
A Dkvm.h182 __u32 acrs[16]; member
249 __u32 acrs[16]; /* access registers */ member
A Dptrace.h286 unsigned int acrs[NUM_ACRS]; member
444 unsigned int acrs[NUM_ACRS]; member
/linux/arch/s390/include/uapi/asm/
A Dkvm.h182 __u32 acrs[16]; member
249 __u32 acrs[16]; /* access registers */ member
A Dptrace.h286 unsigned int acrs[NUM_ACRS]; member
444 unsigned int acrs[NUM_ACRS]; member
A Dsigcontext.h51 unsigned int acrs[__NUM_ACRS]; member
/linux/arch/s390/kvm/
A Dkvm-s390.c3633 memset(&regs->acrs, 0, sizeof(regs->acrs)); in kvm_arch_vcpu_ioctl_clear_reset()
3661 memcpy(&vcpu->run->s.regs.acrs, &sregs->acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_set_sregs()
3673 memcpy(&sregs->acrs, &vcpu->run->s.regs.acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_get_sregs()
4324 restore_access_regs(vcpu->run->s.regs.acrs); in sync_regs()
4396 save_access_regs(vcpu->run->s.regs.acrs); in store_regs()
4527 &vcpu->run->s.regs.acrs, 64); in kvm_s390_store_status_unloaded()
4542 save_access_regs(vcpu->run->s.regs.acrs); in kvm_s390_vcpu_store_status()
A 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()
A Dinterrupt.c592 save_access_regs(vcpu->run->s.regs.acrs); in __write_machine_check()
664 &vcpu->run->s.regs.acrs, 64); in __write_machine_check()

Completed in 51 milliseconds