Home
last modified time | relevance | path

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

/arch/s390/kernel/
Dptrace.c142 if (addr < (addr_t) &dummy->regs.acrs) { in __peek_user()
155 offset = addr - (addr_t) &dummy->regs.acrs; in __peek_user()
162 if (addr == (addr_t) &dummy->regs.acrs[15]) in __peek_user()
163 tmp = ((unsigned long) child->thread.acrs[15]) << 32; in __peek_user()
166 tmp = *(addr_t *)((addr_t) &child->thread.acrs + offset); in __peek_user()
215 if (addr >= (addr_t) &((struct user *) NULL)->regs.acrs && in peek_user()
237 if (addr < (addr_t) &dummy->regs.acrs) { in __poke_user()
260 offset = addr - (addr_t) &dummy->regs.acrs; in __poke_user()
268 if (addr == (addr_t) &dummy->regs.acrs[15]) in __poke_user()
269 child->thread.acrs[15] = (unsigned int) (data >> 32); in __poke_user()
[all …]
Dtraps.c268 task->thread.acrs[0], task->thread.acrs[1], in task_show_regs()
269 task->thread.acrs[2], task->thread.acrs[3]); in task_show_regs()
271 task->thread.acrs[4], task->thread.acrs[5], in task_show_regs()
272 task->thread.acrs[6], task->thread.acrs[7]); in task_show_regs()
274 task->thread.acrs[8], task->thread.acrs[9], in task_show_regs()
275 task->thread.acrs[10], task->thread.acrs[11]); in task_show_regs()
277 task->thread.acrs[12], task->thread.acrs[13], in task_show_regs()
278 task->thread.acrs[14], task->thread.acrs[15]); in task_show_regs()
Dprocess.c195 save_access_regs(&p->thread.acrs[0]); in copy_thread()
207 p->thread.acrs[0] = regs->gprs[6]; in copy_thread()
214 p->thread.acrs[0] = (unsigned int) regs->gprs[6]; in copy_thread()
216 p->thread.acrs[0] = (unsigned int)(regs->gprs[6] >> 32); in copy_thread()
217 p->thread.acrs[1] = (unsigned int) regs->gprs[6]; in copy_thread()
Dsignal.c116 save_access_regs(current->thread.acrs); in save_sigregs()
123 memcpy(&user_sregs.regs.acrs, current->thread.acrs, in save_sigregs()
124 sizeof(sregs->regs.acrs)); in save_sigregs()
151 memcpy(&current->thread.acrs, &user_sregs.regs.acrs, in restore_sigregs()
152 sizeof(sregs->regs.acrs)); in restore_sigregs()
153 restore_access_regs(current->thread.acrs); in restore_sigregs()
Dcompat_signal.c306 save_access_regs(current->thread.acrs); in save_sigregs32()
307 memcpy(regs32.acrs, current->thread.acrs, sizeof(regs32.acrs)); in save_sigregs32()
333 memcpy(current->thread.acrs, regs32.acrs, sizeof(current->thread.acrs)); in restore_sigregs32()
334 restore_access_regs(current->thread.acrs); in restore_sigregs32()
Dcompat_ptrace.h43 u32 acrs[NUM_ACRS]; member
Dcompat_linux.h122 __u32 acrs[__NUM_ACRS]; member
Dhead64.S167 lam 0,15,.Laregs-.LPG3(%r13) # load acrs needed by uaccess
/arch/s390/include/asm/
Dsystem.h82 static inline void save_access_regs(unsigned int *acrs) in save_access_regs() argument
84 asm volatile("stam 0,15,0(%0)" : : "a" (acrs) : "memory"); in save_access_regs()
87 static inline void restore_access_regs(unsigned int *acrs) in restore_access_regs() argument
89 asm volatile("lam 0,15,0(%0)" : : "a" (acrs)); in restore_access_regs()
97 save_access_regs(&prev->thread.acrs[0]); \
98 restore_access_regs(&next->thread.acrs[0]); \
Dkvm.h35 __u32 acrs[16]; member
Dptrace.h300 unsigned int acrs[NUM_ACRS]; member
308 __u32 acrs[NUM_ACRS]; member
470 unsigned int acrs[NUM_ACRS]; member
Dsigcontext.h48 unsigned int acrs[__NUM_ACRS]; member
Dprocessor.h104 unsigned int acrs[NUM_ACRS]; member
/arch/s390/kvm/
Dkvm-s390.c372 memcpy(&vcpu->arch.guest_acrs, &sregs->acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_set_sregs()
382 memcpy(&sregs->acrs, &vcpu->arch.guest_acrs, sizeof(sregs->acrs)); in kvm_arch_vcpu_ioctl_get_sregs()
/arch/s390/mm/
Dfault.c121 save_access_regs(tsk->thread.acrs); in check_space()
128 if (tsk->thread.acrs[S390_lowcore.exc_access_id]) in check_space()