Lines Matching refs:ses

658 static int get_dfs_referral(const unsigned int xid, struct cifs_ses *ses,  in get_dfs_referral()  argument
665 if (!ses || !ses->server || !ses->server->ops->get_dfs_refer) in get_dfs_referral()
673 return ses->server->ops->get_dfs_refer(xid, ses, path, refs, numrefs, in get_dfs_referral()
701 static int __dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, in __dfs_cache_find() argument
745 rc = get_dfs_referral(xid, ses, nls_codepage, remap, path, in __dfs_cache_find()
877 int dfs_cache_find(const unsigned int xid, struct cifs_ses *ses, in dfs_cache_find() argument
890 rc = __dfs_cache_find(xid, ses, nls_codepage, remap, npath, false); in dfs_cache_find()
986 int dfs_cache_update_tgthint(const unsigned int xid, struct cifs_ses *ses, in dfs_cache_update_tgthint() argument
1002 rc = __dfs_cache_find(xid, ses, nls_codepage, remap, npath, false); in dfs_cache_update_tgthint()
1392 struct cifs_ses *ses; in get_tcons() local
1398 list_for_each_entry(ses, &server->smb_ses_list, smb_ses_list) { in get_tcons()
1399 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in get_tcons()
1406 if (ses->tcon_ipc && !ses->tcon_ipc->need_reconnect && in get_tcons()
1407 ses->tcon_ipc->dfs_path) { in get_tcons()
1408 list_add_tail(&ses->tcon_ipc->ulist, head); in get_tcons()
1478 struct cifs_ses *ses; in find_root_ses() local
1490 ses = ERR_CAST(ce); in find_root_ses()
1497 ses = ERR_PTR(rc); in find_root_ses()
1508 ses = ERR_CAST(mdata); in find_root_ses()
1517 ses = ERR_PTR(rc); in find_root_ses()
1523 ses = ERR_PTR(-EHOSTDOWN); in find_root_ses()
1527 ses = cifs_get_smb_ses(server, &vol); in find_root_ses()
1534 return ses; in find_root_ses()
1544 struct cifs_ses *root_ses = NULL, *ses; in refresh_tcon() local
1574 ses = root_ses = find_root_ses(vi, tcon, npath); in refresh_tcon()
1575 if (IS_ERR(ses)) { in refresh_tcon()
1576 rc = PTR_ERR(ses); in refresh_tcon()
1581 ses = tcon->ses; in refresh_tcon()
1584 rc = get_dfs_referral(xid, ses, cache_nlsc, tcon->remap, npath, &refs, in refresh_tcon()