Home
last modified time | relevance | path

Searched refs:StructureSize (Results 1 – 8 of 8) 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
611 __le16 StructureSize; /* Must be 36 */ member
626 __le16 StructureSize; /* Must be 65 */ member
653 __le16 StructureSize; /* Must be 25 */ member
[all …]
H A Dfscc.h93 __le64 StructureSize; /* MUST be set to 0x30 */ member
/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()
327 (((struct smb2_err_rsp *)shdr)->StructureSize) == in smb2_get_data_area_len()
421 int len = le16_to_cpu(shdr->StructureSize); in smb2_calc_size()
690 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
692 if (le16_to_cpu(rsp->StructureSize) == 44) in smb2_is_valid_oplock_break()
H A Dsmb2pdu.h100 __le32 StructureSize; member
H A Dsmb2pdu.c101 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
6366 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.c163 err_rsp->StructureSize = SMB2_ERROR_STRUCTURE_SIZE2_LE; in smb2_set_err_rsp()
273 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_neg_rsp()
288 rsp->StructureSize = cpu_to_le16(65); in init_smb2_neg_rsp()
434 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_chained_smb2_rsp()
514 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_rsp_hdr()
1235 rsp->StructureSize = cpu_to_le16(65); in smb2_handle_negotiate()
1718 rsp->StructureSize = cpu_to_le16(9); in smb2_sess_setup()
2052 rsp->StructureSize = cpu_to_le16(16); in smb2_tree_connect()
2222 rsp->StructureSize = cpu_to_le16(4); in smb2_tree_disconnect()
2284 rsp->StructureSize = cpu_to_le16(4); in smb2_session_logoff()
[all …]
H A Doplock.c664 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_oplock_break_noti()
677 rsp->StructureSize = cpu_to_le16(24); in __smb2_oplock_break_noti()
776 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_lease_break_noti()
788 rsp->StructureSize = cpu_to_le16(44); in __smb2_lease_break_noti()