Lines Matching refs:got_bytes
3792 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov()
3838 rdata->got_bytes = 0; in uncached_fill_pages()
3880 rdata->got_bytes += result; in uncached_fill_pages()
3883 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in uncached_fill_pages()
3884 rdata->got_bytes : result; in uncached_fill_pages()
4150 unsigned int got_bytes = rdata->got_bytes; in collect_uncached_read_data() local
4160 if (got_bytes && got_bytes < rdata->bytes) { in collect_uncached_read_data()
4181 rdata->offset + got_bytes, in collect_uncached_read_data()
4182 rdata->bytes - got_bytes, in collect_uncached_read_data()
4199 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()
4202 ctx->total_len += rdata->got_bytes; in collect_uncached_read_data()
4550 unsigned int i, got_bytes; in cifs_readv_complete() local
4554 got_bytes = rdata->got_bytes; in cifs_readv_complete()
4559 (rdata->result == -EAGAIN && got_bytes)) { in cifs_readv_complete()
4566 (rdata->result == -EAGAIN && got_bytes)) in cifs_readv_complete()
4571 got_bytes -= min_t(unsigned int, PAGE_SIZE, got_bytes); in cifs_readv_complete()
4596 rdata->got_bytes = 0; in readpages_fill_pages()
4656 rdata->got_bytes += result; in readpages_fill_pages()
4659 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in readpages_fill_pages()
4660 rdata->got_bytes : result; in readpages_fill_pages()