Searched refs:vxrs (Results 1 – 8 of 8) sorted by relevance
93 static inline void save_vx_regs(__vector128 *vxrs) in save_vx_regs() argument101 : "=Q" (*(addrtype *) vxrs) : : "1"); in save_vx_regs()104 static inline void save_vx_regs_safe(__vector128 *vxrs) in save_vx_regs_safe() argument112 save_vx_regs(vxrs); in save_vx_regs_safe()117 static inline void restore_vx_regs(__vector128 *vxrs) in restore_vx_regs() argument125 : : "Q" (*(addrtype *) vxrs) : "1"); in restore_vx_regs()130 if (task->thread.vxrs) in save_fp_vx_regs()131 save_vx_regs(task->thread.vxrs); in save_fp_vx_regs()138 if (task->thread.vxrs) in restore_fp_vx_regs()139 restore_vx_regs(task->thread.vxrs); in restore_fp_vx_regs()
225 void *fill_cpu_elf_notes(void *ptr, struct save_area *sa, __vector128 *vxrs);
104 __vector128 *vxrs; /* Vector register save area */ member
109 if (current->thread.vxrs) { in store_sigregs()112 save_vx_regs(current->thread.vxrs); in store_sigregs()115 *(freg_t *)(current->thread.vxrs + i); in store_sigregs()125 if (current->thread.vxrs) { in load_sigregs()129 *(freg_t *)(current->thread.vxrs + i) = in load_sigregs()131 restore_vx_regs(current->thread.vxrs); in load_sigregs()199 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext() local203 if (current->thread.vxrs) { in save_sigregs_ext()205 vxrs[i] = *((__u64 *)(current->thread.vxrs + i) + 1); in save_sigregs_ext()206 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext()[all …]
62 if (task->thread.vxrs) in update_cr_regs()254 if (child->thread.vxrs) in __peek_user()256 ((addr_t) child->thread.vxrs + 2*offset); in __peek_user()398 if (child->thread.vxrs) in __poke_user()400 child->thread.vxrs + 2*offset) = data; in __poke_user()632 if (child->thread.vxrs) in __peek_user_compat()634 ((addr_t) child->thread.vxrs + 2*offset); in __peek_user_compat()757 if (child->thread.vxrs) in __poke_user_compat()759 child->thread.vxrs + 2*offset) = tmp; in __poke_user_compat()958 } else if (target->thread.vxrs) { in s390_fpregs_get()[all …]
173 if (current->thread.vxrs) { in store_sigregs()174 save_vx_regs(current->thread.vxrs); in store_sigregs()177 *(freg_t *)(current->thread.vxrs + i); in store_sigregs()189 if (current->thread.vxrs) { in load_sigregs()191 *(freg_t *)(current->thread.vxrs + i) = in load_sigregs()193 restore_vx_regs(current->thread.vxrs); in load_sigregs()263 __u64 vxrs[__NUM_VXRS_LOW]; in save_sigregs_ext32() local274 if (current->thread.vxrs) { in save_sigregs_ext32()276 vxrs[i] = *((__u64 *)(current->thread.vxrs + i) + 1); in save_sigregs_ext32()277 if (__copy_to_user(&sregs_ext->vxrs_low, vxrs, in save_sigregs_ext32()[all …]
229 __vector128 *vxrs; in alloc_vector_registers() local233 vxrs = kzalloc(sizeof(__vector128) * __NUM_VXRS, in alloc_vector_registers()235 if (!vxrs) in alloc_vector_registers()242 *(freg_t *) &vxrs[i] = tsk->thread.fp_regs.fprs[i]; in alloc_vector_registers()243 tsk->thread.vxrs = vxrs; in alloc_vector_registers()246 restore_vx_regs(vxrs); in alloc_vector_registers()302 if (MACHINE_HAS_VX && !current->thread.vxrs && in data_exception()
84 if (tsk->thread.vxrs) in arch_release_task_struct()85 kfree(tsk->thread.vxrs); in arch_release_task_struct()149 p->thread.vxrs = NULL; in copy_thread()