Searched refs:uiov (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | mte.c | 320 struct iovec __user *uiov = (void __user *)data; in mte_ptrace_copy_tags() local 326 if (get_user(kiov.iov_base, &uiov->iov_base) || in mte_ptrace_copy_tags() 327 get_user(kiov.iov_len, &uiov->iov_len)) in mte_ptrace_copy_tags() 338 ret = put_user(kiov.iov_len, &uiov->iov_len); in mte_ptrace_copy_tags()
|
/kernel/linux/linux-5.10/kernel/ |
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() 1386 struct compat_iovec __user *uiov = in compat_ptrace_request() local 1391 if (!access_ok(uiov, sizeof(*uiov))) in compat_ptrace_request() 1394 if (__get_user(ptr, &uiov->iov_base) || in compat_ptrace_request() 1395 __get_user(len, &uiov->iov_len)) in compat_ptrace_request() 1403 ret = __put_user(kiov.iov_len, &uiov->iov_len); in compat_ptrace_request()
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 1653 const struct compat_iovec __user *uiov = in copy_compat_iovec_from_user() local 1657 if (!user_access_begin(uiov, nr_segs * sizeof(*uiov))) in copy_compat_iovec_from_user() 1664 unsafe_get_user(len, &uiov[i].iov_len, uaccess_end); in copy_compat_iovec_from_user() 1665 unsafe_get_user(buf, &uiov[i].iov_base, uaccess_end); in copy_compat_iovec_from_user()
|
/kernel/linux/linux-5.10/include/linux/ |
D | socket.h | 412 struct iovec __user **uiov, size_t *nsegs);
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 411 struct iovec __user **uiov, size_t *nsegs);
|
/kernel/linux/linux-5.10/io_uring/ |
D | io_uring.c | 3214 struct compat_iovec __user *uiov; in io_compat_import() local 3219 uiov = u64_to_user_ptr(req->rw.addr); in io_compat_import() 3220 if (!access_ok(uiov, sizeof(*uiov))) in io_compat_import() 3222 if (__get_user(clen, &uiov->iov_len)) in io_compat_import() 3240 struct iovec __user *uiov = u64_to_user_ptr(req->rw.addr); in __io_iov_buffer_select() local 3244 if (copy_from_user(iov, uiov, sizeof(*uiov))) in __io_iov_buffer_select() 4862 struct iovec __user *uiov; in __io_recvmsg_copy_hdr() local 4867 &iomsg->uaddr, &uiov, &iov_len); in __io_recvmsg_copy_hdr() 4874 if (copy_from_user(iomsg->fast_iov, uiov, sizeof(*uiov))) in __io_recvmsg_copy_hdr() 4880 ret = __import_iovec(READ, uiov, iov_len, UIO_FASTIOV, in __io_recvmsg_copy_hdr() [all …]
|
/kernel/linux/linux-5.10/fs/ |
D | splice.c | 1289 SYSCALL_DEFINE4(vmsplice, int, fd, const struct iovec __user *, uiov, in SYSCALL_DEFINE4() argument 1307 error = import_iovec(type, uiov, nr_segs, in SYSCALL_DEFINE4()
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 2233 struct iovec __user **uiov, size_t *nsegs) in __copy_msghdr_from_user() argument 2276 *uiov = msg.msg_iov; in __copy_msghdr_from_user()
|