Home
last modified time | relevance | path

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

/fs/cifs/
Dmisc.c315 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument
321 total_read, rfclen); in checkSMB()
324 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB()
325 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB()
331 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB()
352 } else if (total_read < sizeof(*smb) + 2 * smb->WordCount) { in checkSMB()
363 if (4 + rfclen != total_read) { in checkSMB()
420 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
Dfile.c3820 ssize_t rc, total_read = 0; in __cifs_readv() local
3908 total_read = ctx->total_len; in __cifs_readv()
3912 total_read = ctx->total_len; in __cifs_readv()
3917 if (total_read) { in __cifs_readv()
3918 iocb->ki_pos += total_read; in __cifs_readv()
3919 return total_read; in __cifs_readv()
3979 unsigned int total_read; in cifs_read() local
4020 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
4021 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
4023 current_read_size = min_t(uint, read_size - total_read, in cifs_read()
[all …]
Dconnect.c793 int total_read; in cifs_readv_from_socket() local
795 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket()
838 return total_read; in cifs_readv_from_socket()
1078 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
1089 server->total_read += length; in standard_receive3()
1091 dump_smb(buf, server->total_read); in standard_receive3()
1111 length = server->ops->check_message(buf, server->total_read, server); in cifs_handle_standard()
1114 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard()
1191 server->total_read = 0; in cifs_demultiplex_thread()
1193 server->total_read = length; in cifs_demultiplex_thread()
[all …]
Dcifssmb.c1522 server->total_read; in cifs_discard_remaining_data()
1532 server->total_read += length; in cifs_discard_remaining_data()
1586 server->total_read += length; in cifs_readv_receive()
1606 server->total_read - server->vals->header_preamble_size; in cifs_readv_receive()
1622 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive()
1624 __func__, server->total_read, in cifs_readv_receive()
1632 if (data_offset < server->total_read) { in cifs_readv_receive()
1640 data_offset = server->total_read; in cifs_readv_receive()
1650 __func__, server->total_read, data_offset); in cifs_readv_receive()
1652 len = data_offset - server->total_read; in cifs_readv_receive()
[all …]
Dsmb2ops.c3922 server->total_read = buf_data_size + page_data_size; in decrypt_raw_data()
3950 server->total_read += length; in read_data_into_pages()
4228 server->total_read += rc; in receive_encrypted_read()
4328 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard()
4337 server->total_read += length; in receive_encrypted_standard()
Dcifsglob.h744 unsigned int total_read; /* total amount of data read in this pass */ member