Lines Matching defs:pdu_length
4960 unsigned int pdu_length = server->pdu_size;
4970 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) {
4978 pdu_length - HEADER_SIZE(server) + 1);
4983 buf_size = pdu_length - sizeof(struct smb2_transform_hdr);
4993 if (WARN_ON_ONCE(next_cmd > pdu_length))
4999 memcpy(next_buffer, buf + next_cmd, pdu_length - next_cmd);
5024 pdu_length -= next_cmd;
5052 unsigned int pdu_length = server->pdu_size;
5056 if (pdu_length < sizeof(struct smb2_transform_hdr) +
5059 pdu_length);
5064 if (pdu_length < orig_len + sizeof(struct smb2_transform_hdr)) {
5071 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server)) {