Lines Matching refs:smb_hdr
225 header_assemble((struct smb_hdr *) *request_buf, smb_command, in small_smb_init()
239 struct smb_hdr *buffer; in small_smb_init_no_tc()
245 buffer = (struct smb_hdr *)*request_buf; in small_smb_init_no_tc()
277 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon, in __smb_init()
445 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in CIFSSMBNegotiate()
446 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBNegotiate()
512 struct smb_hdr *smb_buffer; in CIFSSMBTDis()
725 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXDelFile()
726 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSPOSIXDelFile()
770 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBDelFile()
771 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBDelFile()
814 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBRmDir()
815 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBRmDir()
858 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBMkDir()
859 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBMkDir()
936 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSPOSIXCreate()
937 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSPOSIXCreate()
1100 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in SMBLegacyOpen()
1101 (struct smb_hdr *)pSMBr, &bytes_returned, 0); in SMBLegacyOpen()
1224 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)req, in CIFS_open()
1225 (struct smb_hdr *)rsp, &bytes_returned, 0); in CIFS_open()
1582 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBWrite()
1583 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBWrite()
1948 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB, in CIFSSMBLock()
1949 (struct smb_hdr *) pSMB, &bytes_returned); in CIFSSMBLock()
2035 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB, in CIFSSMBPosixLock()
2036 (struct smb_hdr *) pSMBr, &bytes_returned); in CIFSSMBPosixLock()
2201 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBRename()
2202 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBRename()
2283 rc = SendReceive(xid, pTcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBRenameOpenFile()
2284 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBRenameOpenFile()
2347 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBCopy()
2348 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBCopy()
2433 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSUnixCreateSymLink()
2434 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSUnixCreateSymLink()
2517 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSUnixCreateHardLink()
2518 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSUnixCreateHardLink()
2587 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSCreateHardLink()
2588 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSCreateHardLink()
2657 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBUnixQuerySymLink()
2658 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBUnixQuerySymLink()
2745 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQuerySymLink()
2746 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQuerySymLink()
2865 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMB_set_compression()
2866 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMB_set_compression()
3115 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in cifs_do_get_acl()
3116 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in cifs_do_get_acl()
3209 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in cifs_do_set_acl()
3210 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in cifs_do_set_acl()
3284 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSGetExtAttr()
3285 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSGetExtAttr()
3543 memcpy((char *)pSMBr + offsetof(struct smb_hdr, Protocol) + in CIFSSMBSetCIFSACL()
3549 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBSetCIFSACL()
3550 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBSetCIFSACL()
3600 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in SMBQueryInformation()
3601 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in SMBQueryInformation()
3675 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQFileInfo()
3676 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQFileInfo()
3760 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQPathInfo()
3761 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQPathInfo()
3842 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBUnixQFileInfo()
3843 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBUnixQFileInfo()
3924 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBUnixQPathInfo()
3925 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBUnixQPathInfo()
4042 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSFindFirst()
4043 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSFindFirst()
4160 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSFindNext()
4161 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSFindNext()
4310 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSGetSrvInodeNumber()
4311 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSGetSrvInodeNumber()
4426 rc = SendReceive(xid, ses, (struct smb_hdr *) pSMB, in CIFSGetDFSRefer()
4427 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSGetDFSRefer()
4502 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in SMBOldQFSInfo()
4503 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in SMBOldQFSInfo()
4589 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQFSInfo()
4590 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQFSInfo()
4676 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQFSAttributeInfo()
4677 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQFSAttributeInfo()
4747 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQFSDeviceInfo()
4748 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQFSDeviceInfo()
4817 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQFSUnixInfo()
4818 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQFSUnixInfo()
4900 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBSetFSUnixInfo()
4901 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBSetFSUnixInfo()
4962 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQFSPosixInfo()
4963 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQFSPosixInfo()
5095 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBSetEOF()
5096 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBSetEOF()
5220 offsetof(struct smb_hdr, Protocol) + offset; in CIFSSMBSetFileInfo()
5413 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBSetPathInfo()
5414 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBSetPathInfo()
5506 offsetof(struct smb_hdr, Protocol) + offset; in CIFSSMBUnixSetFileInfo()
5607 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBUnixSetPathInfo()
5608 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBUnixSetPathInfo()
5691 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBQAllEAs()
5692 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBQAllEAs()
5871 parm_data = (void *)pSMB + offsetof(struct smb_hdr, Protocol) + offset; in CIFSSMBSetEA()
5904 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB, in CIFSSMBSetEA()
5905 (struct smb_hdr *) pSMBr, &bytes_returned, 0); in CIFSSMBSetEA()