Lines Matching refs:pdu_length
4948 unsigned int pdu_length = server->pdu_size; in receive_encrypted_standard() local
4957 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in receive_encrypted_standard()
4965 pdu_length - HEADER_SIZE(server) + 1); in receive_encrypted_standard()
4970 buf_size = pdu_length - sizeof(struct smb2_transform_hdr); in receive_encrypted_standard()
4985 pdu_length - le32_to_cpu(shdr->NextCommand)); in receive_encrypted_standard()
5010 pdu_length -= le32_to_cpu(shdr->NextCommand); in receive_encrypted_standard()
5038 unsigned int pdu_length = server->pdu_size; in smb3_receive_transform() local
5042 if (pdu_length < sizeof(struct smb2_transform_hdr) + in smb3_receive_transform()
5045 pdu_length); in smb3_receive_transform()
5050 if (pdu_length < orig_len + sizeof(struct smb2_transform_hdr)) { in smb3_receive_transform()
5057 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server)) { in smb3_receive_transform()