Lines Matching defs:pSesInfo
1918 get_dfs_path(int xid, struct cifsSesInfo *pSesInfo, const char *old_path,
1928 if (pSesInfo->ipc_tid == 0) {
1930 strnlen(pSesInfo->serverName,
1938 strcpy(temp_unc + 2, pSesInfo->serverName);
1939 strcpy(temp_unc + 2 + strlen(pSesInfo->serverName), "\\IPC$");
1940 rc = CIFSTCon(xid, pSesInfo, temp_unc, NULL, nls_codepage);
1941 cFYI(1, "CIFS Tcon rc = %d ipc_tid = %d", rc, pSesInfo->ipc_tid);
1945 rc = CIFSGetDFSRefer(xid, pSesInfo, old_path, preferrals,
2550 struct cifsSesInfo *pSesInfo;
2563 pSesInfo = NULL;
2616 pSesInfo = cifs_get_smb_ses(srvTcp, volume_info);
2617 if (IS_ERR(pSesInfo)) {
2618 rc = PTR_ERR(pSesInfo);
2619 pSesInfo = NULL;
2624 if (pSesInfo->capabilities & CAP_LARGE_FILES)
2632 tcon = cifs_get_tcon(pSesInfo, volume_info);
2711 rc = get_dfs_path(xid, pSesInfo , full_path + 1,
2736 else if (pSesInfo)
2737 cifs_put_smb_ses(pSesInfo);
2758 else if (pSesInfo)
2759 cifs_put_smb_ses(pSesInfo);