Searched refs:nr_segs (Results 1 – 7 of 7) sorted by relevance
/fs/ksmbd/ |
D | transport_tcp.c | 117 unsigned int nr_segs, size_t bytes) in kvec_array_init() argument 128 nr_segs--; in kvec_array_init() 133 memcpy(new, iov, sizeof(*iov) * nr_segs); in kvec_array_init() 136 return nr_segs; in kvec_array_init() 146 static struct kvec *get_conn_iovec(struct tcp_transport *t, unsigned int nr_segs) in get_conn_iovec() argument 150 if (t->iov && nr_segs <= t->nr_iov) in get_conn_iovec() 154 new_iov = kmalloc_array(nr_segs, sizeof(*new_iov), GFP_KERNEL); in get_conn_iovec() 158 t->nr_iov = nr_segs; in get_conn_iovec() 305 unsigned int nr_segs, unsigned int to_read, in ksmbd_tcp_readv() argument 315 iov = get_conn_iovec(t, nr_segs); in ksmbd_tcp_readv() [all …]
|
/fs/fuse/ |
D | dev.c | 667 unsigned long nr_segs; member 723 BUG_ON(!cs->nr_segs); in fuse_copy_fill() 729 cs->nr_segs--; in fuse_copy_fill() 731 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill() 747 cs->nr_segs++; in fuse_copy_fill() 824 BUG_ON(!cs->nr_segs); in fuse_try_move_page() 828 cs->nr_segs--; in fuse_try_move_page() 916 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page() 934 cs->nr_segs++; in fuse_ref_page() 1411 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read() [all …]
|
/fs/ |
D | splice.c | 1297 unsigned long, nr_segs, unsigned int, flags) in SYSCALL_DEFINE4() argument 1314 error = import_iovec(type, uiov, nr_segs, in SYSCALL_DEFINE4()
|
/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 | 2027 struct kvec *iov, unsigned long nr_segs) in smb2_sync_write() argument 2032 return SMB2_write(xid, parms, written, iov, nr_segs); in smb2_sync_write()
|
/fs/ocfs2/ |
D | file.c | 2377 (unsigned int)from->nr_segs); /* GRRRRR */ in ocfs2_file_write_iter() 2525 to->nr_segs); /* GRRRRR */ in ocfs2_file_read_iter()
|
/fs/btrfs/ |
D | file.c | 3750 for (seg = 0; seg < iter->nr_segs; seg++) in check_direct_read() 3751 for (i = seg + 1; i < iter->nr_segs; i++) in check_direct_read()
|