Lines Matching defs:tcon
99 cifs_mark_open_files_invalid(struct cifs_tcon *tcon)
106 spin_lock(&tcon->open_file_lock);
107 list_for_each_safe(tmp, tmp1, &tcon->openFileList) {
112 spin_unlock(&tcon->open_file_lock);
114 mutex_lock(&tcon->crfid.fid_mutex);
115 tcon->crfid.is_valid = false;
117 close_shroot_lease_locked(&tcon->crfid);
118 memset(tcon->crfid.fid, 0, sizeof(struct cifs_fid));
119 mutex_unlock(&tcon->crfid.fid_mutex);
123 * to this tcon.
127 /* reconnect the socket, tcon, and smb session if needed */
129 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command)
138 * SMBs NegProt, SessSetup, uLogoff do not have tcon yet so check for
142 if (!tcon)
145 ses = tcon->ses;
150 * have tcon) are allowed as we start force umount
152 if (tcon->tidStatus == CifsExiting) {
191 if (!tcon->retry) {
198 if (!ses->need_reconnect && !tcon->need_reconnect)
224 /* do we need to reconnect tcon? */
225 if (rc || !tcon->need_reconnect) {
230 cifs_mark_open_files_invalid(tcon);
231 rc = cifs_tree_connect(0, tcon, nls_codepage);
233 cifs_dbg(FYI, "reconnect tcon rc = %d\n", rc);
236 pr_warn_once("reconnect tcon failed rc = %d\n", rc);
244 reset_cifs_unix_caps(0, tcon, NULL, NULL);
275 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
280 rc = cifs_reconnect_tcon(tcon, smb_command);
291 tcon, wct);
293 if (tcon != NULL)
294 cifs_stats_inc(&tcon->num_smbs_sent);
327 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
342 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon,
345 if (tcon != NULL)
346 cifs_stats_inc(&tcon->num_smbs_sent);
353 smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
358 rc = cifs_reconnect_tcon(tcon, smb_command);
362 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
366 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon,
369 if (tcon->ses->need_reconnect || tcon->need_reconnect)
372 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
606 rc = smb_init(SMB_COM_NEGOTIATE, 0, NULL /* no tcon yet */ ,
703 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon)
711 if ((tcon->ses == NULL) || (tcon->ses->server == NULL))
717 * the tcon is no longer on the list, so no need to take lock before
720 if ((tcon->need_reconnect) || (tcon->ses->need_reconnect))
723 rc = small_smb_init(SMB_COM_TREE_DISCONNECT, 0, tcon,
728 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0);
847 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon,
861 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
906 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
912 cifs_stats_inc(&tcon->stats.cifs_stats.num_deletes);
921 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name,
932 rc = smb_init(SMB_COM_DELETE, 1, tcon, (void **) &pSMB,
951 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
953 cifs_stats_inc(&tcon->stats.cifs_stats.num_deletes);
965 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name,
977 rc = smb_init(SMB_COM_DELETE_DIRECTORY, 0, tcon, (void **) &pSMB,
995 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
997 cifs_stats_inc(&tcon->stats.cifs_stats.num_rmdirs);
1009 struct cifs_tcon *tcon, const char *name,
1021 rc = smb_init(SMB_COM_CREATE_DIRECTORY, 0, tcon, (void **) &pSMB,
1039 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1041 cifs_stats_inc(&tcon->stats.cifs_stats.num_mkdirs);
1052 CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *tcon,
1069 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
1116 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1162 cifs_stats_inc(&tcon->stats.cifs_stats.num_posixmkdirs);
1164 cifs_stats_inc(&tcon->stats.cifs_stats.num_posixopens);
1217 SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon,
1231 rc = smb_init(SMB_COM_OPEN_ANDX, 15, tcon, (void **) &pSMB,
1280 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1282 cifs_stats_inc(&tcon->stats.cifs_stats.num_opens);
1331 struct cifs_tcon *tcon = oparms->tcon;
1340 rc = smb_init(SMB_COM_NT_CREATE_ANDX, 24, tcon, (void **)&req,
1386 if (tcon->ses->capabilities & CAP_UNIX)
1404 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)req,
1406 cifs_stats_inc(&tcon->stats.cifs_stats.num_opens);
1622 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink);
1623 struct TCP_Server_Info *server = tcon->ses->server;
1651 cifs_stats_bytes_read(tcon, rdata->got_bytes);
1661 cifs_stats_bytes_read(tcon, rdata->got_bytes);
1679 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink);
1686 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1696 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **)&smb);
1727 rc = cifs_call_async(tcon->ses->server, &rqst, cifs_readv_receive,
1731 cifs_stats_inc(&tcon->stats.cifs_stats.num_reads);
1754 struct cifs_tcon *tcon = io_parms->tcon;
1758 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1769 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **) &pSMB);
1776 /* tcon and ses pointer are checked in smb_init */
1777 if (tcon->ses->server == NULL)
1800 rc = SendReceive2(xid, tcon->ses, iov, 1, &resp_buf_type,
1803 cifs_stats_inc(&tcon->stats.cifs_stats.num_reads);
1862 struct cifs_tcon *tcon = io_parms->tcon;
1868 if (tcon->ses == NULL)
1871 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1881 rc = smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB,
1889 /* tcon and ses pointer are checked in smb_init */
1890 if (tcon->ses->server == NULL)
1907 if (tcon->ses->capabilities & CAP_LARGE_WRITE_X) {
1910 bytes_sent = (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE)
1943 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1945 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
2154 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
2161 wdata->result = cifs_check_receive(mid, tcon->ses->server, 0);
2193 add_credits(tcon->ses->server, &credits, 0);
2204 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
2208 if (tcon->ses->capabilities & CAP_LARGE_FILES) {
2218 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **)&smb);
2270 rc = cifs_call_async(tcon->ses->server, &rqst, NULL,
2274 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
2295 struct cifs_tcon *tcon = io_parms->tcon;
2303 if (tcon->ses->capabilities & CAP_LARGE_FILES) {
2312 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB);
2319 /* tcon and ses pointer are checked in smb_init */
2320 if (tcon->ses->server == NULL)
2356 rc = SendReceive2(xid, tcon->ses, iov, n_vec + 1, &resp_buf_type, 0,
2359 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
2388 int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon,
2402 rc = small_smb_init(SMB_COM_LOCKING_ANDX, 8, tcon, (void **) &pSMB);
2423 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks);
2424 rc = SendReceive2(xid, tcon->ses, iov, 2, &resp_buf_type,
2434 CIFSSMBLock(const unsigned int xid, struct cifs_tcon *tcon,
2449 rc = small_smb_init(SMB_COM_LOCKING_ANDX, 8, tcon, (void **) &pSMB);
2488 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB,
2491 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)pSMB, flags);
2493 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks);
2503 CIFSSMBPosixLock(const unsigned int xid, struct cifs_tcon *tcon,
2522 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
2574 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB,
2579 rc = SendReceive2(xid, tcon->ses, iov, 1 /* num iovecs */,
2633 CIFSSMBClose(const unsigned int xid, struct cifs_tcon *tcon, int smb_file_id)
2640 rc = small_smb_init(SMB_COM_CLOSE, 3, tcon, (void **) &pSMB);
2649 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
2651 cifs_stats_inc(&tcon->stats.cifs_stats.num_closes);
2667 CIFSSMBFlush(const unsigned int xid, struct cifs_tcon *tcon, int smb_file_id)
2673 rc = small_smb_init(SMB_COM_FLUSH, 1, tcon, (void **) &pSMB);
2679 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
2681 cifs_stats_inc(&tcon->stats.cifs_stats.num_flushes);
2689 CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon,
2703 rc = smb_init(SMB_COM_RENAME, 1, tcon, (void **) &pSMB,
2739 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2741 cifs_stats_inc(&tcon->stats.cifs_stats.num_renames);
2836 CIFSSMBCopy(const unsigned int xid, struct cifs_tcon *tcon,
2849 rc = smb_init(SMB_COM_COPY, 1, tcon, (void **) &pSMB,
2884 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2899 CIFSUnixCreateSymLink(const unsigned int xid, struct cifs_tcon *tcon,
2914 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
2969 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2971 cifs_stats_inc(&tcon->stats.cifs_stats.num_symlinks);
2985 CIFSUnixCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon,
3000 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3052 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3054 cifs_stats_inc(&tcon->stats.cifs_stats.num_hardlinks);
3067 CIFSCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon,
3082 rc = smb_init(SMB_COM_NT_RENAME, 4, tcon, (void **) &pSMB,
3122 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3124 cifs_stats_inc(&tcon->stats.cifs_stats.num_hardlinks);
3136 CIFSSMBUnixQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon,
3152 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3192 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3239 CIFSSMBQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon,
3256 rc = smb_init(SMB_COM_NT_TRANSACT, 23, tcon, (void **) &pSMB,
3280 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3362 CIFSSMB_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
3371 rc = smb_init(SMB_COM_NT_TRANSACT, 23, tcon, (void **) &pSMB,
3400 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3552 CIFSSMBGetPosixACL(const unsigned int xid, struct cifs_tcon *tcon,
3568 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3612 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3614 cifs_stats_inc(&tcon->stats.cifs_stats.num_acl_get);
3639 CIFSSMBSetPosixACL(const unsigned int xid, struct cifs_tcon *tcon,
3655 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3703 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3717 CIFSGetExtAttr(const unsigned int xid, struct cifs_tcon *tcon,
3727 if (tcon == NULL)
3731 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3762 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3809 const int parm_len, struct cifs_tcon *tcon,
3816 rc = small_smb_init(SMB_COM_NT_TRANSACT, 19 + setup_count, tcon,
3891 CIFSSMBGetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid,
3906 8 /* parm len */, tcon, (void **) &pSMB);
3921 rc = SendReceive2(xid, tcon->ses, iov, 1 /* num iovec */, &buf_type,
3924 cifs_stats_inc(&tcon->stats.cifs_stats.num_acl_get);
3981 CIFSSMBSetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid,
3991 rc = smb_init(SMB_COM_NT_TRANSACT, 19, tcon, (void **) &pSMB, &pSMBr);
4027 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4046 SMBQueryInformation(const unsigned int xid, struct cifs_tcon *tcon,
4058 rc = smb_init(SMB_COM_QUERY_INFORMATION, 0, tcon, (void **) &pSMB,
4078 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4112 CIFSSMBQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
4122 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4153 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4180 CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
4195 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4238 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4279 CIFSSMBUnixQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
4289 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4320 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4347 CIFSSMBUnixQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
4362 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4402 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4427 /* xid, tcon, searchName and codepage are input parms, rest are returned */
4429 CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
4447 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4519 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4521 cifs_stats_inc(&tcon->stats.cifs_stats.num_ffirst);
4582 int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
4600 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4647 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4649 cifs_stats_inc(&tcon->stats.cifs_stats.num_fnext);
4718 CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
4725 rc = small_smb_init(SMB_COM_FIND_CLOSE2, 1, tcon, (void **)&pSMB);
4736 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
4741 cifs_stats_inc(&tcon->stats.cifs_stats.num_fclose);
4751 CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon,
4762 if (tcon == NULL)
4766 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4807 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4958 SMBOldQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
4971 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4999 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5045 CIFSSMBQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
5058 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5086 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5132 CIFSSMBQFSAttributeInfo(const unsigned int xid, struct cifs_tcon *tcon)
5144 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5173 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5189 memcpy(&tcon->fsAttrInfo, response_data,
5202 CIFSSMBQFSDeviceInfo(const unsigned int xid, struct cifs_tcon *tcon)
5214 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5244 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5260 memcpy(&tcon->fsDevInfo, response_data,
5273 CIFSSMBQFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon)
5285 rc = smb_init_no_reconnect(SMB_COM_TRANSACTION2, 15, tcon,
5314 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5329 memcpy(&tcon->fsUnixInfo, response_data,
5343 CIFSSMBSetFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon, __u64 cap)
5355 rc = smb_init_no_reconnect(SMB_COM_TRANSACTION2, 15, tcon,
5397 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5417 CIFSSMBQFSPosixInfo(const unsigned int xid, struct cifs_tcon *tcon,
5430 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5459 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5517 CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon,
5533 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5560 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5567 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5592 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5606 CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon,
5616 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5653 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5660 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5670 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5690 CIFSSMBSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
5699 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5734 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5742 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5755 CIFSSMBSetFileDisposition(const unsigned int xid, struct cifs_tcon *tcon,
5764 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5803 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5812 CIFSSMBSetPathInfoFB(const unsigned int xid, struct cifs_tcon *tcon,
5822 oparms.tcon = tcon;
5835 rc = CIFSSMBSetFileInfo(xid, tcon, data, fid.netfid, current->tgid);
5836 CIFSSMBClose(xid, tcon, fid.netfid);
5843 CIFSSMBSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
5860 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5900 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5908 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5919 return CIFSSMBSetPathInfoFB(xid, tcon, fileName, data,
5931 CIFSSMBSetAttrLegacy(unsigned int xid, struct cifs_tcon *tcon, char *fileName,
5943 rc = smb_init(SMB_COM_SETATTR, 8, tcon, (void **) &pSMB,
5961 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
6023 CIFSSMBUnixSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
6033 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
6076 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
6089 CIFSSMBUnixSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
6104 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
6153 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
6175 CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon,
6197 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
6237 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
6361 CIFSSMBSetEA(const unsigned int xid, struct cifs_tcon *tcon,
6377 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
6450 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,