Home
last modified time | relevance | path

Searched refs:StructureSize (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/smb/common/
Dsmb2pdu.h137 __le16 StructureSize; /* 64 */ member
158 __le16 StructureSize; /* 64 */ member
188 __le16 StructureSize; member
329 __le16 StructureSize; /* Must be 9 */ member
375 __le16 StructureSize; /* Must be 16 */ member
385 __le16 StructureSize; /* Must be 4 */ member
391 __le16 StructureSize; /* Must be 4 */ member
592 __le16 StructureSize; /* Must be 36 */ member
607 __le16 StructureSize; /* Must be 65 */ member
634 __le16 StructureSize; /* Must be 25 */ member
[all …]
/linux-6.6.21/fs/smb/client/
Dsmb2misc.c179 if (shdr->StructureSize != SMB2_HEADER_STRUCTURE_SIZE) { in smb2_check_message()
181 le16_to_cpu(shdr->StructureSize)); in smb2_check_message()
324 (((struct smb2_err_rsp *)shdr)->StructureSize) == in smb2_get_data_area_len()
418 int len = le16_to_cpu(shdr->StructureSize); in smb2_calc_size()
684 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
686 if (le16_to_cpu(rsp->StructureSize) == 44) in smb2_is_valid_oplock_break()
Dsmb2pdu.h100 __le32 StructureSize; member
Dsmb2pdu.c94 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
5850 req->StructureSize = cpu_to_le16(36); in SMB2_lease_break()
/linux-6.6.21/fs/smb/server/
Dsmb2misc.c204 *len = le16_to_cpu(hdr->StructureSize); in smb2_calc_size()
379 if (hdr->StructureSize != SMB2_HEADER_STRUCTURE_SIZE) { in ksmbd_smb2_check_message()
381 le16_to_cpu(hdr->StructureSize)); in ksmbd_smb2_check_message()
Dsmb2pdu.c150 err_rsp->StructureSize = SMB2_ERROR_STRUCTURE_SIZE2_LE; in smb2_set_err_rsp()
260 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_neg_rsp()
275 rsp->StructureSize = cpu_to_le16(65); in init_smb2_neg_rsp()
421 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_chained_smb2_rsp()
501 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_rsp_hdr()
1227 rsp->StructureSize = cpu_to_le16(65); in smb2_handle_negotiate()
1688 rsp->StructureSize = cpu_to_le16(9); in smb2_sess_setup()
2009 rsp->StructureSize = cpu_to_le16(16); in smb2_tree_connect()
2168 rsp->StructureSize = cpu_to_le16(4); in smb2_tree_disconnect()
2236 rsp->StructureSize = cpu_to_le16(4); in smb2_session_logoff()
[all …]
Doplock.c657 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_oplock_break_noti()
670 rsp->StructureSize = cpu_to_le16(24); in __smb2_oplock_break_noti()
761 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_lease_break_noti()
773 rsp->StructureSize = cpu_to_le16(44); in __smb2_lease_break_noti()