Home
last modified time | relevance | path

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

/linux/fs/smb/common/
H A Dsmb2pdu.h141 __le16 StructureSize; /* 64 */ member
162 __le16 StructureSize; /* 64 */ member
192 __le16 StructureSize; member
341 __le16 StructureSize; /* Must be 9 */ member
387 __le16 StructureSize; /* Must be 16 */ member
397 __le16 StructureSize; /* Must be 4 */ member
403 __le16 StructureSize; /* Must be 4 */ member
606 __le16 StructureSize; /* Must be 36 */ member
621 __le16 StructureSize; /* Must be 65 */ member
648 __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()
699 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
701 if (le16_to_cpu(rsp->StructureSize) == 44) in smb2_is_valid_oplock_break()
H A Dsmb2pdu.c102 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
6240 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.c154 err_rsp->StructureSize = SMB2_ERROR_STRUCTURE_SIZE2_LE; in smb2_set_err_rsp()
264 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_neg_rsp()
279 rsp->StructureSize = cpu_to_le16(65); in init_smb2_neg_rsp()
425 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_chained_smb2_rsp()
505 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_rsp_hdr()
1226 rsp->StructureSize = cpu_to_le16(65); in smb2_handle_negotiate()
1705 rsp->StructureSize = cpu_to_le16(9); in smb2_sess_setup()
2032 rsp->StructureSize = cpu_to_le16(16); in smb2_tree_connect()
2202 rsp->StructureSize = cpu_to_le16(4); in smb2_tree_disconnect()
2264 rsp->StructureSize = cpu_to_le16(4); in smb2_session_logoff()
[all …]
H A Doplock.c643 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_oplock_break_noti()
656 rsp->StructureSize = cpu_to_le16(24); in __smb2_oplock_break_noti()
750 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_lease_break_noti()
762 rsp->StructureSize = cpu_to_le16(44); in __smb2_lease_break_noti()