Home
last modified time | relevance | path

Searched refs:acrs (Results 1 – 8 of 8) 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 Dprocessor.h172 unsigned int acrs[NUM_ACRS]; member
/linux/arch/s390/kernel/
H A Dptrace.c205 if (addr < offsetof(struct user, regs.acrs)) { in __peek_user()
220 offset = addr - offsetof(struct user, regs.acrs); in __peek_user()
226 if (addr == offsetof(struct user, regs.acrs[15])) in __peek_user()
227 tmp = ((unsigned long) child->thread.acrs[15]) << 32; in __peek_user()
229 tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); in __peek_user()
280 if (addr >= offsetof(struct user, regs.acrs) && in peek_user()
328 if (addr < offsetof(struct user, regs.acrs)) { in __poke_user()
359 offset = addr - offsetof(struct user, regs.acrs); in __poke_user()
366 if (addr == offsetof(struct user, regs.acrs[15])) in __poke_user()
367 child->thread.acrs[15] = (unsigned int) (data >> 32); in __poke_user()
[all …]
H A Dcrash_dump.c47 u32 acrs[16]; member
95 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); in save_area_add_regs()
305 memcpy(&nt_prstatus.pr_reg.acrs, sa->acrs, sizeof(sa->acrs)); in fill_cpu_elf_notes()
/linux/tools/testing/selftests/kvm/s390/
H A Dresets.c96 TEST_ASSERT(!memcmp(&sregs.acrs, regs_null, sizeof(sregs.acrs)), "acrs == 0"); in assert_clear()
105 TEST_ASSERT(!memcmp(sync_regs->acrs, regs_null, sizeof(sync_regs->acrs)), in assert_clear()
126 TEST_ASSERT(sync_regs->acrs[9] == 1, "ar9 == 1 (sync_regs)"); in assert_initial_noclear()
/linux/arch/s390/kvm/
H A Dkvm-s390.c4031 memset(&regs->acrs, 0, sizeof(regs->acrs)); in kvm_arch_vcpu_ioctl_clear_reset()
4059 memcpy(&vcpu->run->s.regs.acrs, &sregs->acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_set_sregs()
4071 memcpy(&sregs->acrs, &vcpu->run->s.regs.acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_get_sregs()
4852 restore_access_regs(vcpu->run->s.regs.acrs); in sync_regs()
4913 save_access_regs(vcpu->run->s.regs.acrs); in store_regs()
5053 &vcpu->run->s.regs.acrs, 64); in kvm_s390_store_status_unloaded()
5067 save_access_regs(vcpu->run->s.regs.acrs); in kvm_s390_vcpu_store_status()
H A Dgaccess.c249 save_access_regs(vcpu->run->s.regs.acrs); in ar_translation()
250 alet.val = vcpu->run->s.regs.acrs[ar]; in ar_translation()
H A Dinterrupt.c534 save_access_regs(vcpu->run->s.regs.acrs); in __write_machine_check()
606 &vcpu->run->s.regs.acrs, 64); in __write_machine_check()