Searched refs:nr_segs (Results 1 – 11 of 11) sorted by relevance
/fs/smb/server/ |
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 | 665 unsigned long nr_segs; member 721 BUG_ON(!cs->nr_segs); in fuse_copy_fill() 727 cs->nr_segs--; in fuse_copy_fill() 729 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_copy_fill() 745 cs->nr_segs++; in fuse_copy_fill() 821 BUG_ON(!cs->nr_segs); in fuse_try_move_page() 825 cs->nr_segs--; in fuse_try_move_page() 914 if (cs->nr_segs >= cs->pipe->max_usage) in fuse_ref_page() 932 cs->nr_segs++; in fuse_ref_page() 1409 if (pipe_occupancy(pipe->head, pipe->tail) + cs.nr_segs > pipe->max_usage) { in fuse_dev_splice_read() [all …]
|
/fs/smb/client/ |
D | cifsencrypt.c | 39 for (i = 0; i < iter->nr_segs; i++) { in cifs_shash_bvec() 77 for (i = 0; i < iter->nr_segs; i++) { in cifs_shash_kvec()
|
D | smb1ops.c | 782 struct kvec *iov, unsigned long nr_segs) in cifs_sync_write() argument 786 return CIFSSMBWrite2(xid, parms, written, iov, nr_segs); in cifs_sync_write()
|
D | smbdirect.c | 2444 for (i = 0; i < iter->nr_segs; i++) { in smb_extract_bvec_to_rdma() 2483 for (i = 0; i < iter->nr_segs; i++) { in smb_extract_kvec_to_rdma()
|
D | file.c | 3470 unsigned int nbv = iter->nr_segs, ix = 0, nsegs = 0; in cifs_limit_bvec_subset() 3560 cur_len, max_len, nsegs, from->nr_segs, max_segs); in cifs_write_from_iter() 4091 cur_len, max_len, nsegs, ctx->iter.nr_segs, max_segs); in cifs_send_async_read()
|
D | smb2ops.c | 1916 struct kvec *iov, unsigned long nr_segs) in smb2_sync_write() argument 1921 return SMB2_write(xid, parms, written, iov, nr_segs); in smb2_sync_write()
|
/fs/btrfs/ |
D | bio.c | 83 unsigned int nr_segs; in btrfs_split_bio() local 85 bio = bio_split_rw(&orig_bbio->bio, &fs_info->limits, &nr_segs, in btrfs_split_bio()
|
D | file.c | 3761 for (seg = 0; seg < iter->nr_segs; seg++) { in check_direct_read() 3762 for (i = seg + 1; i < iter->nr_segs; i++) { in check_direct_read()
|
/fs/ |
D | splice.c | 1533 unsigned long, nr_segs, unsigned int, flags) in SYSCALL_DEFINE4() argument 1550 error = import_iovec(type, uiov, nr_segs, in SYSCALL_DEFINE4()
|
/fs/ocfs2/ |
D | file.c | 2375 (unsigned int)from->nr_segs); /* GRRRRR */ in ocfs2_file_write_iter() 2523 to->nr_segs); /* GRRRRR */ in ocfs2_file_read_iter()
|