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

/linux-master/arch/s390/include/asm/
H A Daccess-regs.h16 static inline void save_access_regs(unsigned int *acrs) argument
18 struct access_regs *regs = (struct access_regs *)acrs;
27 static inline void restore_access_regs(unsigned int *acrs) argument
29 struct access_regs *regs = (struct access_regs *)acrs;
H A Dcompat.h57 u32 acrs[NUM_ACRS]; member in struct:__anon69
H A Dprocessor.h159 unsigned int acrs[NUM_ACRS]; member in struct:thread_struct
/linux-master/arch/s390/include/uapi/asm/
H A Dsigcontext.h51 unsigned int acrs[__NUM_ACRS]; member in struct:__anon962
H A Dptrace.h283 unsigned int acrs[NUM_ACRS]; member in struct:__anon5
441 unsigned int acrs[NUM_ACRS]; member in struct:user_regs_struct
H A Dkvm.h512 __u32 acrs[16]; member in struct:kvm_sregs
579 __u32 acrs[16]; /* access registers */ member in struct:kvm_sync_regs
/linux-master/arch/s390/kernel/
H A Dcompat_ptrace.h24 u32 acrs[NUM_ACRS]; member in struct:compat_user_regs_struct
H A Dprocess.c127 save_access_regs(&p->thread.acrs[0]);
176 p->thread.acrs[0] = (unsigned int)tls;
178 p->thread.acrs[0] = (unsigned int)(tls >> 32);
179 p->thread.acrs[1] = (unsigned int)tls;
201 save_access_regs(&prev->thread.acrs[0]);
206 restore_access_regs(&next->thread.acrs[0]);
H A Dcompat_signal.c58 save_access_regs(current->thread.acrs);
65 restore_access_regs(current->thread.acrs);
80 memcpy(&user_sregs.regs.acrs, current->thread.acrs,
81 sizeof(user_sregs.regs.acrs));
114 memcpy(&current->thread.acrs, &user_sregs.regs.acrs,
115 sizeof(current->thread.acrs));
H A Dsignal.c111 save_access_regs(current->thread.acrs);
118 restore_access_regs(current->thread.acrs);
132 memcpy(&user_sregs.regs.acrs, current->thread.acrs,
133 sizeof(user_sregs.regs.acrs));
165 memcpy(&current->thread.acrs, &user_sregs.regs.acrs,
166 sizeof(current->thread.acrs));
H A Dptrace.c207 if (addr < offsetof(struct user, regs.acrs)) {
222 offset = addr - offsetof(struct user, regs.acrs);
225 * from acrs[15]. Result is a 64 bit value. Read the
226 * 32 bit acrs[15] value and shift it by 32. Sick...
228 if (addr == offsetof(struct user, regs.acrs[15]))
229 tmp = ((unsigned long) child->thread.acrs[15]) << 32;
231 tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset);
282 if (addr >= offsetof(struct user, regs.acrs) &&
330 if (addr < offsetof(struct user, regs.acrs)) {
361 offset = addr - offsetof(struct user, regs.acrs);
[all...]
H A Dcrash_dump.c46 u32 acrs[16]; member in struct:save_area
96 memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs));
309 memcpy(&nt_prstatus.pr_reg.acrs, sa->acrs, sizeof(sa->acrs));
H A Dcompat_linux.h38 __u32 acrs[__NUM_ACRS]; member in struct:__anon57
H A Dearly.c268 unsigned int acrs[NUM_ACRS] = { 0 }; local
270 restore_access_regs(acrs);
/linux-master/tools/testing/selftests/kvm/s390x/
H A Dresets.c96 TEST_ASSERT(!memcmp(&sregs.acrs, regs_null, sizeof(sregs.acrs)), "acrs == 0");
105 TEST_ASSERT(!memcmp(sync_regs->acrs, regs_null, sizeof(sync_regs->acrs)),
126 TEST_ASSERT(sync_regs->acrs[9] == 1, "ar9 == 1 (sync_regs)");
H A Dsync_regs_test.c65 REG_COMPARE32(acrs[i]);
153 run->s.regs.acrs[0] = 1 << 11;
169 TEST_ASSERT(run->s.regs.acrs[0] == 1 << 11,
171 run->s.regs.acrs[0]);
/linux-master/tools/arch/s390/include/uapi/asm/
H A Dkvm.h512 __u32 acrs[16]; member in struct:kvm_sregs
579 __u32 acrs[16]; /* access registers */ member in struct:kvm_sync_regs
/linux-master/arch/s390/kvm/
H A Dkvm-s390.c4266 memset(&regs->acrs, 0, sizeof(regs->acrs));
4294 memcpy(&vcpu->run->s.regs.acrs, &sregs->acrs, sizeof(sregs->acrs));
4306 memcpy(&sregs->acrs, &vcpu->run->s.regs.acrs, sizeof(sregs->acrs));
4952 restore_access_regs(vcpu->run->s.regs.acrs);
5013 save_access_regs(vcpu->run->s.regs.acrs);
[all...]
H A Dgaccess.c395 save_access_regs(vcpu->run->s.regs.acrs);
396 alet.val = vcpu->run->s.regs.acrs[ar];
H A Dinterrupt.c588 save_access_regs(vcpu->run->s.regs.acrs);
660 &vcpu->run->s.regs.acrs, 64);

Completed in 772 milliseconds