Lines Matching refs:got_bytes
3421 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov()
3467 rdata->got_bytes = 0; in uncached_fill_pages()
3509 rdata->got_bytes += result; in uncached_fill_pages()
3512 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in uncached_fill_pages()
3513 rdata->got_bytes : result; in uncached_fill_pages()
3775 unsigned int got_bytes = rdata->got_bytes; in collect_uncached_read_data() local
3785 if (got_bytes && got_bytes < rdata->bytes) { in collect_uncached_read_data()
3806 rdata->offset + got_bytes, in collect_uncached_read_data()
3807 rdata->bytes - got_bytes, in collect_uncached_read_data()
3824 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()
3827 ctx->total_len += rdata->got_bytes; in collect_uncached_read_data()
4154 unsigned int i, got_bytes; in cifs_readv_complete() local
4158 got_bytes = rdata->got_bytes; in cifs_readv_complete()
4165 (rdata->result == -EAGAIN && got_bytes)) { in cifs_readv_complete()
4173 (rdata->result == -EAGAIN && got_bytes)) in cifs_readv_complete()
4176 got_bytes -= min_t(unsigned int, PAGE_SIZE, got_bytes); in cifs_readv_complete()
4201 rdata->got_bytes = 0; in readpages_fill_pages()
4263 rdata->got_bytes += result; in readpages_fill_pages()
4266 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in readpages_fill_pages()
4267 rdata->got_bytes : result; in readpages_fill_pages()