Lines Matching refs:got_bytes
3333 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov()
3379 rdata->got_bytes = 0; in uncached_fill_pages()
3421 rdata->got_bytes += result; in uncached_fill_pages()
3424 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in uncached_fill_pages()
3425 rdata->got_bytes : result; in uncached_fill_pages()
3678 unsigned int got_bytes = rdata->got_bytes; in collect_uncached_read_data() local
3688 if (got_bytes && got_bytes < rdata->bytes) { in collect_uncached_read_data()
3709 rdata->offset + got_bytes, in collect_uncached_read_data()
3710 rdata->bytes - got_bytes, in collect_uncached_read_data()
3727 if (rdata->got_bytes && rdata->got_bytes < rdata->bytes) in collect_uncached_read_data()
3730 ctx->total_len += rdata->got_bytes; in collect_uncached_read_data()
4056 unsigned int i, got_bytes; in cifs_readv_complete() local
4060 got_bytes = rdata->got_bytes; in cifs_readv_complete()
4067 (rdata->result == -EAGAIN && got_bytes)) { in cifs_readv_complete()
4075 (rdata->result == -EAGAIN && got_bytes)) in cifs_readv_complete()
4078 got_bytes -= min_t(unsigned int, PAGE_SIZE, got_bytes); in cifs_readv_complete()
4103 rdata->got_bytes = 0; in readpages_fill_pages()
4165 rdata->got_bytes += result; in readpages_fill_pages()
4168 return rdata->got_bytes > 0 && result != -ECONNABORTED ? in readpages_fill_pages()
4169 rdata->got_bytes : result; in readpages_fill_pages()