Home
last modified time | relevance | path

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

/linux-4.1.27/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.c3644 struct smb_hdr *smb_buffer; in CIFSTCon() local
3656 smb_buffer = cifs_buf_get(); in CIFSTCon()
3657 if (smb_buffer == NULL) in CIFSTCon()
3660 smb_buffer_response = smb_buffer; in CIFSTCon()
3662 header_assemble(smb_buffer, SMB_COM_TREE_CONNECT_ANDX, in CIFSTCon()
3665 smb_buffer->Mid = get_next_mid(ses->server); in CIFSTCon()
3666 smb_buffer->Uid = ses->Suid; in CIFSTCon()
3667 pSMB = (TCONX_REQ *) smb_buffer; in CIFSTCon()
3700 cifs_buf_release(smb_buffer); in CIFSTCon()
3713 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.h74 extern struct mid_q_entry *AllocMidQEntry(const struct smb_hdr *smb_buffer,
Dcifssmb.c653 struct smb_hdr *smb_buffer; in CIFSSMBTDis() local
672 (void **)&smb_buffer); in CIFSSMBTDis()
676 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
/linux-4.1.27/Documentation/filesystems/cifs/
DCHANGES551 extensions enabled. Fix oops when smb_buffer can not be allocated. Fix