Home
last modified time | relevance | path

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

/fs/
Dpipe.c385 size_t total_len; in pipe_read() local
387 total_len = iov_length(iov, nr_segs); in pipe_read()
389 if (unlikely(total_len == 0)) in pipe_read()
406 if (chars > total_len) in pipe_read()
407 chars = total_len; in pipe_read()
442 total_len = chars; in pipe_read()
454 total_len -= chars; in pipe_read()
455 if (!total_len) in pipe_read()
512 size_t total_len; in pipe_write() local
515 total_len = iov_length(iov, nr_segs); in pipe_write()
[all …]
Dsplice.c703 if (sd->len < sd->total_len && pipe->nrbufs > 1) in pipe_to_sendpage()
805 if (sd->len > sd->total_len) in splice_from_pipe_feed()
806 sd->len = sd->total_len; in splice_from_pipe_feed()
825 sd->total_len -= ret; in splice_from_pipe_feed()
836 if (!sd->total_len) in splice_from_pipe_feed()
964 .total_len = len, in splice_from_pipe()
997 .total_len = len, in generic_file_splice_write()
1206 len = sd->total_len; in splice_direct_to_actor()
1223 sd->total_len = read_len; in splice_direct_to_actor()
1277 return do_splice_from(pipe, file, sd->opos, 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/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/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/f2fs/
Dxattr.c30 int total_len, prefix_len = 0; in f2fs_xattr_generic_list() local
50 total_len = prefix_len + name_len + 1; in f2fs_xattr_generic_list()
51 if (list && total_len <= list_size) { in f2fs_xattr_generic_list()
56 return total_len; in f2fs_xattr_generic_list()
/fs/cifs/
Dtransport.c281 size_t total_len = 0, sent; in smb_send_rqst() local
299 total_len += sent; in smb_send_rqst()
311 total_len += sent; in smb_send_rqst()
320 if ((total_len > 0) && (total_len != smb_buf_length + 4)) { in smb_send_rqst()
322 smb_buf_length + 4, total_len); in smb_send_rqst()
/fs/btrfs/
Ddir-item.c392 u32 total_len; in btrfs_match_dir_item_name() local
402 total_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_match_dir_item_name()
403 while (cur < total_len) { in btrfs_match_dir_item_name()
Dioctl.c1956 int total_len = 0; in btrfs_search_path_in_tree() local
2006 total_len += len + 1; in btrfs_search_path_in_tree()
2023 memmove(name, ptr, total_len); in btrfs_search_path_in_tree()
2024 name[total_len]='\0'; in btrfs_search_path_in_tree()
Dsend.c424 int total_len = sizeof(*hdr) + len; in tlv_put() local
427 if (unlikely(left < total_len)) in tlv_put()
434 sctx->send_size += total_len; in tlv_put()
/fs/fuse/
Ddev.c1646 size_t total_len = 0; in fuse_retrieve() local
1689 total_len += this_num; in fuse_retrieve()
1693 req->misc.retrieve_in.size = total_len; in fuse_retrieve()
1696 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()
7220 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_security_list() local
7222 if (list && total_len <= list_size) { in ocfs2_xattr_security_list()
7227 return total_len; in ocfs2_xattr_security_list()
7310 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_trusted_list() local
7312 if (list && total_len <= list_size) { in ocfs2_xattr_trusted_list()
7317 return total_len; in ocfs2_xattr_trusted_list()
7354 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_user_list() local
7360 if (list && total_len <= list_size) { in ocfs2_xattr_user_list()
[all …]
Dfile.c2437 sd->total_len, 0, NULL, NULL); in ocfs2_splice_to_file()
2456 .total_len = len, in ocfs2_file_splice_write()
/fs/nfsd/
Dvfs.c932 .total_len = *count, in nfsd_vfs_read()