Home
last modified time | relevance | path

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

/linux/fs/smb/common/
H A Dsmb2pdu.h144 __le16 StructureSize; /* 64 */ member
165 __le16 StructureSize; /* 64 */ member
195 __le16 StructureSize; member
344 __le16 StructureSize; /* Must be 9 */ member
390 __le16 StructureSize; /* Must be 16 */ member
400 __le16 StructureSize; /* Must be 4 */ member
406 __le16 StructureSize; /* Must be 4 */ member
609 __le16 StructureSize; /* Must be 36 */ member
624 __le16 StructureSize; /* Must be 65 */ member
651 __le16 StructureSize; /* Must be 25 */ member
[all …]
/linux/fs/smb/client/
H A Dsmb2misc.c181 if (shdr->StructureSize != SMB2_HEADER_STRUCTURE_SIZE) { in smb2_check_message()
183 le16_to_cpu(shdr->StructureSize)); in smb2_check_message()
326 (((struct smb2_err_rsp *)shdr)->StructureSize) == in smb2_get_data_area_len()
420 int len = le16_to_cpu(shdr->StructureSize); in smb2_calc_size()
689 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
691 if (le16_to_cpu(rsp->StructureSize) == 44) in smb2_is_valid_oplock_break()
H A Dsmb2pdu.h100 __le32 StructureSize; member
H A Dsmb2pdu.c102 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
6339 req->StructureSize = cpu_to_le16(36); in SMB2_lease_break()
/linux/fs/smb/server/
H A Dsmb2misc.c215 *len = le16_to_cpu(hdr->StructureSize); in smb2_calc_size()
390 if (hdr->StructureSize != SMB2_HEADER_STRUCTURE_SIZE) { in ksmbd_smb2_check_message()
392 le16_to_cpu(hdr->StructureSize)); in ksmbd_smb2_check_message()
H A Dsmb2pdu.c162 err_rsp->StructureSize = SMB2_ERROR_STRUCTURE_SIZE2_LE; in smb2_set_err_rsp()
272 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_neg_rsp()
287 rsp->StructureSize = cpu_to_le16(65); in init_smb2_neg_rsp()
433 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_chained_smb2_rsp()
513 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_rsp_hdr()
1234 rsp->StructureSize = cpu_to_le16(65); in smb2_handle_negotiate()
1717 rsp->StructureSize = cpu_to_le16(9); in smb2_sess_setup()
2044 rsp->StructureSize = cpu_to_le16(16); in smb2_tree_connect()
2214 rsp->StructureSize = cpu_to_le16(4); in smb2_tree_disconnect()
2276 rsp->StructureSize = cpu_to_le16(4); in smb2_session_logoff()
[all …]
H A Doplock.c655 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_oplock_break_noti()
668 rsp->StructureSize = cpu_to_le16(24); in __smb2_oplock_break_noti()
762 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_lease_break_noti()
774 rsp->StructureSize = cpu_to_le16(44); in __smb2_lease_break_noti()