Lines Matching refs:command
146 int command; in smb2_check_message() local
206 command = le16_to_cpu(shdr->Command); in smb2_check_message()
207 if (command >= NUMBER_OF_SMB2_COMMANDS) { in smb2_check_message()
208 cifs_dbg(VFS, "Invalid SMB2 command %d\n", command); in smb2_check_message()
212 if (smb2_rsp_struct_sizes[command] != pdu->StructureSize2) { in smb2_check_message()
213 if (command != SMB2_OPLOCK_BREAK_HE && (shdr->Status == 0 || in smb2_check_message()
217 le16_to_cpu(pdu->StructureSize2), command); in smb2_check_message()
219 } else if (command == SMB2_OPLOCK_BREAK_HE in smb2_check_message()
239 if (command == SMB2_CREATE_HE && in smb2_check_message()
243 if (clc_len + 24 == len && command == SMB2_OPLOCK_BREAK_HE) in smb2_check_message()
267 len, clc_len, command, mid); in smb2_check_message()