Lines Matching refs:ubuf
491 void *kbuf, void __user *ubuf) in hw_break_get() argument
503 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &info, 0, in hw_break_get()
510 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, offset, in hw_break_get()
522 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &addr, in hw_break_get()
531 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &ctrl, in hw_break_get()
537 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in hw_break_get()
552 const void *kbuf, const void __user *ubuf) in hw_break_set() argument
561 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, offset); in hw_break_set()
570 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &addr, in hw_break_set()
581 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, in hw_break_set()
590 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in hw_break_set()
606 void *kbuf, void __user *ubuf) in gpr_get() argument
609 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, -1); in gpr_get()
614 const void *kbuf, const void __user *ubuf) in gpr_set() argument
619 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1); in gpr_set()
636 void *kbuf, void __user *ubuf, unsigned int start_pos) in __fpr_get() argument
644 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, in __fpr_get()
650 void *kbuf, void __user *ubuf) in fpr_get() argument
655 return __fpr_get(target, regset, pos, count, kbuf, ubuf, 0); in fpr_get()
661 const void *kbuf, const void __user *ubuf, in __fpr_set() argument
675 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, in __fpr_set()
687 const void *kbuf, const void __user *ubuf) in fpr_set() argument
691 ret = __fpr_set(target, regset, pos, count, kbuf, ubuf, 0); in fpr_set()
703 void *kbuf, void __user *ubuf) in tls_get() argument
710 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); in tls_get()
715 const void *kbuf, const void __user *ubuf) in tls_set() argument
720 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in tls_set()
731 void *kbuf, void __user *ubuf) in system_call_get() argument
735 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in system_call_get()
742 const void *kbuf, const void __user *ubuf) in system_call_set() argument
747 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &syscallno, 0, -1); in system_call_set()
798 void *kbuf, void __user *ubuf) in sve_get() argument
812 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &header, in sve_get()
824 return __fpr_get(target, regset, pos, count, kbuf, ubuf, in sve_get()
832 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in sve_get()
840 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in sve_get()
851 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in sve_get()
859 return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in sve_get()
866 const void *kbuf, const void __user *ubuf) in sve_set() argument
879 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &header, in sve_set()
900 ret = __fpr_set(target, regset, pos, count, kbuf, ubuf, in sve_set()
931 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in sve_set()
939 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in sve_set()
950 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in sve_set()
1058 void *kbuf, void __user *ubuf) in compat_gpr_get() argument
1095 ret = copy_to_user(ubuf, ®, sizeof(reg)); in compat_gpr_get()
1101 ubuf += sizeof(reg); in compat_gpr_get()
1111 const void *kbuf, const void __user *ubuf) in compat_gpr_set() argument
1136 ret = copy_from_user(®, ubuf, sizeof(reg)); in compat_gpr_set()
1142 ubuf += sizeof(reg); in compat_gpr_set()
1173 void *kbuf, void __user *ubuf) in compat_vfp_get() argument
1189 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, in compat_vfp_get()
1196 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &fpscr, in compat_vfp_get()
1206 const void *kbuf, const void __user *ubuf) in compat_vfp_set() argument
1215 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, uregs, 0, in compat_vfp_set()
1219 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &fpscr, in compat_vfp_set()
1233 unsigned int count, void *kbuf, void __user *ubuf) in compat_tls_get() argument
1236 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_get()
1242 const void __user *ubuf) in compat_tls_set() argument
1247 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in compat_tls_set()