Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 18 of 18) sorted by relevance

/fs/cifs/
Dtransport.c131 unsigned int total_len; in smb_sendv() local
148 total_len = 0; in smb_sendv()
150 total_len += iov[i].iov_len; in smb_sendv()
152 cFYI(1, "Sending smb: total_len %d", total_len); in smb_sendv()
156 while (total_len) { in smb_sendv()
158 n_vec - first_vec, total_len); in smb_sendv()
191 if (rc == total_len) { in smb_sendv()
192 total_len = 0; in smb_sendv()
194 } else if (rc > total_len) { in smb_sendv()
195 cERROR(1, "sent %d requested %d", rc, total_len); in smb_sendv()
[all …]
/fs/
Dpipe.c373 size_t total_len; in pipe_read() local
375 total_len = iov_length(iov, nr_segs); in pipe_read()
377 if (unlikely(total_len == 0)) in pipe_read()
395 if (chars > total_len) in pipe_read()
396 chars = total_len; in pipe_read()
431 total_len = chars; in pipe_read()
443 total_len -= chars; in pipe_read()
444 if (!total_len) in pipe_read()
502 size_t total_len; in pipe_write() local
505 total_len = iov_length(iov, nr_segs); in pipe_write()
[all …]
Dsplice.c700 if (sd->len < sd->total_len && pipe->nrbufs > 1) in pipe_to_sendpage()
802 if (sd->len > sd->total_len) in splice_from_pipe_feed()
803 sd->len = sd->total_len; in splice_from_pipe_feed()
822 sd->total_len -= ret; in splice_from_pipe_feed()
833 if (!sd->total_len) in splice_from_pipe_feed()
961 .total_len = len, in splice_from_pipe()
994 .total_len = len, in generic_file_splice_write()
1202 len = sd->total_len; in splice_direct_to_actor()
1219 sd->total_len = read_len; in splice_direct_to_actor()
1273 return do_splice_from(pipe, file, &file->f_pos, sd->total_len, in direct_splice_actor()
[all …]
/fs/ext2/
Dxattr_trusted.c16 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_trusted_list() local
21 if (list && total_len <= list_size) { in ext2_xattr_trusted_list()
26 return total_len; in ext2_xattr_trusted_list()
Dxattr_user.c18 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_user_list() local
23 if (list && total_len <= list_size) { in ext2_xattr_user_list()
28 return total_len; in ext2_xattr_user_list()
Dxattr_security.c15 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_security_list() local
17 if (list && total_len <= list_size) { in ext2_xattr_security_list()
22 return total_len; in ext2_xattr_security_list()
/fs/ext3/
Dxattr_trusted.c16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_trusted_list() local
21 if (list && total_len <= list_size) { in ext3_xattr_trusted_list()
26 return total_len; in ext3_xattr_trusted_list()
Dxattr_user.c16 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_user_list() local
21 if (list && total_len <= list_size) { in ext3_xattr_user_list()
26 return total_len; in ext3_xattr_user_list()
Dxattr_security.c15 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_security_list() local
18 if (list && total_len <= list_size) { in ext3_xattr_security_list()
23 return total_len; in ext3_xattr_security_list()
/fs/ext4/
Dxattr_trusted.c20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_trusted_list() local
25 if (list && total_len <= list_size) { in ext4_xattr_trusted_list()
30 return total_len; in ext4_xattr_trusted_list()
Dxattr_user.c19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_user_list() local
24 if (list && total_len <= list_size) { in ext4_xattr_user_list()
29 return total_len; in ext4_xattr_user_list()
Dxattr_security.c19 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_security_list() local
22 if (list && total_len <= list_size) { in ext4_xattr_security_list()
27 return total_len; in ext4_xattr_security_list()
/fs/btrfs/
Ddir-item.c329 u32 total_len; in btrfs_match_dir_item_name() local
339 total_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_match_dir_item_name()
340 while (cur < total_len) { in btrfs_match_dir_item_name()
Dioctl.c1808 int total_len = 0; in btrfs_search_path_in_tree() local
1858 total_len += len + 1; in btrfs_search_path_in_tree()
1875 memmove(name, ptr, total_len); in btrfs_search_path_in_tree()
1876 name[total_len]='\0'; in btrfs_search_path_in_tree()
/fs/fuse/
Ddev.c1548 size_t total_len = 0; in fuse_retrieve() local
1585 total_len += this_num; in fuse_retrieve()
1589 req->misc.retrieve_in.size = total_len; in fuse_retrieve()
1592 req->in.args[1].size = total_len; in fuse_retrieve()
/fs/ocfs2/
Dxattr.c893 int total_len = prefix_len + name_len + 1; in ocfs2_xattr_list_entry() local
895 *result += total_len; in ocfs2_xattr_list_entry()
7230 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_security_list() local
7232 if (list && total_len <= list_size) { in ocfs2_xattr_security_list()
7237 return total_len; in ocfs2_xattr_security_list()
7320 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_trusted_list() local
7322 if (list && total_len <= list_size) { in ocfs2_xattr_trusted_list()
7327 return total_len; in ocfs2_xattr_trusted_list()
7364 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_user_list() local
7370 if (list && total_len <= list_size) { in ocfs2_xattr_user_list()
[all …]
Dfile.c2452 sd->total_len, 0, NULL, NULL); in ocfs2_splice_to_file()
2471 .total_len = len, in ocfs2_file_splice_write()
/fs/nfsd/
Dvfs.c926 .total_len = *count, in nfsd_vfs_read()