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()
359 if (4 + rfclen != total_read) { in checkSMB()
416 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
Dfile.c3793 ssize_t rc, total_read = 0; in __cifs_readv() local
3872 total_read = ctx->total_len; in __cifs_readv()
3876 total_read = ctx->total_len; in __cifs_readv()
3881 if (total_read) { in __cifs_readv()
3882 iocb->ki_pos += total_read; in __cifs_readv()
3883 return total_read; in __cifs_readv()
3943 unsigned int total_read; in cifs_read() local
3984 for (total_read = 0, cur_offset = read_data; read_size > total_read; in cifs_read()
3985 total_read += bytes_read, cur_offset += bytes_read) { in cifs_read()
3987 current_read_size = min_t(uint, read_size - total_read, in cifs_read()
[all …]
Dconnect.c790 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()
1076 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3()
1087 server->total_read += length; in standard_receive3()
1089 dump_smb(buf, server->total_read); in standard_receive3()
1109 length = server->ops->check_message(buf, server->total_read, server); in cifs_handle_standard()
1112 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard()
1189 server->total_read = 0; in cifs_demultiplex_thread()
1191 server->total_read = length; in cifs_demultiplex_thread()
[all …]
Dcifssmb.c1521 server->total_read; in cifs_discard_remaining_data()
1531 server->total_read += length; in cifs_discard_remaining_data()
1585 server->total_read += length; in cifs_readv_receive()
1605 server->total_read - server->vals->header_preamble_size; in cifs_readv_receive()
1621 if (server->total_read < server->vals->read_rsp_size) { in cifs_readv_receive()
1623 __func__, server->total_read, in cifs_readv_receive()
1631 if (data_offset < server->total_read) { in cifs_readv_receive()
1639 data_offset = server->total_read; in cifs_readv_receive()
1649 __func__, server->total_read, data_offset); in cifs_readv_receive()
1651 len = data_offset - server->total_read; in cifs_readv_receive()
[all …]
Dsmb2ops.c3847 server->total_read = buf_data_size + page_data_size; in decrypt_raw_data()
3875 server->total_read += length; in read_data_into_pages()
4111 server->total_read += rc; in receive_encrypted_read()
4211 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard()
4220 server->total_read += length; in receive_encrypted_standard()
Dcifsglob.h738 unsigned int total_read; /* total amount of data read in this pass */ member