Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dsmb2misc.c205 *len += le16_to_cpu(pdu->StructureSize2); in smb2_calc_size()
379 if (smb2_req_struct_sizes[command] != pdu->StructureSize2) { in ksmbd_smb2_check_message()
381 (hdr->Status == 0 || pdu->StructureSize2 != SMB2_ERROR_STRUCTURE_SIZE2_LE)) { in ksmbd_smb2_check_message()
385 le16_to_cpu(pdu->StructureSize2), command); in ksmbd_smb2_check_message()
389 le16_to_cpu(pdu->StructureSize2) != OP_BREAK_STRUCT_SIZE_20 && in ksmbd_smb2_check_message()
390 le16_to_cpu(pdu->StructureSize2) != OP_BREAK_STRUCT_SIZE_21) { in ksmbd_smb2_check_message()
394 le16_to_cpu(pdu->StructureSize2)); in ksmbd_smb2_check_message()
/linux-6.1.9/fs/cifs/
Dsmb2misc.c179 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()
430 len += le16_to_cpu(pdu->StructureSize2); in smb2_calc_size()
Dsmb2pdu.c369 spdu->StructureSize2 = cpu_to_le16(parmsize); in fill_small_buf()
/linux-6.1.9/fs/smbfs_common/
Dsmb2pdu.h158 __le16 StructureSize2; /* size of wct area (varies, request specific) */ member