Home
last modified time | relevance | path

Searched refs:StructureSize2 (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/smb/server/
Dsmb2misc.c222 *len += le16_to_cpu(pdu->StructureSize2); in smb2_calc_size()
403 if (smb2_req_struct_sizes[command] != pdu->StructureSize2) { in ksmbd_smb2_check_message()
405 (le16_to_cpu(pdu->StructureSize2) == OP_BREAK_STRUCT_SIZE_20 || in ksmbd_smb2_check_message()
406 le16_to_cpu(pdu->StructureSize2) == OP_BREAK_STRUCT_SIZE_21))) { in ksmbd_smb2_check_message()
410 le16_to_cpu(pdu->StructureSize2), command); in ksmbd_smb2_check_message()
415 req_struct_size = le16_to_cpu(pdu->StructureSize2) + in ksmbd_smb2_check_message()
/linux-6.12.1/fs/smb/client/
Dsmb2misc.c194 pdu->StructureSize2 = 0; in smb2_check_message()
211 if (smb2_rsp_struct_sizes[command] != pdu->StructureSize2) { in smb2_check_message()
213 pdu->StructureSize2 != SMB2_ERROR_STRUCTURE_SIZE2_LE)) { in smb2_check_message()
216 le16_to_cpu(pdu->StructureSize2), command); in smb2_check_message()
220 && (le16_to_cpu(pdu->StructureSize2) != 44) in smb2_check_message()
221 && (le16_to_cpu(pdu->StructureSize2) != 36)) { in smb2_check_message()
224 le16_to_cpu(pdu->StructureSize2)); in smb2_check_message()
424 len += le16_to_cpu(pdu->StructureSize2); in smb2_calc_size()
Dsmb2pdu.c520 spdu->StructureSize2 = cpu_to_le16(parmsize); in fill_small_buf()
/linux-6.12.1/fs/smb/common/
Dsmb2pdu.h181 __le16 StructureSize2; /* size of wct area (varies, request specific) */ member