Lines Matching defs:tcon

67 /* reconnect the socket, tcon, and smb session if needed */
69 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command)
77 * SMBs NegProt, SessSetup, uLogoff do not have tcon yet so check for
81 if (!tcon)
84 ses = tcon->ses;
89 * have tcon) are allowed as we start umount
91 spin_lock(&tcon->tc_lock);
92 if (tcon->status == TID_EXITING) {
94 spin_unlock(&tcon->tc_lock);
100 spin_unlock(&tcon->tc_lock);
103 rc = cifs_wait_for_server_reconnect(server, tcon->retry);
108 if (!cifs_chan_needs_reconnect(ses, server) && !tcon->need_reconnect) {
125 if (tcon->retry)
146 if (tcon->need_reconnect)
159 /* do we need to reconnect tcon? */
160 if (rc || !tcon->need_reconnect) {
166 cifs_mark_open_files_invalid(tcon);
167 rc = cifs_tree_connect(0, tcon, nls_codepage);
169 cifs_dbg(FYI, "reconnect tcon rc = %d\n", rc);
172 pr_warn_once("reconnect tcon failed rc = %d\n", rc);
180 reset_cifs_unix_caps(0, tcon, NULL, NULL);
210 small_smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
215 rc = cifs_reconnect_tcon(tcon, smb_command);
226 tcon, wct);
228 if (tcon != NULL)
229 cifs_stats_inc(&tcon->num_smbs_sent);
262 __smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
277 header_assemble((struct smb_hdr *) *request_buf, smb_command, tcon,
280 if (tcon != NULL)
281 cifs_stats_inc(&tcon->num_smbs_sent);
288 smb_init(int smb_command, int wct, struct cifs_tcon *tcon,
293 rc = cifs_reconnect_tcon(tcon, smb_command);
297 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
301 smb_init_no_reconnect(int smb_command, int wct, struct cifs_tcon *tcon,
304 spin_lock(&tcon->ses->chan_lock);
305 if (cifs_chan_needs_reconnect(tcon->ses, tcon->ses->server) ||
306 tcon->need_reconnect) {
307 spin_unlock(&tcon->ses->chan_lock);
310 spin_unlock(&tcon->ses->chan_lock);
312 return __smb_init(smb_command, wct, tcon, request_buf, response_buf);
418 rc = smb_init(SMB_COM_NEGOTIATE, 0, NULL /* no tcon yet */ ,
510 CIFSSMBTDis(const unsigned int xid, struct cifs_tcon *tcon)
518 if ((tcon->ses == NULL) || (tcon->ses->server == NULL))
524 * the tcon is no longer on the list, so no need to take lock before
527 spin_lock(&tcon->ses->chan_lock);
528 if ((tcon->need_reconnect) || CIFS_ALL_CHANS_NEED_RECONNECT(tcon->ses)) {
529 spin_unlock(&tcon->ses->chan_lock);
532 spin_unlock(&tcon->ses->chan_lock);
534 rc = small_smb_init(SMB_COM_TREE_DISCONNECT, 0, tcon,
539 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)smb_buffer, 0);
663 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon,
677 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
725 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
731 cifs_stats_inc(&tcon->stats.cifs_stats.num_deletes);
740 CIFSSMBDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *name,
751 rc = smb_init(SMB_COM_DELETE, 1, tcon, (void **) &pSMB,
770 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
772 cifs_stats_inc(&tcon->stats.cifs_stats.num_deletes);
784 CIFSSMBRmDir(const unsigned int xid, struct cifs_tcon *tcon, const char *name,
796 rc = smb_init(SMB_COM_DELETE_DIRECTORY, 0, tcon, (void **) &pSMB,
814 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
816 cifs_stats_inc(&tcon->stats.cifs_stats.num_rmdirs);
828 struct cifs_tcon *tcon, const char *name,
840 rc = smb_init(SMB_COM_CREATE_DIRECTORY, 0, tcon, (void **) &pSMB,
858 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
860 cifs_stats_inc(&tcon->stats.cifs_stats.num_mkdirs);
871 CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *tcon,
888 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
936 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
982 cifs_stats_inc(&tcon->stats.cifs_stats.num_posixmkdirs);
984 cifs_stats_inc(&tcon->stats.cifs_stats.num_posixopens);
1037 SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon,
1051 rc = smb_init(SMB_COM_OPEN_ANDX, 15, tcon, (void **) &pSMB,
1100 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1102 cifs_stats_inc(&tcon->stats.cifs_stats.num_opens);
1151 struct cifs_tcon *tcon = oparms->tcon;
1160 rc = smb_init(SMB_COM_NT_CREATE_ANDX, 24, tcon, (void **)&req,
1206 if (tcon->ses->capabilities & CAP_UNIX)
1224 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)req,
1226 cifs_stats_inc(&tcon->stats.cifs_stats.num_opens);
1266 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink);
1267 struct TCP_Server_Info *server = tcon->ses->server;
1292 cifs_stats_bytes_read(tcon, rdata->got_bytes);
1302 cifs_stats_bytes_read(tcon, rdata->got_bytes);
1320 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink);
1327 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1337 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **)&smb);
1368 rc = cifs_call_async(tcon->ses->server, &rqst, cifs_readv_receive,
1372 cifs_stats_inc(&tcon->stats.cifs_stats.num_reads);
1395 struct cifs_tcon *tcon = io_parms->tcon;
1399 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1410 rc = small_smb_init(SMB_COM_READ_ANDX, wct, tcon, (void **) &pSMB);
1417 /* tcon and ses pointer are checked in smb_init */
1418 if (tcon->ses->server == NULL)
1441 rc = SendReceive2(xid, tcon->ses, iov, 1, &resp_buf_type,
1444 cifs_stats_inc(&tcon->stats.cifs_stats.num_reads);
1503 struct cifs_tcon *tcon = io_parms->tcon;
1509 if (tcon->ses == NULL)
1512 if (tcon->ses->capabilities & CAP_LARGE_FILES)
1522 rc = smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB,
1530 /* tcon and ses pointer are checked in smb_init */
1531 if (tcon->ses->server == NULL)
1548 if (tcon->ses->capabilities & CAP_LARGE_WRITE_X) {
1551 bytes_sent = (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE)
1584 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
1586 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
1619 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
1626 wdata->result = cifs_check_receive(mid, tcon->ses->server, 0);
1658 add_credits(tcon->ses->server, &credits, 0);
1669 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink);
1673 if (tcon->ses->capabilities & CAP_LARGE_FILES) {
1683 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **)&smb);
1732 rc = cifs_call_async(tcon->ses->server, &rqst, NULL,
1736 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
1757 struct cifs_tcon *tcon = io_parms->tcon;
1765 if (tcon->ses->capabilities & CAP_LARGE_FILES) {
1774 rc = small_smb_init(SMB_COM_WRITE_ANDX, wct, tcon, (void **) &pSMB);
1781 /* tcon and ses pointer are checked in smb_init */
1782 if (tcon->ses->server == NULL)
1818 rc = SendReceive2(xid, tcon->ses, iov, n_vec + 1, &resp_buf_type, 0,
1821 cifs_stats_inc(&tcon->stats.cifs_stats.num_writes);
1850 int cifs_lockv(const unsigned int xid, struct cifs_tcon *tcon,
1864 rc = small_smb_init(SMB_COM_LOCKING_ANDX, 8, tcon, (void **) &pSMB);
1885 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks);
1886 rc = SendReceive2(xid, tcon->ses, iov, 2, &resp_buf_type,
1896 CIFSSMBLock(const unsigned int xid, struct cifs_tcon *tcon,
1911 rc = small_smb_init(SMB_COM_LOCKING_ANDX, 8, tcon, (void **) &pSMB);
1950 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB,
1953 rc = SendReceiveNoRsp(xid, tcon->ses, (char *)pSMB, flags);
1955 cifs_stats_inc(&tcon->stats.cifs_stats.num_locks);
1965 CIFSSMBPosixLock(const unsigned int xid, struct cifs_tcon *tcon,
1984 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
2037 rc = SendReceiveBlockingLock(xid, tcon, (struct smb_hdr *) pSMB,
2042 rc = SendReceive2(xid, tcon->ses, iov, 1 /* num iovecs */,
2097 CIFSSMBClose(const unsigned int xid, struct cifs_tcon *tcon, int smb_file_id)
2104 rc = small_smb_init(SMB_COM_CLOSE, 3, tcon, (void **) &pSMB);
2113 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
2115 cifs_stats_inc(&tcon->stats.cifs_stats.num_closes);
2131 CIFSSMBFlush(const unsigned int xid, struct cifs_tcon *tcon, int smb_file_id)
2137 rc = small_smb_init(SMB_COM_FLUSH, 1, tcon, (void **) &pSMB);
2143 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
2145 cifs_stats_inc(&tcon->stats.cifs_stats.num_flushes);
2152 int CIFSSMBRename(const unsigned int xid, struct cifs_tcon *tcon,
2167 rc = smb_init(SMB_COM_RENAME, 1, tcon, (void **) &pSMB,
2203 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2205 cifs_stats_inc(&tcon->stats.cifs_stats.num_renames);
2301 CIFSSMBCopy(const unsigned int xid, struct cifs_tcon *tcon,
2314 rc = smb_init(SMB_COM_COPY, 1, tcon, (void **) &pSMB,
2349 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2364 CIFSUnixCreateSymLink(const unsigned int xid, struct cifs_tcon *tcon,
2379 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
2435 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2437 cifs_stats_inc(&tcon->stats.cifs_stats.num_symlinks);
2451 CIFSUnixCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon,
2466 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
2519 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2521 cifs_stats_inc(&tcon->stats.cifs_stats.num_hardlinks);
2534 struct cifs_tcon *tcon,
2550 rc = smb_init(SMB_COM_NT_RENAME, 4, tcon, (void **) &pSMB,
2590 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2592 cifs_stats_inc(&tcon->stats.cifs_stats.num_hardlinks);
2604 CIFSSMBUnixQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon,
2620 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
2660 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
2697 struct cifs_tcon *tcon,
2715 if (cap_unix(tcon->ses))
2719 .tcon = tcon,
2733 rc = smb_init(SMB_COM_NT_TRANSACT, 23, tcon,
2757 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *)io_req,
2781 CIFSSMBClose(xid, tcon, fid.netfid);
2786 CIFSSMBClose(xid, tcon, fid.netfid);
2791 CIFSSMB_set_compression(const unsigned int xid, struct cifs_tcon *tcon,
2800 rc = smb_init(SMB_COM_NT_TRANSACT, 23, tcon, (void **) &pSMB,
2829 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3019 int cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon,
3035 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3079 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3081 cifs_stats_inc(&tcon->stats.cifs_stats.num_acl_get);
3110 int cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
3125 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3173 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3185 int cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon,
3193 int cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon,
3203 CIFSGetExtAttr(const unsigned int xid, struct cifs_tcon *tcon,
3213 if (tcon == NULL)
3217 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3248 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3295 const int parm_len, struct cifs_tcon *tcon,
3302 rc = small_smb_init(SMB_COM_NT_TRANSACT, 19 + setup_count, tcon,
3377 CIFSSMBGetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid,
3392 8 /* parm len */, tcon, (void **) &pSMB);
3407 rc = SendReceive2(xid, tcon->ses, iov, 1 /* num iovec */, &buf_type,
3410 cifs_stats_inc(&tcon->stats.cifs_stats.num_acl_get);
3467 CIFSSMBSetCIFSACL(const unsigned int xid, struct cifs_tcon *tcon, __u16 fid,
3477 rc = smb_init(SMB_COM_NT_TRANSACT, 19, tcon, (void **) &pSMB, &pSMBr);
3513 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3532 SMBQueryInformation(const unsigned int xid, struct cifs_tcon *tcon,
3544 rc = smb_init(SMB_COM_QUERY_INFORMATION, 0, tcon, (void **) &pSMB,
3564 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3598 CIFSSMBQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
3608 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3639 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3666 CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
3681 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3724 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3765 CIFSSMBUnixQFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
3775 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3806 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3833 CIFSSMBUnixQPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
3848 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
3888 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
3913 /* xid, tcon, searchName and codepage are input parms, rest are returned */
3915 CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
3934 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4006 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4008 cifs_stats_inc(&tcon->stats.cifs_stats.num_ffirst);
4058 int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
4077 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4124 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4126 cifs_stats_inc(&tcon->stats.cifs_stats.num_fnext);
4185 CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon,
4192 rc = small_smb_init(SMB_COM_FIND_CLOSE2, 1, tcon, (void **)&pSMB);
4203 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
4208 cifs_stats_inc(&tcon->stats.cifs_stats.num_fclose);
4218 CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon,
4229 if (tcon == NULL)
4233 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4274 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4425 SMBOldQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
4438 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4466 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4512 CIFSSMBQFSInfo(const unsigned int xid, struct cifs_tcon *tcon,
4525 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4553 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4599 CIFSSMBQFSAttributeInfo(const unsigned int xid, struct cifs_tcon *tcon)
4611 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4640 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4656 memcpy(&tcon->fsAttrInfo, response_data,
4669 CIFSSMBQFSDeviceInfo(const unsigned int xid, struct cifs_tcon *tcon)
4681 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4711 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4727 memcpy(&tcon->fsDevInfo, response_data,
4740 CIFSSMBQFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon)
4752 rc = smb_init_no_reconnect(SMB_COM_TRANSACTION2, 15, tcon,
4781 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4796 memcpy(&tcon->fsUnixInfo, response_data,
4810 CIFSSMBSetFSUnixInfo(const unsigned int xid, struct cifs_tcon *tcon, __u64 cap)
4822 rc = smb_init_no_reconnect(SMB_COM_TRANSACTION2, 15, tcon,
4864 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4884 CIFSSMBQFSPosixInfo(const unsigned int xid, struct cifs_tcon *tcon,
4897 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
4926 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
4984 CIFSSMBSetEOF(const unsigned int xid, struct cifs_tcon *tcon,
5000 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5027 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5034 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5059 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5073 CIFSSMBSetFileSize(const unsigned int xid, struct cifs_tcon *tcon,
5083 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5120 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5127 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5137 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5157 CIFSSMBSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
5166 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5201 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5209 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5222 CIFSSMBSetFileDisposition(const unsigned int xid, struct cifs_tcon *tcon,
5231 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5271 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5280 CIFSSMBSetPathInfoFB(const unsigned int xid, struct cifs_tcon *tcon,
5291 .tcon = tcon,
5304 rc = CIFSSMBSetFileInfo(xid, tcon, data, fid.netfid, current->tgid);
5305 CIFSSMBClose(xid, tcon, fid.netfid);
5312 CIFSSMBSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
5329 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5369 if (tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)
5377 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5388 return CIFSSMBSetPathInfoFB(xid, tcon, fileName, data,
5442 CIFSSMBUnixSetFileInfo(const unsigned int xid, struct cifs_tcon *tcon,
5452 rc = small_smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB);
5495 rc = SendReceiveNoRsp(xid, tcon->ses, (char *) pSMB, 0);
5508 CIFSSMBUnixSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon,
5523 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5571 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5593 CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon,
5615 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5655 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,
5779 CIFSSMBSetEA(const unsigned int xid, struct cifs_tcon *tcon,
5795 rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
5868 rc = SendReceive(xid, tcon->ses, (struct smb_hdr *) pSMB,