Lines Matching refs:ses
78 struct cifs_ses *ses = mnt_ctx->ses; in set_root_smb_session() local
80 if (ses) { in set_root_smb_session()
82 cifs_smb_ses_inc_refcount(ses); in set_root_smb_session()
85 ctx->dfs_root_ses = ses; in set_root_smb_session()
222 else if (WARN_ON(!mnt_ctx->ses)) in __dfs_mount_share()
342 const struct smb_version_operations *ops = tcon->ses->server->ops; in tree_connect_dfs_target()
343 struct TCP_Server_Info *server = tcon->ses->server; in tree_connect_dfs_target()
373 rc = ops->tree_connect(xid, tcon->ses, tree, in tree_connect_dfs_target()
374 tcon, tcon->ses->local_nls); in tree_connect_dfs_target()
389 struct TCP_Server_Info *server = tcon->ses->server; in cifs_tree_connect()
428 rc = ops->tree_connect(xid, tcon->ses, tree, in cifs_tree_connect()
429 tcon, tcon->ses->local_nls); in cifs_tree_connect()
440 rc = ops->tree_connect(xid, tcon->ses, tcon->tree_name, in cifs_tree_connect()
441 tcon, tcon->ses->local_nls); in cifs_tree_connect()