Lines Matching refs:nr_segs
1544 unsigned long nr_segs, unsigned int flags) in vmsplice_to_user() argument
1557 ret = import_iovec(READ, uiov, nr_segs, in vmsplice_to_user()
1584 unsigned long nr_segs, unsigned int flags) in vmsplice_to_pipe() argument
1606 spd.nr_pages = get_iovec_page_array(iov, nr_segs, spd.pages, in vmsplice_to_pipe()
1635 unsigned long, nr_segs, unsigned int, flags) in SYSCALL_DEFINE4() argument
1640 if (unlikely(nr_segs > UIO_MAXIOV)) in SYSCALL_DEFINE4()
1642 else if (unlikely(!nr_segs)) in SYSCALL_DEFINE4()
1649 error = vmsplice_to_pipe(f.file, iov, nr_segs, flags); in SYSCALL_DEFINE4()
1651 error = vmsplice_to_user(f.file, iov, nr_segs, flags); in SYSCALL_DEFINE4()
1661 unsigned int, nr_segs, unsigned int, flags) in COMPAT_SYSCALL_DEFINE4() argument
1665 if (nr_segs > UIO_MAXIOV) in COMPAT_SYSCALL_DEFINE4()
1667 iov = compat_alloc_user_space(nr_segs * sizeof(struct iovec)); in COMPAT_SYSCALL_DEFINE4()
1668 for (i = 0; i < nr_segs; i++) { in COMPAT_SYSCALL_DEFINE4()
1676 return sys_vmsplice(fd, iov, nr_segs, flags); in COMPAT_SYSCALL_DEFINE4()