Searched refs:total_len (Results 1 – 15 of 15) sorted by relevance
/fs/ |
D | pipe.c | 291 size_t total_len; in pipe_read() local 293 total_len = iov_length(iov, nr_segs); in pipe_read() 295 if (unlikely(total_len == 0)) in pipe_read() 312 if (chars > total_len) in pipe_read() 313 chars = total_len; in pipe_read() 350 total_len -= chars; in pipe_read() 351 if (!total_len) in pipe_read() 404 size_t total_len; in pipe_write() local 407 total_len = iov_length(iov, nr_segs); in pipe_write() 409 if (unlikely(total_len == 0)) in pipe_write() [all …]
|
D | splice.c | 528 more = (sd->flags & SPLICE_F_MORE) || sd->len < sd->total_len; in pipe_to_sendpage() 630 if (sd->len > sd->total_len) in __splice_from_pipe() 631 sd->len = sd->total_len; in __splice_from_pipe() 647 sd->total_len -= err; in __splice_from_pipe() 660 if (!sd->total_len) in __splice_from_pipe() 728 .total_len = len, in splice_from_pipe() 768 .total_len = len, in generic_file_splice_write_nolock() 826 .total_len = len, in generic_file_splice_write() 990 len = sd->total_len; in splice_direct_to_actor() 1007 sd->total_len = read_len; in splice_direct_to_actor() [all …]
|
/fs/ext3/ |
D | xattr_trusted.c | 21 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_trusted_list() local 26 if (list && total_len <= list_size) { in ext3_xattr_trusted_list() 31 return total_len; in ext3_xattr_trusted_list()
|
D | xattr_user.c | 20 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_user_list() local 25 if (list && total_len <= list_size) { in ext3_xattr_user_list() 30 return total_len; in ext3_xattr_user_list()
|
D | xattr_security.c | 19 const size_t total_len = prefix_len + name_len + 1; in ext3_xattr_security_list() local 22 if (list && total_len <= list_size) { in ext3_xattr_security_list() 27 return total_len; in ext3_xattr_security_list()
|
/fs/ext4/ |
D | xattr_trusted.c | 21 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_trusted_list() local 26 if (list && total_len <= list_size) { in ext4_xattr_trusted_list() 31 return total_len; in ext4_xattr_trusted_list()
|
D | xattr_user.c | 20 const size_t total_len = prefix_len + name_len + 1; in ext4_xattr_user_list() local 25 if (list && total_len <= list_size) { in ext4_xattr_user_list() 30 return total_len; in ext4_xattr_user_list()
|
D | xattr_security.c | 19 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/ext2/ |
D | xattr_trusted.c | 20 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_trusted_list() local 25 if (list && total_len <= list_size) { in ext2_xattr_trusted_list() 30 return total_len; in ext2_xattr_trusted_list()
|
D | xattr_user.c | 19 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_user_list() local 24 if (list && total_len <= list_size) { in ext2_xattr_user_list() 29 return total_len; in ext2_xattr_user_list()
|
D | xattr_security.c | 18 const size_t total_len = prefix_len + name_len + 1; in ext2_xattr_security_list() local 20 if (list && total_len <= list_size) { in ext2_xattr_security_list() 25 return total_len; in ext2_xattr_security_list()
|
/fs/cifs/ |
D | transport.c | 165 unsigned int total_len; in smb_sendv() local 188 total_len = 0; in smb_sendv() 190 total_len += iov[i].iov_len; in smb_sendv() 193 cFYI(1, ("Sending smb: total_len %d", total_len)); in smb_sendv() 197 while (total_len) { in smb_sendv() 199 n_vec - first_vec, total_len); in smb_sendv() 233 if (rc == total_len) { in smb_sendv() 234 total_len = 0; in smb_sendv() 236 } else if (rc > total_len) { in smb_sendv() 237 cERROR(1, ("sent %d requested %d", rc, total_len)); in smb_sendv() [all …]
|
/fs/btrfs/ |
D | dir-item.c | 328 u32 total_len; in btrfs_match_dir_item_name() local 335 total_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_match_dir_item_name() 336 while (cur < total_len) { in btrfs_match_dir_item_name()
|
/fs/ocfs2/ |
D | xattr.c | 771 int total_len = prefix_len + name_len + 1; in ocfs2_xattr_list_entry() local 773 *result += total_len; in ocfs2_xattr_list_entry() 5318 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_security_list() local 5320 if (list && total_len <= list_size) { in ocfs2_xattr_security_list() 5325 return total_len; in ocfs2_xattr_security_list() 5386 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_trusted_list() local 5388 if (list && total_len <= list_size) { in ocfs2_xattr_trusted_list() 5393 return total_len; in ocfs2_xattr_trusted_list() 5430 const size_t total_len = prefix_len + name_len + 1; in ocfs2_xattr_user_list() local 5436 if (list && total_len <= list_size) { in ocfs2_xattr_user_list() [all …]
|
/fs/nfsd/ |
D | vfs.c | 915 .total_len = *count, in nfsd_vfs_read()
|