Lines Matching refs:total_written
1776 unsigned int total_written; in cifs_write() local
1798 for (total_written = 0; write_size > total_written; in cifs_write()
1799 total_written += bytes_written) { in cifs_write()
1816 (unsigned int)write_size - total_written); in cifs_write()
1818 iov[1].iov_base = (char *)write_data + total_written; in cifs_write()
1828 if (total_written) in cifs_write()
1842 cifs_stats_bytes_written(tcon, total_written); in cifs_write()
1844 if (total_written > 0) { in cifs_write()
1852 return total_written; in cifs_write()
2788 ssize_t total_written = 0; in cifs_user_writev() local
2861 total_written = ctx->total_len; in cifs_user_writev()
2865 total_written = ctx->total_len; in cifs_user_writev()
2870 if (unlikely(!total_written)) in cifs_user_writev()
2873 iocb->ki_pos += total_written; in cifs_user_writev()
2874 return total_written; in cifs_user_writev()