/linux-6.12.1/arch/s390/include/asm/ |
D | access-regs.h | 16 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()
|
D | compat.h | 57 u32 acrs[NUM_ACRS]; member
|
D | processor.h | 182 unsigned int acrs[NUM_ACRS]; member
|
/linux-6.12.1/arch/s390/kernel/ |
D | process.c | 122 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()
|
D | ptrace.c | 207 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 …]
|
D | compat_signal.c | 58 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(¤t->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs32() 115 sizeof(current->thread.acrs)); in restore_sigregs32()
|
D | signal.c | 111 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(¤t->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs() 166 sizeof(current->thread.acrs)); in restore_sigregs()
|
D | crash_dump.c | 46 u32 acrs[16]; member 96 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); in save_area_add_regs() 309 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 | early.c | 290 unsigned int acrs[NUM_ACRS] = { 0 }; in setup_access_registers() local 292 restore_access_regs(acrs); in setup_access_registers()
|
D | compat_linux.h | 38 __u32 acrs[__NUM_ACRS]; member
|
/linux-6.12.1/tools/testing/selftests/kvm/s390x/ |
D | resets.c | 96 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()
|
D | sync_regs_test.c | 63 REG_COMPARE32(acrs[i]); in compare_sregs() 151 run->s.regs.acrs[0] = 1 << 11; in test_set_and_verify_various_reg_values() 167 TEST_ASSERT(run->s.regs.acrs[0] == 1 << 11, in test_set_and_verify_various_reg_values() 169 run->s.regs.acrs[0]); in test_set_and_verify_various_reg_values()
|
/linux-6.12.1/arch/s390/include/uapi/asm/ |
D | sigcontext.h | 51 unsigned int acrs[__NUM_ACRS]; member
|
D | ptrace.h | 283 unsigned int acrs[NUM_ACRS]; member 441 unsigned int acrs[NUM_ACRS]; member
|
D | kvm.h | 512 __u32 acrs[16]; member 579 __u32 acrs[16]; /* access registers */ member
|
/linux-6.12.1/tools/testing/selftests/kvm/include/s390x/ |
D | debug_print.h | 65 print_hex_bytes("ACRS", (u64)sync_regs->acrs, 4 * NUM_ACRS); in print_regs()
|
/linux-6.12.1/tools/arch/s390/include/uapi/asm/ |
D | kvm.h | 512 __u32 acrs[16]; member 579 __u32 acrs[16]; /* access registers */ member
|
/linux-6.12.1/arch/s390/kvm/ |
D | kvm-s390.c | 4269 memset(®s->acrs, 0, sizeof(regs->acrs)); in kvm_arch_vcpu_ioctl_clear_reset() 4297 memcpy(&vcpu->run->s.regs.acrs, &sregs->acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_set_sregs() 4309 memcpy(&sregs->acrs, &vcpu->run->s.regs.acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_get_sregs() 4956 restore_access_regs(vcpu->run->s.regs.acrs); in sync_regs() 5017 save_access_regs(vcpu->run->s.regs.acrs); in store_regs() 5156 &vcpu->run->s.regs.acrs, 64); in kvm_s390_store_status_unloaded() 5170 save_access_regs(vcpu->run->s.regs.acrs); in kvm_s390_vcpu_store_status()
|
D | gaccess.c | 238 save_access_regs(vcpu->run->s.regs.acrs); in ar_translation() 239 alet.val = vcpu->run->s.regs.acrs[ar]; in ar_translation()
|
D | interrupt.c | 588 save_access_regs(vcpu->run->s.regs.acrs); in __write_machine_check() 660 &vcpu->run->s.regs.acrs, 64); in __write_machine_check()
|