Lines Matching refs:nr_segs
1553 unsigned long nr_segs, unsigned int flags) in vmsplice_to_user() argument
1566 ret = import_iovec(READ, uiov, nr_segs, in vmsplice_to_user()
1593 unsigned long nr_segs, unsigned int flags) in vmsplice_to_pipe() argument
1615 spd.nr_pages = get_iovec_page_array(iov, nr_segs, spd.pages, in vmsplice_to_pipe()
1644 unsigned long, nr_segs, unsigned int, flags) in SYSCALL_DEFINE4() argument
1649 if (unlikely(nr_segs > UIO_MAXIOV)) in SYSCALL_DEFINE4()
1651 else if (unlikely(!nr_segs)) in SYSCALL_DEFINE4()
1658 error = vmsplice_to_pipe(f.file, iov, nr_segs, flags); in SYSCALL_DEFINE4()
1660 error = vmsplice_to_user(f.file, iov, nr_segs, flags); in SYSCALL_DEFINE4()
1670 unsigned int, nr_segs, unsigned int, flags) in COMPAT_SYSCALL_DEFINE4() argument
1674 if (nr_segs > UIO_MAXIOV) in COMPAT_SYSCALL_DEFINE4()
1676 iov = compat_alloc_user_space(nr_segs * sizeof(struct iovec)); in COMPAT_SYSCALL_DEFINE4()
1677 for (i = 0; i < nr_segs; i++) { in COMPAT_SYSCALL_DEFINE4()
1685 return sys_vmsplice(fd, iov, nr_segs, flags); in COMPAT_SYSCALL_DEFINE4()