Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dtransport.c42 alloc_mid(const struct smb_hdr *smb_buffer, struct TCP_Server_Info *server) in alloc_mid() argument
54 temp->mid = get_mid(smb_buffer); in alloc_mid()
56 temp->command = cpu_to_le16(smb_buffer->Command); in alloc_mid()
57 cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command); in alloc_mid()
486 smb_send(struct TCP_Server_Info *server, struct smb_hdr *smb_buffer, in smb_send() argument
493 iov[0].iov_base = smb_buffer; in smb_send()
495 iov[1].iov_base = (char *)smb_buffer + 4; in smb_send()
Dconnect.c3907 struct smb_hdr *smb_buffer; in CIFSTCon() local
3919 smb_buffer = cifs_buf_get(); in CIFSTCon()
3920 if (smb_buffer == NULL) in CIFSTCon()
3923 smb_buffer_response = smb_buffer; in CIFSTCon()
3925 header_assemble(smb_buffer, SMB_COM_TREE_CONNECT_ANDX, in CIFSTCon()
3928 smb_buffer->Mid = get_next_mid(ses->server); in CIFSTCon()
3929 smb_buffer->Uid = ses->Suid; in CIFSTCon()
3930 pSMB = (TCONX_REQ *) smb_buffer; in CIFSTCon()
3943 smb_buffer->Flags2 |= SMBFLG2_SECURITY_SIGNATURE; in CIFSTCon()
3946 smb_buffer->Flags2 |= SMBFLG2_ERR_STATUS; in CIFSTCon()
[all …]
Dcifssmb.c541 struct smb_hdr *smb_buffer; in CIFSSMBTDis() local
564 (void **)&smb_buffer); in CIFSSMBTDis()
568 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0); in CIFSSMBTDis()
569 cifs_small_buf_release(smb_buffer); in CIFSSMBTDis()