Lines Matching refs:got_bytes
3519 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov()
3565 rdata->got_bytes = 0; in uncached_fill_pages()
3607 rdata->got_bytes += result; in uncached_fill_pages()
3610 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in uncached_fill_pages()
3611 rdata->got_bytes : result; in uncached_fill_pages()
3873 unsigned int got_bytes = rdata->got_bytes; in collect_uncached_read_data() local
3883 if (got_bytes && got_bytes < rdata->bytes) { in collect_uncached_read_data()
3904 rdata->offset + got_bytes, in collect_uncached_read_data()
3905 rdata->bytes - got_bytes, in collect_uncached_read_data()
3922 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()
3925 ctx->total_len += rdata->got_bytes; in collect_uncached_read_data()
4256 unsigned int i, got_bytes; in cifs_readv_complete() local
4260 got_bytes = rdata->got_bytes; in cifs_readv_complete()
4267 (rdata->result == -EAGAIN && got_bytes)) { in cifs_readv_complete()
4276 (rdata->result == -EAGAIN && got_bytes)) in cifs_readv_complete()
4281 got_bytes -= min_t(unsigned int, PAGE_SIZE, got_bytes); in cifs_readv_complete()
4306 rdata->got_bytes = 0; in readpages_fill_pages()
4368 rdata->got_bytes += result; in readpages_fill_pages()
4371 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in readpages_fill_pages()
4372 rdata->got_bytes : result; in readpages_fill_pages()