Searched refs:smb_hdr (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | cifssmb.c | 243 in_len = header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init() 257 struct smb_hdr *buffer; in small_smb_init_no_tc() 263 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc() 297 in_len = header_assemble((struct smb_hdr *)*request_buf, smb_command, tcon, in __smb_init() 471 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in_len, in CIFSSMBNegotiate() 472 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBNegotiate() 545 struct smb_hdr *smb_buffer; in CIFSTCon() 546 struct smb_hdr *smb_buffer_response; in CIFSTCon() 686 struct smb_hdr *smb_buffer; in CIFSSMBTDis() 903 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in_len, in CIFSPOSIXDelFile() [all …]
|
| H A D | smb1maperror.c | 105 struct smb_hdr *smb = (struct smb_hdr *)buf; in map_smb_to_linux_error() 181 struct smb_hdr *smb = (struct smb_hdr *)mid->resp_buf; in map_and_check_smb_error()
|
| H A D | smb1session.c | 316 struct smb_hdr *smb_buf; in sess_alloc_buffer() 399 struct smb_hdr *smb_buf = (struct smb_hdr *) sess_data->iov[0].iov_base; in sess_sendreceive() 421 struct smb_hdr *smb_buf; in sess_auth_ntlmv2() 484 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_ntlmv2() 531 struct smb_hdr *smb_buf; in sess_auth_kerberos() 610 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_kerberos() 713 struct smb_hdr *smb_buf; in sess_auth_rawntlmssp_negotiate() 760 smb_buf = (struct smb_hdr *)sess_data->iov[0].iov_base; in sess_auth_rawntlmssp_negotiate() 819 struct smb_hdr *smb_buf; in sess_auth_rawntlmssp_authenticate() 837 smb_buf = (struct smb_hdr *)pSMB; in sess_auth_rawntlmssp_authenticate() [all …]
|
| H A D | file.c | 1893 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks() 1898 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_push_mandatory_locks() 1900 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_push_mandatory_locks() 1902 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks() 2271 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range() 2274 BUILD_BUG_ON(sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE) > in cifs_unlock_range() 2276 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_unlock_range() 2278 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_unlock_range()
|
| /linux/fs/smb/common/ |
| H A D | smb1pdu.h | 20 struct smb_hdr { struct 51 struct smb_hdr hdr; /* wct = 0 */ argument
|
| /linux/fs/smb/server/ |
| H A D | server.c | 99 struct smb_hdr *rsp_hdr; in check_conn_state()
|
| H A D | connection.c | 609 #define SMB1_MIN_SUPPORTED_PDU_SIZE (sizeof(struct smb_hdr) + 2)
|