Lines Matching refs:got_bytes
3451 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov()
3497 rdata->got_bytes = 0; in uncached_fill_pages()
3539 rdata->got_bytes += result; in uncached_fill_pages()
3542 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in uncached_fill_pages()
3543 rdata->got_bytes : result; in uncached_fill_pages()
3805 unsigned int got_bytes = rdata->got_bytes; in collect_uncached_read_data() local
3815 if (got_bytes && got_bytes < rdata->bytes) { in collect_uncached_read_data()
3836 rdata->offset + got_bytes, in collect_uncached_read_data()
3837 rdata->bytes - got_bytes, in collect_uncached_read_data()
3854 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()
3857 ctx->total_len += rdata->got_bytes; in collect_uncached_read_data()
4193 unsigned int i, got_bytes; in cifs_readv_complete() local
4197 got_bytes = rdata->got_bytes; in cifs_readv_complete()
4204 (rdata->result == -EAGAIN && got_bytes)) { in cifs_readv_complete()
4212 (rdata->result == -EAGAIN && got_bytes)) in cifs_readv_complete()
4215 got_bytes -= min_t(unsigned int, PAGE_SIZE, got_bytes); in cifs_readv_complete()
4240 rdata->got_bytes = 0; in readpages_fill_pages()
4302 rdata->got_bytes += result; in readpages_fill_pages()
4305 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in readpages_fill_pages()
4306 rdata->got_bytes : result; in readpages_fill_pages()