Home
last modified time | relevance | path

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

/linux/fs/smb/common/
H A Dsmb2pdu.h138 __le16 StructureSize; /* 64 */ member
159 __le16 StructureSize; /* 64 */ member
189 __le16 StructureSize; member
338 __le16 StructureSize; /* Must be 9 */ member
384 __le16 StructureSize; /* Must be 16 */ member
394 __le16 StructureSize; /* Must be 4 */ member
400 __le16 StructureSize; /* Must be 4 */ member
603 __le16 StructureSize; /* Must be 36 */ member
618 __le16 StructureSize; /* Must be 65 */ member
645 __le16 StructureSize; /* Must be 25 */ member
[all …]
/linux/fs/smb/client/
H A Dsmb2misc.c54 * The following table defines the expected "StructureSize" of SMB2 responses
106 * non_ctxlen is at least shdr->StructureSize + pdu->StructureSize2 in get_neg_ctxt_len()
151 * Add function to do table lookup of StructureSize by command in smb2_check_message()
179 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()
436 * for some commands, typically those with odd StructureSize, in smb2_calc_size()
686 if (rsp->StructureSize != in smb2_is_valid_oplock_break()
688 if (le16_to_cpu(rsp->StructureSize) in smb2_is_valid_oplock_break()
[all...]
H A Dsmb2pdu.h100 __le32 StructureSize; member
H A Dsmb2pdu.c48 * The following table defines the expected "StructureSize" of SMB2 requests
100 shdr->StructureSize = cpu_to_le16(64); in smb2_hdr_assemble()
510 /* lookup word count ie StructureSize from table */ in fill_small_buf()
6190 req->StructureSize = cpu_to_le16(36); in SMB2_lease_break()
/linux/fs/smb/server/
H A Dsmb2misc.c25 * The following table defines the expected "StructureSize" of SMB2 requests
216 *len = le16_to_cpu(hdr->StructureSize); in smb2_calc_size()
245 * for some commands, typically those with odd StructureSize, in smb2_calc_size()
391 if (hdr->StructureSize != SMB2_HEADER_STRUCTURE_SIZE) { in ksmbd_smb2_check_message()
393 le16_to_cpu(hdr->StructureSize)); in ksmbd_smb2_check_message()
H A 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()
1213 rsp->StructureSize = cpu_to_le16(65); in smb2_handle_negotiate()
1677 rsp->StructureSize = cpu_to_le16(9); in smb2_sess_setup()
2002 rsp->StructureSize = cpu_to_le16(16); in smb2_tree_connect()
2173 rsp->StructureSize = cpu_to_le16(4); in smb2_tree_disconnect()
2241 rsp->StructureSize 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()
759 rsp_hdr->StructureSize = SMB2_HEADER_STRUCTURE_SIZE; in __smb2_lease_break_noti()
771 rsp->StructureSize = cpu_to_le16(44); in __smb2_lease_break_noti()