Searched refs:clc_len (Results 1 – 2 of 2) sorted by relevance
373 __u32 clc_len; /* calculated length */ in ksmbd_smb2_check_message() local423 if (smb2_calc_size(hdr, &clc_len)) in ksmbd_smb2_check_message()426 if (len != clc_len) { in ksmbd_smb2_check_message()428 if (clc_len == len + 1) in ksmbd_smb2_check_message()435 if (ALIGN(clc_len, 8) == len) in ksmbd_smb2_check_message()451 if (clc_len < len && (len - clc_len) <= 8) in ksmbd_smb2_check_message()456 len, clc_len, command, in ksmbd_smb2_check_message()
336 __u32 clc_len; /* calculated length */ in checkSMB() local378 clc_len = smbCalcSize(smb); in checkSMB()386 if (4 + rfclen != clc_len) { in checkSMB()389 if ((rfclen > 64 * 1024) && (rfclen > clc_len)) { in checkSMB()391 if (((4 + rfclen) & 0xFFFF) == (clc_len & 0xFFFF)) in checkSMB()395 clc_len, 4 + rfclen, mid); in checkSMB()397 if (4 + rfclen < clc_len) { in checkSMB()401 } else if (rfclen > clc_len + 512) { in checkSMB()