Lines Matching defs:tcon

69 /* reconnect the socket, tcon, and smb session if needed */
71 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command)
79 * SMBs NegProt, SessSetup, uLogoff do not have tcon yet so check for
83 if (!tcon)
86 ses = tcon->ses;
91 * have tcon) are allowed as we start umount
93 spin_lock(&tcon->tc_lock);
94 if (tcon->status == TID_EXITING) {
96 spin_unlock(&tcon->tc_lock);
102 spin_unlock(&tcon->tc_lock);
105 rc = cifs_wait_for_server_reconnect(server, tcon->retry);
110 if (!cifs_chan_needs_reconnect(ses, server) && !tcon->need_reconnect) {
127 if (tcon->retry)
148 if (tcon->need_reconnect)
161 /* do we need to reconnect tcon? */
162 if (rc || !tcon->need_reconnect) {
168 cifs_mark_open_files_invalid(tcon);
169 rc = cifs_tree_connect(0, tcon, nls_codepage);
171 cifs_dbg(FYI, "reconnect tcon rc = %d\n", rc);
174 pr_warn_once("reconnect tcon failed rc = %d\n", rc);
182 reset_cifs_unix_caps(0, tcon, NULL, NULL);
212 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
217 rc = cifs_reconnect_tcon(tcon, smb_command);
228 tcon, wct);
230 if (tcon != NULL)
231 cifs_stats_inc(&tcon->num_smbs_sent);
264 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
279 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon,
282 if (tcon != NULL)
283 cifs_stats_inc(&tcon->num_smbs_sent);
290 smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
295 rc = cifs_reconnect_tcon(tcon, smb_command);
299 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
303 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon,
306 spin_lock(&tcon->ses->chan_lock);
307 if (cifs_chan_needs_reconnect(tcon->ses, tcon->ses->server) ||
308 tcon->need_reconnect) {
309 spin_unlock(&tcon->ses->chan_lock);
312 spin_unlock(&tcon->ses->chan_lock);
314 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
420 rc = smb_init(SMB_COM_NEGOTIATE, 0, NULL /* no tcon yet */ ,
512 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon)
520 if ((tcon->ses == NULL) || (tcon->ses->server == NULL))
526 * the tcon is no longer on the list, so no need to take lock before
529 spin_lock(&tcon->ses->chan_lock);
530 if ((tcon->need_reconnect) || CIFS_ALL_CHANS_NEED_RECONNECT(tcon->ses)) {
531 spin_unlock(&tcon->ses->chan_lock);
534 spin_unlock(&tcon->ses->chan_lock);
536 rc = small_smb_init(SMB_COM_TREE_DISCONNECT, 0, tcon,
541 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0);
665 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon,
679 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
727 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
733 cifs_stats_inc(&tcon->stats.cifs_stats.num_deletes);
742 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name,
753 rc = smb_init(SMB_COM_DELETE, 1, tcon, (void **) &pSMB,
772 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
774 cifs_stats_inc(&tcon->stats.cifs_stats.num_deletes);
786 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name,
798 rc = smb_init(SMB_COM_DELETE_DIRECTORY, 0, tcon, (void **) &pSMB,
816 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
818 cifs_stats_inc(&tcon->stats.cifs_stats.num_rmdirs);
830 struct cifs_tcon *tcon, const char *name,
842 rc = smb_init(SMB_COM_CREATE_DIRECTORY, 0, tcon, (void **) &pSMB,
860 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
862 cifs_stats_inc(&tcon->stats.cifs_stats.num_mkdirs);
873 CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *tcon,
890 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
938 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
984 cifs_stats_inc(&tcon->stats.cifs_stats.num_posixmkdirs);
986 cifs_stats_inc(&tcon->stats.cifs_stats.num_posixopens);
1039 SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon,
1053 rc = smb_init(SMB_COM_OPEN_ANDX, 15, tcon, (void **) &pSMB,
1102 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1104 cifs_stats_inc(&tcon->stats.cifs_stats.num_opens);
1153 struct cifs_tcon *tcon = oparms->tcon;
1162 rc = smb_init(SMB_COM_NT_CREATE_ANDX, 24, tcon, (void **)&req,
1208 if (tcon->ses->capabilities & CAP_UNIX)
1226 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)req,
1228 cifs_stats_inc(&tcon->stats.cifs_stats.num_opens);
1268 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink);
1269 struct TCP_Server_Info *server = tcon->ses->server;
1293 cifs_stats_bytes_read(tcon, rdata->got_bytes);
1303 cifs_stats_bytes_read(tcon, rdata->got_bytes);
1327 struct cifs_tcon *tcon = tlink_tcon(rdata->req->cfile->tlink);
1334 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1344 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **)&smb);
1374 rc = cifs_call_async(tcon->ses->server, &rqst, cifs_readv_receive,
1378 cifs_stats_inc(&tcon->stats.cifs_stats.num_reads);
1398 struct cifs_tcon *tcon = io_parms->tcon;
1402 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1413 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **) &pSMB);
1420 /* tcon and ses pointer are checked in smb_init */
1421 if (tcon->ses->server == NULL)
1444 rc = SendReceive2(xid, tcon->ses, iov, 1, &resp_buf_type,
1447 cifs_stats_inc(&tcon->stats.cifs_stats.num_reads);
1506 struct cifs_tcon *tcon = io_parms->tcon;
1512 if (tcon->ses == NULL)
1515 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1525 rc = smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB,
1533 /* tcon and ses pointer are checked in smb_init */
1534 if (tcon->ses->server == NULL)
1551 if (tcon->ses->capabilities & CAP_LARGE_WRITE_X) {
1554 bytes_sent = (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE)
1587 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1589 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
1622 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink);
1630 result = cifs_check_receive(mid, tcon->ses->server, 0);
1663 add_credits(tcon->ses->server, &credits, 0);
1673 struct cifs_tcon *tcon = tlink_tcon(wdata->req->cfile->tlink);
1677 if (tcon->ses->capabilities & CAP_LARGE_FILES) {
1688 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **)&smb);
1736 rc = cifs_call_async(tcon->ses->server, &rqst, NULL,
1740 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
1763 struct cifs_tcon *tcon = io_parms->tcon;
1771 if (tcon->ses->capabilities & CAP_LARGE_FILES) {
1780 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB);
1787 /* tcon and ses pointer are checked in smb_init */
1788 if (tcon->ses->server == NULL)
1824 rc = SendReceive2(xid, tcon->ses, iov, n_vec + 1, &resp_buf_type, 0,
1827 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
1856 int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon,
1870 rc = small_smb_init(SMB_COM_LOCKING_ANDX, 8, tcon, (void **) &pSMB);
1891 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks);
1892 rc = SendReceive2(xid, tcon->ses, iov, 2, &resp_buf_type,
1902 CIFSSMBLock(const unsigned int xid, struct cifs_tcon *tcon,
1917 rc = small_smb_init(SMB_COM_LOCKING_ANDX, 8, tcon, (void **) &pSMB);
1956 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB,
1959 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)pSMB, flags);
1961 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks);
1971 CIFSSMBPosixLock(const unsigned int xid, struct cifs_tcon *tcon,
1990 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
2043 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB,
2048 rc = SendReceive2(xid, tcon->ses, iov, 1 /* num iovecs */,
2103 CIFSSMBClose(const unsigned int xid, struct cifs_tcon *tcon, int smb_file_id)
2110 rc = small_smb_init(SMB_COM_CLOSE, 3, tcon, (void **) &pSMB);
2119 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
2121 cifs_stats_inc(&tcon->stats.cifs_stats.num_closes);
2137 CIFSSMBFlush(const unsigned int xid, struct cifs_tcon *tcon, int smb_file_id)
2143 rc = small_smb_init(SMB_COM_FLUSH, 1, tcon, (void **) &pSMB);
2149 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
2151 cifs_stats_inc(&tcon->stats.cifs_stats.num_flushes);
2158 int CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon,
2173 rc = smb_init(SMB_COM_RENAME, 1, tcon, (void **) &pSMB,
2209 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2211 cifs_stats_inc(&tcon->stats.cifs_stats.num_renames);
2307 CIFSSMBCopy(const unsigned int xid, struct cifs_tcon *tcon,
2320 rc = smb_init(SMB_COM_COPY, 1, tcon, (void **) &pSMB,
2355 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2370 CIFSUnixCreateSymLink(const unsigned int xid, struct cifs_tcon *tcon,
2385 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
2441 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2443 cifs_stats_inc(&tcon->stats.cifs_stats.num_symlinks);
2457 CIFSUnixCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon,
2472 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
2525 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2527 cifs_stats_inc(&tcon->stats.cifs_stats.num_hardlinks);
2540 struct cifs_tcon *tcon,
2556 rc = smb_init(SMB_COM_NT_RENAME, 4, tcon, (void **) &pSMB,
2596 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2598 cifs_stats_inc(&tcon->stats.cifs_stats.num_hardlinks);
2610 CIFSSMBUnixQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon,
2626 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
2666 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2703 struct cifs_tcon *tcon,
2722 if (cap_unix(tcon->ses))
2726 .tcon = tcon,
2740 rc = smb_init(SMB_COM_NT_TRANSACT, 23, tcon,
2764 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)io_req,
2797 CIFSSMBClose(xid, tcon, fid.netfid);
2802 CIFSSMBClose(xid, tcon, fid.netfid);
2807 CIFSSMB_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
2816 rc = smb_init(SMB_COM_NT_TRANSACT, 23, tcon, (void **) &pSMB,
2845 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3035 int cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon,
3051 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3095 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3097 cifs_stats_inc(&tcon->stats.cifs_stats.num_acl_get);
3126 int cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
3141 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3189 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3201 int cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon,
3209 int cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
3219 CIFSGetExtAttr(const unsigned int xid, struct cifs_tcon *tcon,
3229 if (tcon == NULL)
3233 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3264 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3311 const int parm_len, struct cifs_tcon *tcon,
3318 rc = small_smb_init(SMB_COM_NT_TRANSACT, 19 + setup_count, tcon,
3393 CIFSSMBGetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid,
3408 8 /* parm len */, tcon, (void **) &pSMB);
3423 rc = SendReceive2(xid, tcon->ses, iov, 1 /* num iovec */, &buf_type,
3426 cifs_stats_inc(&tcon->stats.cifs_stats.num_acl_get);
3483 CIFSSMBSetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid,
3493 rc = smb_init(SMB_COM_NT_TRANSACT, 19, tcon, (void **) &pSMB, &pSMBr);
3529 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3548 SMBQueryInformation(const unsigned int xid, struct cifs_tcon *tcon,
3560 rc = smb_init(SMB_COM_QUERY_INFORMATION, 0, tcon, (void **) &pSMB,
3580 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3614 CIFSSMBQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
3624 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3655 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3682 CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
3697 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3740 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3781 CIFSSMBUnixQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
3791 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3822 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3849 CIFSSMBUnixQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
3864 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3904 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3929 /* xid, tcon, searchName and codepage are input parms, rest are returned */
3931 CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
3950 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4022 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4024 cifs_stats_inc(&tcon->stats.cifs_stats.num_ffirst);
4074 int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
4093 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4140 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4142 cifs_stats_inc(&tcon->stats.cifs_stats.num_fnext);
4201 CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
4208 rc = small_smb_init(SMB_COM_FIND_CLOSE2, 1, tcon, (void **)&pSMB);
4219 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
4224 cifs_stats_inc(&tcon->stats.cifs_stats.num_fclose);
4234 CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon,
4245 if (tcon == NULL)
4249 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4290 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4441 SMBOldQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
4454 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4482 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4528 CIFSSMBQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
4541 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4569 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4615 CIFSSMBQFSAttributeInfo(const unsigned int xid, struct cifs_tcon *tcon)
4627 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4656 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4672 memcpy(&tcon->fsAttrInfo, response_data,
4685 CIFSSMBQFSDeviceInfo(const unsigned int xid, struct cifs_tcon *tcon)
4697 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4727 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4743 memcpy(&tcon->fsDevInfo, response_data,
4756 CIFSSMBQFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon)
4768 rc = smb_init_no_reconnect(SMB_COM_TRANSACTION2, 15, tcon,
4797 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4812 memcpy(&tcon->fsUnixInfo, response_data,
4826 CIFSSMBSetFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon, __u64 cap)
4838 rc = smb_init_no_reconnect(SMB_COM_TRANSACTION2, 15, tcon,
4880 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4900 CIFSSMBQFSPosixInfo(const unsigned int xid, struct cifs_tcon *tcon,
4913 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4942 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5000 CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon,
5016 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5043 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5050 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5075 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5089 CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon,
5099 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5136 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5143 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5153 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5173 CIFSSMBSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
5182 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5217 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5225 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5238 CIFSSMBSetFileDisposition(const unsigned int xid, struct cifs_tcon *tcon,
5247 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5287 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5296 CIFSSMBSetPathInfoFB(const unsigned int xid, struct cifs_tcon *tcon,
5307 .tcon = tcon,
5320 rc = CIFSSMBSetFileInfo(xid, tcon, data, fid.netfid, current->tgid);
5321 CIFSSMBClose(xid, tcon, fid.netfid);
5328 CIFSSMBSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
5345 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5385 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5393 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5404 return CIFSSMBSetPathInfoFB(xid, tcon, fileName, data,
5458 CIFSSMBUnixSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
5468 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5511 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5524 CIFSSMBUnixSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
5539 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5587 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5609 CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon,
5631 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5671 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5795 CIFSSMBSetEA(const unsigned int xid, struct cifs_tcon *tcon,
5811 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5882 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,