Searched refs:nr_segs (Results 1 – 9 of 9) sorted by relevance
/fs/ |
D | read_write.c | 768 unsigned long nr_segs, unsigned long fast_segs, in rw_copy_check_uvector() argument 781 if (nr_segs == 0) { in rw_copy_check_uvector() 790 if (nr_segs > UIO_MAXIOV) { in rw_copy_check_uvector() 794 if (nr_segs > fast_segs) { in rw_copy_check_uvector() 795 iov = kmalloc_array(nr_segs, sizeof(struct iovec), GFP_KERNEL); in rw_copy_check_uvector() 801 if (copy_from_user(iov, uvector, nr_segs*sizeof(*uvector))) { in rw_copy_check_uvector() 816 for (seg = 0; seg < nr_segs; seg++) { in rw_copy_check_uvector() 844 const struct compat_iovec __user *uvector, unsigned long nr_segs, in compat_rw_copy_check_uvector() argument 858 if (nr_segs == 0) in compat_rw_copy_check_uvector() 862 if (nr_segs > UIO_MAXIOV) in compat_rw_copy_check_uvector() [all …]
|
D | splice.c | 1362 unsigned long, nr_segs, unsigned int, flags) in SYSCALL_DEFINE4() argument 1376 error = import_iovec(type, uiov, nr_segs, in SYSCALL_DEFINE4() 1388 unsigned int, nr_segs, unsigned int, flags) in COMPAT_SYSCALL_DEFINE4() argument 1402 error = compat_import_iovec(type, iov32, nr_segs, in COMPAT_SYSCALL_DEFINE4()
|
D | io_uring.c | 1230 iter->nr_segs -= seg_skip; in io_import_fixed()
|
/fs/fuse/ |
D | dev.c | 644 unsigned long nr_segs; member 700 BUG_ON(!cs->nr_segs); in fuse_copy_fill() 706 cs->nr_segs--; in fuse_copy_fill() 708 if (cs->nr_segs == cs->pipe->buffers) in fuse_copy_fill() 724 cs->nr_segs++; in fuse_copy_fill() 799 BUG_ON(!cs->nr_segs); in fuse_try_move_page() 803 cs->nr_segs--; in fuse_try_move_page() 884 if (cs->nr_segs == cs->pipe->buffers) in fuse_ref_page() 900 cs->nr_segs++; in fuse_ref_page() 1358 if (pipe->nrbufs + cs.nr_segs > pipe->buffers) { in fuse_dev_splice_read() [all …]
|
/fs/cifs/ |
D | smb1ops.c | 747 struct kvec *iov, unsigned long nr_segs) in cifs_sync_write() argument 751 return CIFSSMBWrite2(xid, parms, written, iov, nr_segs); in cifs_sync_write()
|
D | smb2ops.c | 1743 struct kvec *iov, unsigned long nr_segs) in smb2_sync_write() argument 1748 return SMB2_write(xid, parms, written, iov, nr_segs); in smb2_sync_write()
|
/fs/afs/ |
D | rxrpc.c | 342 nr = msg->msg_iter.nr_segs; in afs_send_pages()
|
/fs/ocfs2/ |
D | file.c | 2299 (unsigned int)from->nr_segs); /* GRRRRR */ in ocfs2_file_write_iter() 2447 to->nr_segs); /* GRRRRR */ in ocfs2_file_read_iter()
|
/fs/btrfs/ |
D | inode.c | 8644 for (seg = 0; seg < iter->nr_segs; seg++) { in check_direct_IO() 8645 for (i = seg + 1; i < iter->nr_segs; i++) { in check_direct_IO()
|