Searched refs:got_bytes (Results 1 – 6 of 6) sorted by relevance
4346 if (rdata->got_bytes) { in smb2_readv_callback()4367 iov_iter_revert(&rqst.rq_iter, rdata->got_bytes); in smb2_readv_callback()4368 iov_iter_truncate(&rqst.rq_iter, rdata->got_bytes); in smb2_readv_callback()4375 task_io_account_read(rdata->got_bytes); in smb2_readv_callback()4376 cifs_stats_bytes_read(tcon, rdata->got_bytes); in smb2_readv_callback()4381 if (server->sign && rdata->got_bytes) in smb2_readv_callback()4383 rdata->got_bytes = 0; in smb2_readv_callback()4385 task_io_account_read(rdata->got_bytes); in smb2_readv_callback()4386 cifs_stats_bytes_read(tcon, rdata->got_bytes); in smb2_readv_callback()4416 rdata->offset, rdata->got_bytes); in smb2_readv_callback()
4043 unsigned int got_bytes = rdata->got_bytes; in collect_uncached_read_data() local4058 rdata->offset + got_bytes, in collect_uncached_read_data()4059 rdata->bytes - got_bytes, in collect_uncached_read_data()4074 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()4077 ctx->total_len += rdata->got_bytes; in collect_uncached_read_data()4456 bool good = rdata->result == 0 || (rdata->result == -EAGAIN && rdata->got_bytes); in cifs_readahead_complete()
1291 task_io_account_read(rdata->got_bytes); in cifs_readv_callback()1292 cifs_stats_bytes_read(tcon, rdata->got_bytes); in cifs_readv_callback()1297 if (server->sign && rdata->got_bytes) in cifs_readv_callback()1299 rdata->got_bytes = 0; in cifs_readv_callback()1301 task_io_account_read(rdata->got_bytes); in cifs_readv_callback()1302 cifs_stats_bytes_read(tcon, rdata->got_bytes); in cifs_readv_callback()
1463 ssize_t got_bytes; member
1814 rdata->got_bytes += length; in cifs_readv_receive()
4736 rdata->got_bytes = pages_len; in handle_read_data()4745 rdata->got_bytes = data_len; in handle_read_data()