Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dtransport.c47 AllocMidQEntry(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in AllocMidQEntry() argument
61 temp->mid = get_mid(smb_buffer); in AllocMidQEntry()
63 temp->command = cpu_to_le16(smb_buffer->Command); in AllocMidQEntry()
64 cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command); in AllocMidQEntry()
379 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() argument
384 iov.iov_base = smb_buffer; in smb_send()
Dconnect.c3736 struct smb_hdr *smb_buffer; in CIFSTCon() local
3748 smb_buffer = cifs_buf_get(); in CIFSTCon()
3749 if (smb_buffer == NULL) in CIFSTCon()
3752 smb_buffer_response = smb_buffer; in CIFSTCon()
3754 header_assemble(smb_buffer, SMB_COM_TREE_CONNECT_ANDX, in CIFSTCon()
3757 smb_buffer->Mid = get_next_mid(ses->server); in CIFSTCon()
3758 smb_buffer->Uid = ses->Suid; in CIFSTCon()
3759 pSMB = (TCONX_REQ *) smb_buffer; in CIFSTCon()
3792 cifs_buf_release(smb_buffer); in CIFSTCon()
3805 smb_buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSTCon()
[all …]
Dsmb2transport.c478 smb2_mid_entry_alloc(const struct smb2_hdr *smb_buffer, in smb2_mid_entry_alloc() argument
493 temp->mid = le64_to_cpu(smb_buffer->MessageId); in smb2_mid_entry_alloc()
495 temp->command = smb_buffer->Command; /* Always LE */ in smb2_mid_entry_alloc()
Dcifsproto.h72 extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer,
Dcifssmb.c652 struct smb_hdr *smb_buffer; in CIFSSMBTDis() local
671 (void **)&smb_buffer); in CIFSSMBTDis()
675 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES551 extensions enabled. Fix oops when smb_buffer can not be allocated. Fix