Lines Matching refs:vxrs

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()
963 *(freg_t *)(target->thread.vxrs + i); in s390_fpregs_get()
1002 } else if (target->thread.vxrs) { in s390_fpregs_set()
1006 *(freg_t *)(target->thread.vxrs + i) = in s390_fpregs_set()
1067 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_get() local
1072 if (target->thread.vxrs) { in s390_vxrs_low_get()
1074 save_vx_regs(target->thread.vxrs); in s390_vxrs_low_get()
1076 vxrs[i] = *((__u64 *)(target->thread.vxrs + i) + 1); in s390_vxrs_low_get()
1078 memset(vxrs, 0, sizeof(vxrs)); in s390_vxrs_low_get()
1079 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1); in s390_vxrs_low_get()
1087 __u64 vxrs[__NUM_VXRS_LOW]; in s390_vxrs_low_set() local
1092 if (!target->thread.vxrs) { in s390_vxrs_low_set()
1097 save_vx_regs(target->thread.vxrs); in s390_vxrs_low_set()
1099 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1); in s390_vxrs_low_set()
1102 *((__u64 *)(target->thread.vxrs + i) + 1) = vxrs[i]; in s390_vxrs_low_set()
1104 restore_vx_regs(target->thread.vxrs); in s390_vxrs_low_set()
1115 __vector128 vxrs[__NUM_VXRS_HIGH]; in s390_vxrs_high_get() local
1119 if (target->thread.vxrs) { in s390_vxrs_high_get()
1121 save_vx_regs(target->thread.vxrs); in s390_vxrs_high_get()
1122 memcpy(vxrs, target->thread.vxrs + __NUM_VXRS_LOW, in s390_vxrs_high_get()
1123 sizeof(vxrs)); in s390_vxrs_high_get()
1125 memset(vxrs, 0, sizeof(vxrs)); in s390_vxrs_high_get()
1126 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1); in s390_vxrs_high_get()
1138 if (!target->thread.vxrs) { in s390_vxrs_high_set()
1143 save_vx_regs(target->thread.vxrs); in s390_vxrs_high_set()
1146 target->thread.vxrs + __NUM_VXRS_LOW, 0, -1); in s390_vxrs_high_set()
1148 restore_vx_regs(target->thread.vxrs); in s390_vxrs_high_set()