Searched refs:pSMBr (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/cifs/
H A Dcifssmb.c367 decode_ext_sec_blob(struct cifs_ses *ses, NEGOTIATE_RSP *pSMBr) decode_ext_sec_blob() argument
371 char *guid = pSMBr->u.extended_response.GUID; decode_ext_sec_blob()
374 count = get_bcc(&pSMBr->hdr); decode_ext_sec_blob()
395 pSMBr->u.extended_response.SecurityBlob, count, server); decode_ext_sec_blob()
448 decode_lanman_negprot_rsp(struct TCP_Server_Info *server, NEGOTIATE_RSP *pSMBr) decode_lanman_negprot_rsp() argument
451 struct lanman_neg_rsp *rsp = (struct lanman_neg_rsp *)pSMBr; decode_lanman_negprot_rsp()
520 decode_lanman_negprot_rsp(struct TCP_Server_Info *server, NEGOTIATE_RSP *pSMBr) decode_lanman_negprot_rsp() argument
548 NEGOTIATE_RSP *pSMBr; CIFSSMBNegotiate() local
561 (void **) &pSMB, (void **) &pSMBr); CIFSSMBNegotiate()
583 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBNegotiate()
587 server->dialect = le16_to_cpu(pSMBr->DialectIndex); CIFSSMBNegotiate()
590 if ((pSMBr->hdr.WordCount < 13) || (server->dialect == BAD_PROT)) { CIFSSMBNegotiate()
596 } else if (pSMBr->hdr.WordCount == 13) { CIFSSMBNegotiate()
598 rc = decode_lanman_negprot_rsp(server, pSMBr); CIFSSMBNegotiate()
600 } else if (pSMBr->hdr.WordCount != 17) { CIFSSMBNegotiate()
607 server->sec_mode = pSMBr->SecurityMode; CIFSSMBNegotiate()
613 server->maxReq = min_t(unsigned int, le16_to_cpu(pSMBr->MaxMpxCount), CIFSSMBNegotiate()
617 server->maxBuf = le32_to_cpu(pSMBr->MaxBufferSize); CIFSSMBNegotiate()
618 server->max_rw = le32_to_cpu(pSMBr->MaxRawSize); CIFSSMBNegotiate()
620 server->capabilities = le32_to_cpu(pSMBr->Capabilities); CIFSSMBNegotiate()
621 server->timeAdj = (int)(__s16)le16_to_cpu(pSMBr->ServerTimeZone); CIFSSMBNegotiate()
624 if (pSMBr->EncryptionKeyLength == CIFS_CRYPTO_KEY_SIZE) { CIFSSMBNegotiate()
626 memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, CIFSSMBNegotiate()
628 } else if ((pSMBr->hdr.Flags2 & SMBFLG2_EXT_SEC || CIFSSMBNegotiate()
630 (pSMBr->EncryptionKeyLength == 0)) { CIFSSMBNegotiate()
632 rc = decode_ext_sec_blob(ses, pSMBr); CIFSSMBNegotiate()
791 TRANSACTION2_SPI_RSP *pSMBr = NULL; CIFSPOSIXDelFile() local
801 (void **) &pSMBr); CIFSPOSIXDelFile()
848 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSPOSIXDelFile()
866 DELETE_FILE_RSP *pSMBr = NULL; CIFSSMBDelFile() local
874 (void **) &pSMBr); CIFSSMBDelFile()
895 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBDelFile()
912 DELETE_DIRECTORY_RSP *pSMBr = NULL; CIFSSMBRmDir() local
921 (void **) &pSMBr); CIFSSMBRmDir()
941 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBRmDir()
958 CREATE_DIRECTORY_RSP *pSMBr = NULL; CIFSSMBMkDir() local
966 (void **) &pSMBr); CIFSSMBMkDir()
986 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBMkDir()
1005 TRANSACTION2_SPI_RSP *pSMBr = NULL; CIFSPOSIXCreate() local
1016 (void **) &pSMBr); CIFSPOSIXCreate()
1065 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSPOSIXCreate()
1072 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSPOSIXCreate()
1074 if (rc || get_bcc(&pSMBr->hdr) < sizeof(OPEN_PSX_RSP)) { CIFSPOSIXCreate()
1080 psx_rsp = (OPEN_PSX_RSP *)((char *) &pSMBr->hdr.Protocol CIFSPOSIXCreate()
1081 + le16_to_cpu(pSMBr->t2.DataOffset)); CIFSPOSIXCreate()
1095 if (get_bcc(&pSMBr->hdr) < sizeof(OPEN_PSX_RSP) CIFSPOSIXCreate()
1173 OPENX_RSP *pSMBr = NULL; SMBLegacyOpen() local
1180 (void **) &pSMBr); SMBLegacyOpen()
1232 (struct smb_hdr *)pSMBr, &bytes_returned, 0); SMBLegacyOpen()
1239 /* *pOplock = pSMBr->OplockLevel; */ /* BB take from action field*/ SMBLegacyOpen()
1241 *netfid = pSMBr->Fid; /* cifs fid stays in le */ SMBLegacyOpen()
1245 /* if (cpu_to_le32(FILE_CREATE) == pSMBr->CreateAction) SMBLegacyOpen()
1255 cpu_to_le32(le16_to_cpu(pSMBr->FileAttributes)); SMBLegacyOpen()
1258 cpu_to_le64(le32_to_cpu(pSMBr->EndOfFile)); SMBLegacyOpen()
1666 READ_RSP *pSMBr = NULL; CIFSSMBRead() local
1723 pSMBr = (READ_RSP *)iov[0].iov_base; CIFSSMBRead()
1727 int data_length = le16_to_cpu(pSMBr->DataLengthHigh); CIFSSMBRead()
1729 data_length += le16_to_cpu(pSMBr->DataLength); CIFSSMBRead()
1740 pReadData = (char *) (&pSMBr->hdr.Protocol) + CIFSSMBRead()
1741 le16_to_cpu(pSMBr->DataOffset); CIFSSMBRead()
1776 WRITE_RSP *pSMBr = NULL; CIFSSMBWrite() local
1803 (void **) &pSMBr); CIFSSMBWrite()
1870 (struct smb_hdr *) pSMBr, &bytes_returned, long_op); CIFSSMBWrite()
1875 *nbytes = le16_to_cpu(pSMBr->CountHigh); CIFSSMBWrite()
1877 *nbytes += le16_to_cpu(pSMBr->Count); CIFSSMBWrite()
2256 WRITE_RSP *pSMBr = (WRITE_RSP *)iov[0].iov_base; CIFSSMBWrite2() local
2257 *nbytes = le16_to_cpu(pSMBr->CountHigh); CIFSSMBWrite2()
2259 *nbytes += le16_to_cpu(pSMBr->Count); CIFSSMBWrite2()
2330 /* LOCK_RSP *pSMBr = NULL; */ /* No response data other than rc to parse */ CIFSSMBLock()
2400 struct smb_com_transaction2_sfi_rsp *pSMBr = NULL; CIFSSMBPosixLock() local
2416 pSMBr = (struct smb_com_transaction2_sfi_rsp *)pSMB; CIFSSMBPosixLock()
2464 (struct smb_hdr *) pSMBr, &bytes_returned); CIFSSMBPosixLock()
2472 pSMBr = (struct smb_com_transaction2_sfi_rsp *)iov[0].iov_base; CIFSSMBPosixLock()
2481 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBPosixLock()
2483 if (rc || get_bcc(&pSMBr->hdr) < sizeof(*parm_data)) { CIFSSMBPosixLock()
2487 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBPosixLock()
2488 data_count = le16_to_cpu(pSMBr->t2.DataCount); CIFSSMBPosixLock()
2494 ((char *)&pSMBr->hdr.Protocol + data_offset); CIFSSMBPosixLock()
2586 RENAME_RSP *pSMBr = NULL; CIFSSMBRename() local
2595 (void **) &pSMBr); CIFSSMBRename()
2636 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBRename()
2654 struct smb_com_transaction2_sfi_rsp *pSMBr = NULL; CIFSSMBRenameOpenFile() local
2665 (void **) &pSMBr); CIFSSMBRenameOpenFile()
2717 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBRenameOpenFile()
2738 COPY_RSP *pSMBr = NULL; CIFSSMBCopy() local
2746 (void **) &pSMBr); CIFSSMBCopy()
2786 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBCopy()
2789 rc, le16_to_cpu(pSMBr->CopyCount)); CIFSSMBCopy()
2805 TRANSACTION2_SPI_RSP *pSMBr = NULL; CIFSUnixCreateSymLink() local
2816 (void **) &pSMBr); CIFSUnixCreateSymLink()
2875 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSUnixCreateSymLink()
2895 TRANSACTION2_SPI_RSP *pSMBr = NULL; CIFSUnixCreateHardLink() local
2906 (void **) &pSMBr); CIFSUnixCreateHardLink()
2962 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSUnixCreateHardLink()
2982 RENAME_RSP *pSMBr = NULL; CIFSCreateHardLink() local
2992 (void **) &pSMBr); CIFSCreateHardLink()
3037 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSCreateHardLink()
3056 TRANSACTION2_QPI_RSP *pSMBr = NULL; CIFSSMBUnixQuerySymLink() local
3067 (void **) &pSMBr); CIFSSMBUnixQuerySymLink()
3109 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBUnixQuerySymLink()
3115 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBUnixQuerySymLink()
3117 if (rc || get_bcc(&pSMBr->hdr) < 2) CIFSSMBUnixQuerySymLink()
3121 u16 count = le16_to_cpu(pSMBr->t2.DataCount); CIFSSMBUnixQuerySymLink()
3123 data_start = ((char *) &pSMBr->hdr.Protocol) + CIFSSMBUnixQuerySymLink()
3124 le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBUnixQuerySymLink()
3126 if (pSMBr->hdr.Flags2 & SMBFLG2_UNICODE) CIFSSMBUnixQuerySymLink()
3162 struct smb_com_transaction_ioctl_rsp *pSMBr; CIFSSMBQuerySymLink() local
3173 (void **) &pSMBr); CIFSSMBQuerySymLink()
3197 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQuerySymLink()
3203 data_offset = le32_to_cpu(pSMBr->DataOffset); CIFSSMBQuerySymLink()
3204 data_count = le32_to_cpu(pSMBr->DataCount); CIFSSMBQuerySymLink()
3205 if (get_bcc(&pSMBr->hdr) < 2 || data_offset > 512) { CIFSSMBQuerySymLink()
3215 end_of_smb = 2 + get_bcc(&pSMBr->hdr) + (char *)&pSMBr->ByteCount; CIFSSMBQuerySymLink()
3217 ((char *)&pSMBr->hdr.Protocol + data_offset); CIFSSMBQuerySymLink()
3257 if (pSMBr->hdr.Flags2 & SMBFLG2_UNICODE) CIFSSMBQuerySymLink()
3284 struct smb_com_transaction_ioctl_rsp *pSMBr; CIFSSMB_set_compression() local
3288 (void **) &pSMBr); CIFSSMB_set_compression()
3317 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMB_set_compression()
3481 TRANSACTION2_QPI_RSP *pSMBr = NULL; CIFSSMBGetPosixACL() local
3491 (void **) &pSMBr); CIFSSMBGetPosixACL()
3537 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBGetPosixACL()
3544 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBGetPosixACL()
3546 if (rc || get_bcc(&pSMBr->hdr) < 2) CIFSSMBGetPosixACL()
3549 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBGetPosixACL()
3550 __u16 count = le16_to_cpu(pSMBr->t2.DataCount); CIFSSMBGetPosixACL()
3552 (char *)&pSMBr->hdr.Protocol+data_offset, CIFSSMBGetPosixACL()
3570 struct smb_com_transaction2_spi_rsp *pSMBr = NULL; CIFSSMBSetPosixACL() local
3580 (void **) &pSMBr); CIFSSMBSetPosixACL()
3630 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBSetPosixACL()
3648 struct smb_t2_qfi_rsp *pSMBr = NULL; CIFSGetExtAttr() local
3658 (void **) &pSMBr); CIFSGetExtAttr()
3689 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSGetExtAttr()
3694 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSGetExtAttr()
3696 if (rc || get_bcc(&pSMBr->hdr) < 2) CIFSGetExtAttr()
3701 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSGetExtAttr()
3702 __u16 count = le16_to_cpu(pSMBr->t2.DataCount); CIFSGetExtAttr()
3711 (data_offset + (char *) &pSMBr->hdr.Protocol); CIFSGetExtAttr()
3769 struct smb_com_ntransact_rsp *pSMBr; validate_ntransact() local
3778 pSMBr = (struct smb_com_ntransact_rsp *)buf; validate_ntransact()
3780 bcc = get_bcc(&pSMBr->hdr); validate_ntransact()
3782 (char *)&pSMBr->ByteCount; validate_ntransact()
3784 data_offset = le32_to_cpu(pSMBr->DataOffset); validate_ntransact()
3785 data_count = le32_to_cpu(pSMBr->DataCount); validate_ntransact()
3786 parm_offset = le32_to_cpu(pSMBr->ParameterOffset); validate_ntransact()
3787 parm_count = le32_to_cpu(pSMBr->ParameterCount); validate_ntransact()
3789 *ppparm = (char *)&pSMBr->hdr.Protocol + parm_offset; validate_ntransact()
3790 *ppdata = (char *)&pSMBr->hdr.Protocol + data_offset; validate_ntransact()
3805 end_of_smb, pSMBr); validate_ntransact()
3856 struct smb_com_ntransact_rsp *pSMBr; CIFSSMBGetCIFSACL() local
3864 pSMBr = (struct smb_com_ntransact_rsp *)iov[0].iov_base; CIFSSMBGetCIFSACL()
3867 pSMBr, parm, *acl_inf); CIFSSMBGetCIFSACL()
3869 if (le32_to_cpu(pSMBr->ParameterCount) != 4) { CIFSSMBGetCIFSACL()
3914 void *pSMBr; CIFSSMBSetCIFSACL() local
3917 rc = smb_init(SMB_COM_NT_TRANSACT, 19, tcon, (void **) &pSMB, &pSMBr); CIFSSMBSetCIFSACL()
3947 memcpy((char *)pSMBr + offsetof(struct smb_hdr, Protocol) + CIFSSMBSetCIFSACL()
3954 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBSetCIFSACL()
3978 QUERY_INFORMATION_RSP *pSMBr; SMBQueryInformation() local
3986 (void **) &pSMBr); SMBQueryInformation()
4008 (struct smb_hdr *) pSMBr, &bytes_returned, 0); SMBQueryInformation()
4013 __u32 time = le32_to_cpu(pSMBr->last_write_time); SMBQueryInformation()
4025 cpu_to_le64(le32_to_cpu(pSMBr->size)); SMBQueryInformation()
4028 cpu_to_le32(le16_to_cpu(pSMBr->attr)); SMBQueryInformation()
4045 struct smb_t2_qfi_rsp *pSMBr = NULL; CIFSSMBQFileInfo() local
4052 (void **) &pSMBr); CIFSSMBQFileInfo()
4083 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQFileInfo()
4087 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQFileInfo()
4091 else if (get_bcc(&pSMBr->hdr) < 40) CIFSSMBQFileInfo()
4094 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQFileInfo()
4096 (char *) &pSMBr->hdr.Protocol + CIFSSMBQFileInfo()
4116 TRANSACTION2_QPI_RSP *pSMBr = NULL; CIFSSMBQPathInfo() local
4125 (void **) &pSMBr); CIFSSMBQPathInfo()
4170 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQPathInfo()
4174 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQPathInfo()
4178 else if (!legacy && get_bcc(&pSMBr->hdr) < 40) CIFSSMBQPathInfo()
4180 else if (legacy && get_bcc(&pSMBr->hdr) < 24) CIFSSMBQPathInfo()
4185 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQPathInfo()
4197 memcpy((char *) data, (char *) &pSMBr->hdr.Protocol + CIFSSMBQPathInfo()
4214 struct smb_t2_qfi_rsp *pSMBr = NULL; CIFSSMBUnixQFileInfo() local
4221 (void **) &pSMBr); CIFSSMBUnixQFileInfo()
4252 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBUnixQFileInfo()
4256 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBUnixQFileInfo()
4258 if (rc || get_bcc(&pSMBr->hdr) < sizeof(FILE_UNIX_BASIC_INFO)) { CIFSSMBUnixQFileInfo()
4262 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBUnixQFileInfo()
4264 (char *) &pSMBr->hdr.Protocol + CIFSSMBUnixQFileInfo()
4285 TRANSACTION2_QPI_RSP *pSMBr = NULL; CIFSSMBUnixQPathInfo() local
4294 (void **) &pSMBr); CIFSSMBUnixQPathInfo()
4336 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBUnixQPathInfo()
4340 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBUnixQPathInfo()
4342 if (rc || get_bcc(&pSMBr->hdr) < sizeof(FILE_UNIX_BASIC_INFO)) { CIFSSMBUnixQPathInfo()
4346 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBUnixQPathInfo()
4348 (char *) &pSMBr->hdr.Protocol + CIFSSMBUnixQPathInfo()
4369 TRANSACTION2_FFIRST_RSP *pSMBr = NULL; CIFSFindFirst() local
4381 (void **) &pSMBr); CIFSFindFirst()
4454 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSFindFirst()
4470 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSFindFirst()
4474 if (pSMBr->hdr.Flags2 & SMBFLG2_UNICODE) CIFSFindFirst()
4479 psrch_inf->ntwrk_buf_start = (char *)pSMBr; CIFSFindFirst()
4482 (char *) &pSMBr->hdr.Protocol + CIFSFindFirst()
4483 le16_to_cpu(pSMBr->t2.DataOffset); CIFSFindFirst()
4484 parms = (T2_FFIRST_RSP_PARMS *)((char *) &pSMBr->hdr.Protocol + CIFSFindFirst()
4485 le16_to_cpu(pSMBr->t2.ParameterOffset)); CIFSFindFirst()
4521 TRANSACTION2_FNEXT_RSP *pSMBr = NULL; CIFSFindNext() local
4535 (void **) &pSMBr); CIFSFindNext()
4582 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSFindNext()
4592 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSFindNext()
4598 if (pSMBr->hdr.Flags2 & SMBFLG2_UNICODE) CIFSFindNext()
4602 response_data = (char *) &pSMBr->hdr.Protocol + CIFSFindNext()
4603 le16_to_cpu(pSMBr->t2.ParameterOffset); CIFSFindNext()
4605 response_data = (char *)&pSMBr->hdr.Protocol + CIFSFindNext()
4606 le16_to_cpu(pSMBr->t2.DataOffset); CIFSFindNext()
4690 TRANSACTION2_QPI_RSP *pSMBr = NULL; CIFSGetSrvInodeNumber() local
4700 (void **) &pSMBr); CIFSGetSrvInodeNumber()
4743 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSGetSrvInodeNumber()
4748 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSGetSrvInodeNumber()
4750 if (rc || get_bcc(&pSMBr->hdr) < 2) CIFSGetSrvInodeNumber()
4755 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSGetSrvInodeNumber()
4756 __u16 count = le16_to_cpu(pSMBr->t2.DataCount); CIFSGetSrvInodeNumber()
4765 (data_offset + (char *) &pSMBr->hdr.Protocol); CIFSGetSrvInodeNumber()
4783 parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr, parse_DFS_referrals() argument
4794 if (pSMBr->hdr.Flags2 & SMBFLG2_UNICODE) parse_DFS_referrals()
4798 *num_of_nodes = le16_to_cpu(pSMBr->NumberOfReferrals); parse_DFS_referrals()
4807 ref = (struct dfs_referral_level_3 *) &(pSMBr->referrals); parse_DFS_referrals()
4816 data_end = (char *)(&(pSMBr->PathConsumed)) + parse_DFS_referrals()
4817 le16_to_cpu(pSMBr->t2.DataCount); parse_DFS_referrals()
4820 *num_of_nodes, le32_to_cpu(pSMBr->DFSFlags)); parse_DFS_referrals()
4835 node->flags = le32_to_cpu(pSMBr->DFSFlags); parse_DFS_referrals()
4846 le16_to_cpu(pSMBr->PathConsumed), parse_DFS_referrals()
4850 node->path_consumed = le16_to_cpu(pSMBr->PathConsumed); parse_DFS_referrals()
4895 TRANSACTION2_GET_DFS_REFER_RSP *pSMBr = NULL; CIFSGetDFSRefer() local
4908 (void **) &pSMBr); CIFSGetDFSRefer()
4966 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSGetDFSRefer()
4971 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSGetDFSRefer()
4974 if (rc || get_bcc(&pSMBr->hdr) < 17) { CIFSGetDFSRefer()
4980 get_bcc(&pSMBr->hdr), le16_to_cpu(pSMBr->t2.DataOffset)); CIFSGetDFSRefer()
4983 rc = parse_DFS_referrals(pSMBr, num_of_nodes, CIFSGetDFSRefer()
5003 TRANSACTION2_QFSI_RSP *pSMBr = NULL; SMBOldQFSInfo() local
5012 (void **) &pSMBr); SMBOldQFSInfo()
5040 (struct smb_hdr *) pSMBr, &bytes_returned, 0); SMBOldQFSInfo()
5044 rc = validate_t2((struct smb_t2_rsp *)pSMBr); SMBOldQFSInfo()
5046 if (rc || get_bcc(&pSMBr->hdr) < 18) SMBOldQFSInfo()
5049 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); SMBOldQFSInfo()
5051 get_bcc(&pSMBr->hdr), data_offset); SMBOldQFSInfo()
5054 (((char *) &pSMBr->hdr.Protocol) + data_offset); SMBOldQFSInfo()
5083 TRANSACTION2_QFSI_RSP *pSMBr = NULL; CIFSSMBQFSInfo() local
5092 (void **) &pSMBr); CIFSSMBQFSInfo()
5120 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQFSInfo()
5124 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQFSInfo()
5126 if (rc || get_bcc(&pSMBr->hdr) < 24) CIFSSMBQFSInfo()
5129 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQFSInfo()
5133 *) (((char *) &pSMBr->hdr.Protocol) + CIFSSMBQFSInfo()
5162 TRANSACTION2_QFSI_RSP *pSMBr = NULL; CIFSSMBQFSAttributeInfo() local
5171 (void **) &pSMBr); CIFSSMBQFSAttributeInfo()
5200 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQFSAttributeInfo()
5204 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQFSAttributeInfo()
5206 if (rc || get_bcc(&pSMBr->hdr) < 13) { CIFSSMBQFSAttributeInfo()
5210 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQFSAttributeInfo()
5213 *) (((char *) &pSMBr->hdr.Protocol) + CIFSSMBQFSAttributeInfo()
5232 TRANSACTION2_QFSI_RSP *pSMBr = NULL; CIFSSMBQFSDeviceInfo() local
5241 (void **) &pSMBr); CIFSSMBQFSDeviceInfo()
5271 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQFSDeviceInfo()
5275 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQFSDeviceInfo()
5277 if (rc || get_bcc(&pSMBr->hdr) < CIFSSMBQFSDeviceInfo()
5281 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQFSDeviceInfo()
5284 (((char *) &pSMBr->hdr.Protocol) + CIFSSMBQFSDeviceInfo()
5303 TRANSACTION2_QFSI_RSP *pSMBr = NULL; CIFSSMBQFSUnixInfo() local
5312 (void **) &pSMB, (void **) &pSMBr); CIFSSMBQFSUnixInfo()
5341 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQFSUnixInfo()
5345 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQFSUnixInfo()
5347 if (rc || get_bcc(&pSMBr->hdr) < 13) { CIFSSMBQFSUnixInfo()
5350 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQFSUnixInfo()
5353 *) (((char *) &pSMBr->hdr.Protocol) + CIFSSMBQFSUnixInfo()
5373 TRANSACTION2_SETFSI_RSP *pSMBr = NULL; CIFSSMBSetFSUnixInfo() local
5382 (void **) &pSMB, (void **) &pSMBr); CIFSSMBSetFSUnixInfo()
5424 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBSetFSUnixInfo()
5428 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBSetFSUnixInfo()
5448 TRANSACTION2_QFSI_RSP *pSMBr = NULL; CIFSSMBQFSPosixInfo() local
5457 (void **) &pSMBr); CIFSSMBQFSPosixInfo()
5486 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQFSPosixInfo()
5490 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQFSPosixInfo()
5492 if (rc || get_bcc(&pSMBr->hdr) < 13) { CIFSSMBQFSPosixInfo()
5495 __u16 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQFSPosixInfo()
5498 *) (((char *) &pSMBr->hdr.Protocol) + CIFSSMBQFSPosixInfo()
5541 struct smb_com_transaction2_spi_rsp *pSMBr = NULL; CIFSSMBSetEOF() local
5553 (void **) &pSMBr); CIFSSMBSetEOF()
5614 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBSetEOF()
5835 TRANSACTION2_SPI_RSP *pSMBr = NULL; CIFSSMBSetPathInfo() local
5846 (void **) &pSMBr); CIFSSMBSetPathInfo()
5896 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBSetPathInfo()
5918 SETATTR_RSP *pSMBr = NULL;
5927 (void **) &pSMBr);
5947 (struct smb_hdr *) pSMBr, &bytes_returned, 0);
6079 TRANSACTION2_SPI_RSP *pSMBr = NULL; CIFSSMBUnixSetPathInfo() local
6089 (void **) &pSMBr); CIFSSMBUnixSetPathInfo()
6140 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBUnixSetPathInfo()
6168 TRANSACTION2_QPI_RSP *pSMBr = NULL; CIFSSMBQAllEAs() local
6182 (void **) &pSMBr); CIFSSMBQAllEAs()
6224 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBQAllEAs()
6235 rc = validate_t2((struct smb_t2_rsp *)pSMBr); CIFSSMBQAllEAs()
6236 if (rc || get_bcc(&pSMBr->hdr) < 4) { CIFSSMBQAllEAs()
6249 data_offset = le16_to_cpu(pSMBr->t2.DataOffset); CIFSSMBQAllEAs()
6251 (((char *) &pSMBr->hdr.Protocol) + data_offset); CIFSSMBQAllEAs()
6264 end_of_smb = (char *)pByteArea(&pSMBr->hdr) + get_bcc(&pSMBr->hdr); CIFSSMBQAllEAs()
6353 struct smb_com_transaction2_spi_rsp *pSMBr = NULL; CIFSSMBSetEA() local
6363 (void **) &pSMBr); CIFSSMBSetEA()
6440 (struct smb_hdr *) pSMBr, &bytes_returned, 0); CIFSSMBSetEA()
6481 struct smb_com_ntransaction_change_notify_rsp *pSMBr = NULL; CIFSSMBNotify() local
6487 (void **) &pSMBr); CIFSSMBNotify()
6511 (struct smb_hdr *)pSMBr, &bytes_returned, CIFSSMBNotify()
H A Dmisc.c410 struct smb_com_transaction_change_notify_rsp *pSMBr = is_valid_oplock_break() local
415 data_offset = le32_to_cpu(pSMBr->DataOffset); is_valid_oplock_break()
418 ((char *)&pSMBr->hdr.Protocol + data_offset); is_valid_oplock_break()
425 if (pSMBr->hdr.Status.CifsError) { is_valid_oplock_break()
427 pSMBr->hdr.Status.CifsError); is_valid_oplock_break()
H A Dconnect.c3647 TCONX_RSP *pSMBr; CIFSTCon() local
3668 pSMBr = (TCONX_RSP *) smb_buffer_response; CIFSTCon()
3788 tcon->Flags = le16_to_cpu(pSMBr->OptionalSupport); CIFSTCon()

Completed in 132 milliseconds