Home
last modified time | relevance | path

Searched refs:total_read (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/fs/cifs/
Dmisc.c313 checkSMB(char *buf, unsigned int total_read) in checkSMB() argument
319 total_read, rfclen); in checkSMB()
322 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB()
323 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB()
329 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB()
357 if (4 + rfclen != total_read) { in checkSMB()
Dconnect.c548 int total_read; in cifs_readv_from_socket() local
560 for (total_read = 0; to_read; total_read += length, to_read -= length) { in cifs_readv_from_socket()
564 total_read = -ECONNABORTED; in cifs_readv_from_socket()
568 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in cifs_readv_from_socket()
574 total_read = -ESHUTDOWN; in cifs_readv_from_socket()
578 total_read = -ECONNABORTED; in cifs_readv_from_socket()
595 total_read = -ECONNABORTED; in cifs_readv_from_socket()
599 return total_read; in cifs_readv_from_socket()
798 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
807 server->total_read += length; in standard_receive3()
[all …]
Dfile.c2976 ssize_t total_read = 0; in cifs_user_readv() local
3060 total_read = len - iov_iter_count(to); in cifs_user_readv()
3062 cifs_stats_bytes_read(tcon, total_read); in cifs_user_readv()
3068 if (total_read) { in cifs_user_readv()
3069 iocb->ki_pos += total_read; in cifs_user_readv()
3070 return total_read; in cifs_user_readv()
3120 unsigned int total_read; in cifs_read() local
3161 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
3162 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
3164 current_read_size = min_t(uint, read_size - total_read, in cifs_read()
[all …]
Dcifssmb.c1401 int remaining = rfclen + 4 - server->total_read; in discard_remaining_data()
1411 server->total_read += length; in discard_remaining_data()
1455 server->total_read += length; in cifs_readv_receive()
1472 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive()
1474 __func__, server->total_read, in cifs_readv_receive()
1481 if (data_offset < server->total_read) { in cifs_readv_receive()
1489 data_offset = server->total_read; in cifs_readv_receive()
1499 __func__, server->total_read, data_offset); in cifs_readv_receive()
1501 len = data_offset - server->total_read; in cifs_readv_receive()
1504 rdata->iov.iov_base = buf + server->total_read; in cifs_readv_receive()
[all …]
Dcifsglob.h607 unsigned int total_read; /* total amount of data read in this pass */ member
/linux-4.1.27/kernel/trace/
Dring_buffer.c4939 unsigned long total_read = 0; in test_ringbuffer() local
4983 total_read++; in test_ringbuffer()
4990 pr_info(" read events: %ld\n", total_read); in test_ringbuffer()
4992 pr_info(" total events: %ld\n", total_lost + total_read); in test_ringbuffer()
5003 if (RB_WARN_ON(buffer, total_lost + total_read != total_events)) in test_ringbuffer()