Searched refs:uiov (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/kernel/ |
H A D | ptrace.c | 1229 struct iovec __user *uiov = datavp; in ptrace_request() local 1231 if (!access_ok(uiov, sizeof(*uiov))) in ptrace_request() 1234 if (__get_user(kiov.iov_base, &uiov->iov_base) || in ptrace_request() 1235 __get_user(kiov.iov_len, &uiov->iov_len)) in ptrace_request() 1240 ret = __put_user(kiov.iov_len, &uiov->iov_len); in ptrace_request() 1388 struct compat_iovec __user *uiov = in compat_ptrace_request() local 1393 if (!access_ok(uiov, sizeof(*uiov))) in compat_ptrace_request() 1396 if (__get_user(ptr, &uiov->iov_base) || in compat_ptrace_request() 1397 __get_user(len, &uiov->iov_len)) in compat_ptrace_request() 1405 ret = __put_user(kiov.iov_len, &uiov->iov_len); in compat_ptrace_request()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | mte.c | 501 struct iovec __user *uiov = (void __user *)data; in mte_ptrace_copy_tags() local 507 if (get_user(kiov.iov_base, &uiov->iov_base) || in mte_ptrace_copy_tags() 508 get_user(kiov.iov_len, &uiov->iov_len)) in mte_ptrace_copy_tags() 519 ret = put_user(kiov.iov_len, &uiov->iov_len); in mte_ptrace_copy_tags()
|
/openbmc/linux/io_uring/ |
H A D | rw.c | 39 struct compat_iovec __user *uiov; in io_iov_compat_buffer_select_prep() local 42 uiov = u64_to_user_ptr(rw->addr); in io_iov_compat_buffer_select_prep() 43 if (!access_ok(uiov, sizeof(*uiov))) in io_iov_compat_buffer_select_prep() 45 if (__get_user(clen, &uiov->iov_len)) in io_iov_compat_buffer_select_prep() 57 struct iovec __user *uiov; in io_iov_buffer_select_prep() local 69 uiov = u64_to_user_ptr(rw->addr); in io_iov_buffer_select_prep() 70 if (copy_from_user(&iov, uiov, sizeof(*uiov))) in io_iov_buffer_select_prep()
|
H A D | net.c | 213 struct compat_iovec __user *uiov; in io_compat_msg_copy_hdr() local 219 uiov = compat_ptr(msg->msg_iov); in io_compat_msg_copy_hdr() 229 if (!access_ok(uiov, sizeof(*uiov))) in io_compat_msg_copy_hdr() 231 if (__get_user(clen, &uiov->iov_len)) in io_compat_msg_copy_hdr() 242 ret = __import_iovec(ddir, (struct iovec __user *)uiov, msg->msg_iovlen, in io_compat_msg_copy_hdr()
|
/openbmc/linux/lib/ |
H A D | iov_iter.c | 1338 const struct compat_iovec __user *uiov = in copy_compat_iovec_from_user() local 1342 if (!user_access_begin(uiov, nr_segs * sizeof(*uiov))) in copy_compat_iovec_from_user() 1349 unsafe_get_user(len, &uiov[i].iov_len, uaccess_end); in copy_compat_iovec_from_user() 1350 unsafe_get_user(buf, &uiov[i].iov_base, uaccess_end); in copy_compat_iovec_from_user() 1368 const struct iovec __user *uiov, unsigned long nr_segs) in copy_iovec_from_user() argument 1372 if (!user_access_begin(uiov, nr_segs * sizeof(*uiov))) in copy_iovec_from_user() 1379 unsafe_get_user(len, &uiov->iov_len, uaccess_end); in copy_iovec_from_user() 1380 unsafe_get_user(buf, &uiov->iov_base, uaccess_end); in copy_iovec_from_user() 1390 uiov++; iov++; in copy_iovec_from_user()
|
/openbmc/linux/fs/ |
H A D | splice.c | 1532 SYSCALL_DEFINE4(vmsplice, int, fd, const struct iovec __user *, uiov, in SYSCALL_DEFINE4() argument 1550 error = import_iovec(type, uiov, nr_segs, in SYSCALL_DEFINE4()
|