Lines Matching refs:got_bytes
3496 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov()
3542 rdata->got_bytes = 0; in uncached_fill_pages()
3584 rdata->got_bytes += result; in uncached_fill_pages()
3587 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in uncached_fill_pages()
3588 rdata->got_bytes : result; in uncached_fill_pages()
3850 unsigned int got_bytes = rdata->got_bytes; in collect_uncached_read_data() local
3860 if (got_bytes && got_bytes < rdata->bytes) { in collect_uncached_read_data()
3881 rdata->offset + got_bytes, in collect_uncached_read_data()
3882 rdata->bytes - got_bytes, in collect_uncached_read_data()
3899 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()
3902 ctx->total_len += rdata->got_bytes; in collect_uncached_read_data()
4233 unsigned int i, got_bytes; in cifs_readv_complete() local
4237 got_bytes = rdata->got_bytes; in cifs_readv_complete()
4244 (rdata->result == -EAGAIN && got_bytes)) { in cifs_readv_complete()
4253 (rdata->result == -EAGAIN && got_bytes)) in cifs_readv_complete()
4258 got_bytes -= min_t(unsigned int, PAGE_SIZE, got_bytes); in cifs_readv_complete()
4283 rdata->got_bytes = 0; in readpages_fill_pages()
4345 rdata->got_bytes += result; in readpages_fill_pages()
4348 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in readpages_fill_pages()
4349 rdata->got_bytes : result; in readpages_fill_pages()