Home
last modified time | relevance | path

Searched refs:uiov (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/
H A Dptrace.c1209 struct iovec __user *uiov = datavp; in ptrace_request() local
1211 if (!access_ok(uiov, sizeof(*uiov))) in ptrace_request()
1214 if (__get_user(kiov.iov_base, &uiov->iov_base) || in ptrace_request()
1215 __get_user(kiov.iov_len, &uiov->iov_len)) in ptrace_request()
1220 ret = __put_user(kiov.iov_len, &uiov->iov_len); in ptrace_request()
1368 struct compat_iovec __user *uiov = in compat_ptrace_request() local
1373 if (!access_ok(uiov, sizeof(*uiov))) in compat_ptrace_request()
1376 if (__get_user(ptr, &uiov->iov_base) || in compat_ptrace_request()
1377 __get_user(len, &uiov->iov_len)) in compat_ptrace_request()
1385 ret = __put_user(kiov.iov_len, &uiov->iov_len); in compat_ptrace_request()
/linux/arch/arm64/kernel/
H A Dmte.c501 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()
/linux/io_uring/
H A Drw.c52 struct compat_iovec __user *uiov; in io_iov_compat_buffer_select_prep() local
55 uiov = u64_to_user_ptr(rw->addr); in io_iov_compat_buffer_select_prep()
56 if (!access_ok(uiov, sizeof(*uiov))) in io_iov_compat_buffer_select_prep()
58 if (__get_user(clen, &uiov->iov_len)) in io_iov_compat_buffer_select_prep()
70 struct iovec __user *uiov; in io_iov_buffer_select_prep() local
82 uiov = u64_to_user_ptr(rw->addr); in io_iov_buffer_select_prep()
83 if (copy_from_user(&iov, uiov, sizeof(*uiov))) in io_iov_buffer_select_prep()
H A Dnet.c216 struct compat_iovec __user *uiov; in io_compat_msg_copy_hdr() local
231 uiov = compat_ptr(msg->msg_iov); in io_compat_msg_copy_hdr()
241 if (!access_ok(uiov, sizeof(*uiov))) in io_compat_msg_copy_hdr()
243 if (__get_user(clen, &uiov->iov_len)) in io_compat_msg_copy_hdr()
253 ret = __import_iovec(ddir, (struct iovec __user *)uiov, msg->msg_iovlen, in io_compat_msg_copy_hdr()
/linux/lib/
H A Diov_iter.c1324 const struct compat_iovec __user *uiov = in copy_compat_iovec_from_user() local
1329 if (!user_access_begin(uiov, nr_segs * sizeof(*uiov))) in copy_compat_iovec_from_user()
1336 unsafe_get_user(len, &uiov[i].iov_len, uaccess_end); in copy_compat_iovec_from_user()
1337 unsafe_get_user(buf, &uiov[i].iov_base, uaccess_end); in copy_compat_iovec_from_user()
1355 const struct iovec __user *uiov, unsigned long nr_segs) in copy_iovec_from_user() argument
1359 if (!user_access_begin(uiov, nr_segs * sizeof(*uiov))) in copy_iovec_from_user()
1366 unsafe_get_user(len, &uiov->iov_len, uaccess_end); in copy_iovec_from_user()
1367 unsafe_get_user(buf, &uiov->iov_base, uaccess_end); in copy_iovec_from_user()
1377 uiov++; iov++; in copy_iovec_from_user()
/linux/fs/
H A Dsplice.c1598 SYSCALL_DEFINE4(vmsplice, int, fd, const struct iovec __user *, uiov, in SYSCALL_DEFINE4() argument
1616 error = import_iovec(type, uiov, nr_segs, in SYSCALL_DEFINE4()