Searched refs:total_read (Results 1 – 7 of 7) sorted by relevance
| /fs/smb/server/ |
| A D | transport_tcp.c | 348 int total_read; in ksmbd_tcp_readv() local 361 for (total_read = 0; to_read; total_read += length, to_read -= length) { in ksmbd_tcp_readv() 365 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 368 segs = kvec_array_init(iov, iov_orig, nr_segs, total_read); in ksmbd_tcp_readv() 374 total_read = -ESHUTDOWN; in ksmbd_tcp_readv() 377 total_read = -EAGAIN; in ksmbd_tcp_readv() 385 total_read = length; in ksmbd_tcp_readv() 395 total_read = length; in ksmbd_tcp_readv() 399 return total_read; in ksmbd_tcp_readv()
|
| /fs/smb/client/ |
| A D | transport.c | 1108 server->total_read; in cifs_discard_remaining_data() 1118 server->total_read += length; in cifs_discard_remaining_data() 1171 server->total_read += length; in cifs_readv_receive() 1208 __func__, server->total_read, in cifs_readv_receive() 1216 if (data_offset < server->total_read) { in cifs_readv_receive() 1224 data_offset = server->total_read; in cifs_readv_receive() 1236 len = data_offset - server->total_read; in cifs_readv_receive() 1243 server->total_read += length; in cifs_readv_receive() 1266 server->total_read += length; in cifs_readv_receive() 1269 server->total_read, buflen, data_len); in cifs_readv_receive() [all …]
|
| A D | misc.c | 349 checkSMB(char *buf, unsigned int total_read, struct TCP_Server_Info *server) in checkSMB() argument 355 total_read, rfclen); in checkSMB() 358 if (total_read < 2 + sizeof(struct smb_hdr)) { in checkSMB() 359 if ((total_read >= sizeof(struct smb_hdr) - 1) in checkSMB() 365 } else if ((total_read == sizeof(struct smb_hdr) + 1) && in checkSMB() 386 } else if (total_read < sizeof(*smb) + 2 * smb->WordCount) { in checkSMB() 397 if (4 + rfclen != total_read) { in checkSMB() 454 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break()
|
| A D | connect.c | 737 int total_read; in cifs_readv_from_socket() local 739 for (total_read = 0; msg_data_left(smb_msg); total_read += length) { in cifs_readv_from_socket() 787 return total_read; in cifs_readv_from_socket() 1172 memcpy(server->bigbuf, buf, server->total_read); in standard_receive3() 1182 server->total_read += length; in standard_receive3() 1184 dump_smb(buf, server->total_read); in standard_receive3() 1206 min_t(unsigned int, server->total_read, 48)); in cifs_handle_standard() 1294 server->total_read = length; in cifs_demultiplex_thread() 1296 server->total_read = 0; in cifs_demultiplex_thread() 1326 server->total_read += length; in cifs_demultiplex_thread() [all …]
|
| A D | smb2ops.c | 443 if (!server->ops->check_message(buf, server->total_read, server)) { in smb2_dump_detail() 4599 server->total_read = buf_data_size + iter_size; in decrypt_raw_data() 4871 server->total_read += rc; in receive_encrypted_read() 4890 server->total_read += rc; in receive_encrypted_read() 4970 memcpy(server->bigbuf, buf, server->total_read); in receive_encrypted_standard() 4979 server->total_read += length; in receive_encrypted_standard()
|
| A D | cifs_debug.c | 47 if (!server->ops->check_message(buf, server->total_read, server)) { in cifs_dump_detail()
|
| A D | cifsglob.h | 804 unsigned int total_read; /* total amount of data read in this pass */ member
|
Completed in 38 milliseconds