Lines Matching refs:ubuf
370 void *kbuf, void __user *ubuf) in hw_break_get() argument
382 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &info, 0, in hw_break_get()
389 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, offset, in hw_break_get()
401 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &addr, in hw_break_get()
410 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &ctrl, in hw_break_get()
416 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in hw_break_get()
431 const void *kbuf, const void __user *ubuf) in hw_break_set() argument
440 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, 0, offset); in hw_break_set()
447 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &addr, in hw_break_set()
456 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, in hw_break_set()
465 ret = user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in hw_break_set()
481 void *kbuf, void __user *ubuf) in gpr_get() argument
484 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, -1); in gpr_get()
489 const void *kbuf, const void __user *ubuf) in gpr_set() argument
494 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newregs, 0, -1); in gpr_set()
510 void *kbuf, void __user *ubuf) in fpr_get() argument
514 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, -1); in fpr_get()
519 const void *kbuf, const void __user *ubuf) in fpr_set() argument
524 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &newstate, 0, -1); in fpr_set()
535 void *kbuf, void __user *ubuf) in tls_get() argument
538 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, tls, 0, -1); in tls_get()
543 const void *kbuf, const void __user *ubuf) in tls_set() argument
548 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &tls, 0, -1); in tls_set()
559 void *kbuf, void __user *ubuf) in system_call_get() argument
563 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in system_call_get()
570 const void *kbuf, const void __user *ubuf) in system_call_set() argument
574 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &syscallno, 0, -1); in system_call_set()
666 void *kbuf, void __user *ubuf) in compat_gpr_get() argument
702 ret = copy_to_user(ubuf, ®, sizeof(reg)); in compat_gpr_get()
708 ubuf += sizeof(reg); in compat_gpr_get()
718 const void *kbuf, const void __user *ubuf) in compat_gpr_set() argument
743 ret = copy_from_user(®, ubuf, sizeof(reg)); in compat_gpr_set()
749 ubuf += sizeof(reg); in compat_gpr_set()
779 void *kbuf, void __user *ubuf) in compat_vfp_get() argument
791 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, uregs, 0, in compat_vfp_get()
797 ret = put_user(fpscr, (compat_ulong_t *)ubuf); in compat_vfp_get()
806 const void *kbuf, const void __user *ubuf) in compat_vfp_set() argument
817 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, uregs, 0, in compat_vfp_set()
821 ret = get_user(fpscr, (compat_ulong_t *)ubuf); in compat_vfp_set()