Searched refs:pdu_size (Results 1 – 6 of 6) sorted by relevance
/fs/smb/server/ |
D | connection.c | 308 unsigned int pdu_size, max_allowed_pdu_size; in ksmbd_conn_handler_loop() local 331 pdu_size = get_rfc1002_len(hdr_buf); in ksmbd_conn_handler_loop() 332 ksmbd_debug(CONN, "RFC1002 header %u bytes\n", pdu_size); in ksmbd_conn_handler_loop() 340 if (pdu_size > max_allowed_pdu_size) { in ksmbd_conn_handler_loop() 342 pdu_size, max_allowed_pdu_size, in ksmbd_conn_handler_loop() 350 if (pdu_size > MAX_STREAM_PROT_LEN) in ksmbd_conn_handler_loop() 353 if (pdu_size < SMB1_MIN_SUPPORTED_HEADER_SIZE) in ksmbd_conn_handler_loop() 358 size = pdu_size + 4 + 1; in ksmbd_conn_handler_loop() 369 size = t->ops->read(t, conn->request_buf + 4, pdu_size, 2); in ksmbd_conn_handler_loop() 375 if (size != pdu_size) { in ksmbd_conn_handler_loop() [all …]
|
/fs/smb/client/ |
D | smb2misc.c | 142 int pdu_size = sizeof(struct smb2_pdu); in smb2_check_message() local 191 if (len < pdu_size) { in smb2_check_message()
|
D | connect.c | 1058 unsigned int pdu_length = server->pdu_size; in standard_receive3() 1209 server->pdu_size = pdu_length; in cifs_demultiplex_thread() 1212 if (server->pdu_size < MID_HEADER_SIZE(server)) { in cifs_demultiplex_thread() 1214 server->pdu_size); in cifs_demultiplex_thread() 1235 server->pdu_size = next_offset; in cifs_demultiplex_thread() 1284 mids[i]->resp_buf_size = server->pdu_size; in cifs_demultiplex_thread() 1319 if (pdu_length > server->pdu_size) { in cifs_demultiplex_thread() 1322 pdu_length -= server->pdu_size; in cifs_demultiplex_thread()
|
D | transport.c | 1660 unsigned int rfclen = server->pdu_size; in cifs_discard_remaining_data() 1707 unsigned int buflen = server->pdu_size + HEADER_PREAMBLE_SIZE(server); in cifs_readv_receive()
|
D | smb2ops.c | 4704 unsigned int buflen = server->pdu_size; in receive_encrypted_read() 4770 (server->pdu_size >= server->min_offload)) { in receive_encrypted_read() 4819 unsigned int pdu_length = server->pdu_size; in receive_encrypted_standard() 4867 mid_entry->resp_buf_size = server->pdu_size; in receive_encrypted_standard() 4911 unsigned int pdu_length = server->pdu_size; in smb3_receive_transform() 4942 return handle_read_data(server, mid, buf, server->pdu_size, in smb3_handle_read_data()
|
D | cifsglob.h | 760 unsigned int pdu_size; member
|