Searched refs:uiov (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | mte.c | 317 struct iovec __user *uiov = (void __user *)data; in mte_ptrace_copy_tags() local 323 if (get_user(kiov.iov_base, &uiov->iov_base) || in mte_ptrace_copy_tags() 324 get_user(kiov.iov_len, &uiov->iov_len)) in mte_ptrace_copy_tags() 335 ret = put_user(kiov.iov_len, &uiov->iov_len); in mte_ptrace_copy_tags()
|
/kernel/linux/linux-5.10/kernel/ |
D | ptrace.c | 1230 struct iovec __user *uiov = datavp; in ptrace_request() local 1232 if (!access_ok(uiov, sizeof(*uiov))) in ptrace_request() 1235 if (__get_user(kiov.iov_base, &uiov->iov_base) || in ptrace_request() 1236 __get_user(kiov.iov_len, &uiov->iov_len)) in ptrace_request() 1241 ret = __put_user(kiov.iov_len, &uiov->iov_len); in ptrace_request() 1387 struct compat_iovec __user *uiov = in compat_ptrace_request() local 1392 if (!access_ok(uiov, sizeof(*uiov))) in compat_ptrace_request() 1395 if (__get_user(ptr, &uiov->iov_base) || in compat_ptrace_request() 1396 __get_user(len, &uiov->iov_len)) in compat_ptrace_request() 1404 ret = __put_user(kiov.iov_len, &uiov->iov_len); in compat_ptrace_request()
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 1667 const struct compat_iovec __user *uiov = in copy_compat_iovec_from_user() local 1671 if (!user_access_begin(uiov, nr_segs * sizeof(*uiov))) in copy_compat_iovec_from_user() 1678 unsafe_get_user(len, &uiov[i].iov_len, uaccess_end); in copy_compat_iovec_from_user() 1679 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/fs/ |
D | io_uring.c | 3017 struct compat_iovec __user *uiov; in io_compat_import() local 3022 uiov = u64_to_user_ptr(req->rw.addr); in io_compat_import() 3023 if (!access_ok(uiov, sizeof(*uiov))) in io_compat_import() 3025 if (__get_user(clen, &uiov->iov_len)) in io_compat_import() 3043 struct iovec __user *uiov = u64_to_user_ptr(req->rw.addr); in __io_iov_buffer_select() local 3047 if (copy_from_user(iov, uiov, sizeof(*uiov))) in __io_iov_buffer_select() 4483 struct iovec __user *uiov; in __io_recvmsg_copy_hdr() local 4488 &iomsg->uaddr, &uiov, &iov_len); in __io_recvmsg_copy_hdr() 4495 if (copy_from_user(iomsg->iov, uiov, sizeof(*uiov))) in __io_recvmsg_copy_hdr() 4502 ret = __import_iovec(READ, uiov, iov_len, UIO_FASTIOV, in __io_recvmsg_copy_hdr() [all …]
|
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 | 2219 struct iovec __user **uiov, size_t *nsegs) in __copy_msghdr_from_user() argument 2262 *uiov = msg.msg_iov; in __copy_msghdr_from_user()
|