Searched refs:calc_len (Results 1 – 1 of 1) sorted by relevance
144 __u32 calc_len; /* calculated length */ in smb2_check_message() local229 calc_len = smb2_calc_size(buf); in smb2_check_message()233 if (command == SMB2_IOCTL_HE && calc_len == 0) in smb2_check_message()237 calc_len += get_neg_ctxt_len(shdr, len, calc_len); in smb2_check_message()239 if (len != calc_len) { in smb2_check_message()245 if (calc_len + 24 == len && command == SMB2_OPLOCK_BREAK_HE) in smb2_check_message()248 if (calc_len == len + 1) in smb2_check_message()255 if (ALIGN(calc_len, 8) == len) in smb2_check_message()264 if (calc_len < len) in smb2_check_message()271 calc_len, len, command, mid); in smb2_check_message()[all …]