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
343 __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.c58 * The following table defines the expected "StructureSize" of SMB2 responses
140 * non_ctxlen is at least shdr->StructureSize + pdu->StructureSize2 in get_neg_ctxt_len()
188 * Add function to do table lookup of StructureSize by command in smb2_check_message()
216 if (shdr->StructureSize != SMB2_HEADER_STRUCTURE_SIZE) { in smb2_check_message()
218 le16_to_cpu(shdr->StructureSize)); in smb2_check_message()
372 (((struct smb2_err_rsp *)shdr)->StructureSize) == in smb2_get_data_area_len()
470 int len = le16_to_cpu(shdr->StructureSize); in __smb2_calc_size()
493 * for some commands, typically those with odd StructureSize, in __smb2_calc_size()
755 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
757 if (le16_to_cpu(rsp->StructureSize) in smb2_is_valid_oplock_break()
[all...]
H A Dsmb2pdu.h76 __le32 StructureSize; member
H A Dsmb2pdu.c49 * The following table defines the expected "StructureSize" of SMB2 requests
101 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
563 /* lookup word count ie StructureSize from table */ in __smb2_plain_req_init()
6602 req->StructureSize = cpu_to_le16(36);
/linux/fs/smb/server/
H A Dsmb2misc.c24 * The following table defines the expected "StructureSize" of SMB2 requests
215 *len = le16_to_cpu(hdr->StructureSize); in smb2_calc_size()
244 * for some commands, typically those with odd StructureSize, in smb2_calc_size()
467 if (hdr->StructureSize != SMB2_HEADER_STRUCTURE_SIZE) { in ksmbd_smb2_check_message()
469 le16_to_cpu(hdr->StructureSize)); in ksmbd_smb2_check_message()
H A Dsmb2pdu.c215 err_rsp->StructureSize = SMB2_ERROR_STRUCTURE_SIZE2_LE;
332 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_neg_rsp()
347 rsp->StructureSize = cpu_to_le16(65); in init_smb2_neg_rsp()
506 if (((struct smb2_oplock_break *)hdr)->StructureSize != in init_chained_smb2_rsp()
646 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in init_smb2_rsp_hdr()
760 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in smb2_set_request_open()
2080 rsp->StructureSize = cpu_to_le16(65); in ntlm_negotiate()
2576 rsp->StructureSize = cpu_to_le16(9); in smb2_sess_setup()
3034 rsp->StructureSize = cpu_to_le16(16);
3213 rsp->StructureSize in create_smb2_pipe()
[all...]
H A Doplock.c1201 hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in oplock_break()
1257 lease_rsp->StructureSize = cpu_to_le16(44); in oplock_break()
1271 oplock_rsp->StructureSize = cpu_to_le16(24); in oplock_break()