Lines Matching defs:pdu_length
4827 unsigned int pdu_length = server->pdu_size;
4837 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) {
4845 pdu_length - HEADER_SIZE(server) + 1);
4850 buf_size = pdu_length - sizeof(struct smb2_transform_hdr);
4860 if (WARN_ON_ONCE(next_cmd > pdu_length))
4866 memcpy(next_buffer, buf + next_cmd, pdu_length - next_cmd);
4891 pdu_length -= next_cmd;
4919 unsigned int pdu_length = server->pdu_size;
4923 if (pdu_length < sizeof(struct smb2_transform_hdr) +
4926 pdu_length);
4931 if (pdu_length < orig_len + sizeof(struct smb2_transform_hdr)) {
4938 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server)) {