Home
last modified time | relevance | path

Searched refs:clc_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Dsmb2misc.c356 __u32 clc_len; /* calculated length */ in ksmbd_smb2_check_message() local
399 if (smb2_calc_size(hdr, &clc_len)) in ksmbd_smb2_check_message()
402 if (len != clc_len) { in ksmbd_smb2_check_message()
404 if (clc_len == len + 1) in ksmbd_smb2_check_message()
411 if (ALIGN(clc_len, 8) == len) in ksmbd_smb2_check_message()
420 if (clc_len < len) { in ksmbd_smb2_check_message()
423 len, clc_len, command, in ksmbd_smb2_check_message()
430 len, clc_len, command, in ksmbd_smb2_check_message()
/linux-6.1.9/fs/cifs/
Dmisc.c319 __u32 clc_len; /* calculated length */ in checkSMB() local
357 clc_len = smbCalcSize(smb); in checkSMB()
365 if (4 + rfclen != clc_len) { in checkSMB()
368 if ((rfclen > 64 * 1024) && (rfclen > clc_len)) { in checkSMB()
370 if (((4 + rfclen) & 0xFFFF) == (clc_len & 0xFFFF)) in checkSMB()
374 clc_len, 4 + rfclen, mid); in checkSMB()
376 if (4 + rfclen < clc_len) { in checkSMB()
380 } else if (rfclen > clc_len + 512) { in checkSMB()