Lines Matching refs:bytes_read
2358 unsigned int bytes_read = 0; in cifs_iovec_read() local
2394 for (total_read = 0; total_read < len; total_read += bytes_read) { in cifs_iovec_read()
2411 rc = CIFSSMBRead(xid, &io_parms, &bytes_read, in cifs_iovec_read()
2418 iov_offset, bytes_read)) in cifs_iovec_read()
2425 iov_offset += bytes_read; in cifs_iovec_read()
2429 if (rc || (bytes_read == 0)) { in cifs_iovec_read()
2437 cifs_stats_bytes_read(pTcon, bytes_read); in cifs_iovec_read()
2438 *poffset += bytes_read; in cifs_iovec_read()
2484 unsigned int bytes_read = 0; in cifs_read() local
2521 total_read += bytes_read, current_offset += bytes_read) { in cifs_read()
2543 rc = CIFSSMBRead(xid, &io_parms, &bytes_read, in cifs_read()
2546 if (rc || (bytes_read == 0)) { in cifs_read()
2555 *poffset += bytes_read; in cifs_read()