Home
last modified time | relevance | path

Searched refs:copy_to_user_errcode (Results 1 – 2 of 2) sorted by relevance

/linux/fs/bcachefs/
H A Dchardev.c158 return copy_to_user_errcode(&user_arg->uuid, &c->sb.user_uuid, in bch2_ioctl_query_uuid()
345 return copy_to_user_errcode(buf, &e, sizeof(e)) ?: sizeof(e); in bch2_data_job_read()
396 copy_to_user_errcode(&user_arg->replicas, replicas.data, replicas.nr); in bch2_ioctl_fs_usage()
417 ret = copy_to_user_errcode(user_arg, &arg, sizeof(arg)); in bch2_ioctl_fs_usage()
436 copy_to_user_errcode(&user_arg->accounting, accounting.data, accounting.nr); in bch2_ioctl_query_accounting()
445 ret = copy_to_user_errcode(user_arg, &arg, sizeof(arg)); in bch2_ioctl_query_accounting()
490 return copy_to_user_errcode(user_arg, &arg, sizeof(arg)); in bch2_ioctl_dev_usage()
524 ret = copy_to_user_errcode(user_arg, &arg, sizeof(arg)); in bch2_ioctl_dev_usage_v2()
535 ret = copy_to_user_errcode(&user_arg->d[i], &t, sizeof(t)); in bch2_ioctl_dev_usage_v2()
576 ret = copy_to_user_errcode((void __user *)(unsigned long)arg.sb, sb, in bch2_ioctl_read_super()
H A Dutil.h684 static inline int copy_to_user_errcode(void __user *to, const void *from, unsigned long n) in copy_to_user_errcode() function