Lines Matching refs:ses

597 update_cache_entry(const unsigned int xid, struct cifs_ses *ses,  in update_cache_entry()  argument
610 if (!ses || !ses->server || !ses->server->ops->get_dfs_refer) in update_cache_entry()
617 rc = ses->server->ops->get_dfs_refer(xid, ses, path, &refs, &numrefs, in update_cache_entry()
640 do_dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, in do_dfs_cache_find() argument
666 if (!ses || !ses->server || !ses->server->ops->get_dfs_refer) { in do_dfs_cache_find()
681 rc = ses->server->ops->get_dfs_refer(xid, ses, path, &nrefs, in do_dfs_cache_find()
715 ce = update_cache_entry(xid, ses, nls_codepage, remap, path, in do_dfs_cache_find()
825 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, in dfs_cache_find() argument
842 ce = do_dfs_cache_find(xid, ses, nls_codepage, remap, npath, false); in dfs_cache_find()
925 int dfs_cache_update_tgthint(const unsigned int xid, struct cifs_ses *ses, in dfs_cache_update_tgthint() argument
945 ce = do_dfs_cache_find(xid, ses, nls_codepage, remap, npath, false); in dfs_cache_update_tgthint()
1261 struct cifs_ses *ses; in get_tcons() local
1267 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in get_tcons()
1268 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in get_tcons()
1275 if (ses->tcon_ipc && !ses->tcon_ipc->need_reconnect && in get_tcons()
1276 ses->tcon_ipc->dfs_path) { in get_tcons()
1277 list_add_tail(&ses->tcon_ipc->ulist, head); in get_tcons()
1320 bool is_smb3 = tcon->ses->server->vals->header_preamble_size == 0; in find_root_ses()
1322 struct cifs_ses *ses; in find_root_ses() local
1333 ses = ERR_PTR(rc); in find_root_ses()
1342 ses = ERR_CAST(mdata); in find_root_ses()
1351 ses = ERR_PTR(rc); in find_root_ses()
1357 ses = ERR_PTR(-EHOSTDOWN); in find_root_ses()
1362 ses = ERR_PTR(-EHOSTDOWN); in find_root_ses()
1366 ses = cifs_get_smb_ses(server, &vol); in find_root_ses()
1373 return ses; in find_root_ses()
1387 struct cifs_ses *root_ses = NULL, *ses; in do_refresh_tcon() local
1411 ses = root_ses = find_root_ses(vi, tcon, npath); in do_refresh_tcon()
1412 if (IS_ERR(ses)) { in do_refresh_tcon()
1413 rc = PTR_ERR(ses); in do_refresh_tcon()
1418 ses = tcon->ses; in do_refresh_tcon()
1421 if (unlikely(!ses->server->ops->get_dfs_refer)) { in do_refresh_tcon()
1424 rc = ses->server->ops->get_dfs_refer(xid, ses, path, &refs, in do_refresh_tcon()