Home
last modified time | relevance | path

Searched refs:smb_buffer (Results 1 – 3 of 3) sorted by relevance

/fs/smb/client/
Dtransport.c44 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid() argument
56 temp->mid = get_mid(smb_buffer); in alloc_mid()
58 temp->command = cpu_to_le16(smb_buffer->Command); in alloc_mid()
59 cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command); in alloc_mid()
470 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() argument
477 iov[0].iov_base = smb_buffer; in smb_send()
479 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send()
Dconnect.c3705 struct smb_hdr *smb_buffer; in CIFSTCon() local
3717 smb_buffer = cifs_buf_get(); in CIFSTCon()
3718 if (smb_buffer == NULL) in CIFSTCon()
3721 smb_buffer_response = smb_buffer; in CIFSTCon()
3723 header_assemble(smb_buffer, SMB_COM_TREE_CONNECT_ANDX, in CIFSTCon()
3726 smb_buffer->Mid = get_next_mid(ses->server); in CIFSTCon()
3727 smb_buffer->Uid = ses->Suid; in CIFSTCon()
3728 pSMB = (TCONX_REQ *) smb_buffer; in CIFSTCon()
3741 smb_buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSTCon()
3744 smb_buffer->Flags2 |= SMBFLG2_ERR_STATUS; in CIFSTCon()
[all …]
Dcifssmb.c512 struct smb_hdr *smb_buffer; in CIFSSMBTDis() local
535 (void **)&smb_buffer); in CIFSSMBTDis()
539 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
540 cifs_small_buf_release(smb_buffer); in CIFSSMBTDis()