Home
last modified time | relevance | path

Searched refs:tree_name (Results 1 – 14 of 14) sorted by relevance

/linux/fs/smb/client/
H A Dcifs_swn.c301 const char *unc = tcon->tree_name; in cifs_swn_tcon_matches()
384 net_name = extract_hostname(tcon->tree_name); in cifs_find_swn_reg()
390 __func__, tcon->tree_name, ret); in cifs_find_swn_reg()
394 share_name = extract_sharename(tcon->tree_name); in cifs_find_swn_reg()
400 __func__, tcon->tree_name, ret); in cifs_find_swn_reg()
461 reg->net_name = extract_hostname(tcon->tree_name); in cifs_get_swn_reg()
468 reg->share_name = extract_sharename(tcon->tree_name); in cifs_get_swn_reg()
H A Dfscache.c68 sharename = extract_sharename(tcon->tree_name); in cifs_fscache_get_super_cookie()
H A Dmisc.c296 tcon ? tcon->tree_name : "new server"); in cifs_autodisable_serverino()
1040 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error()
1045 scnprintf(path, len, "%s%s", tcon->tree_name, full_path); in cifs_inval_name_dfs_link_error()
H A Ddir.c53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
62 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
140 return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name, in build_path_from_dentry_optional_prefix()
H A Ddfs.c437 /* Tree connect to last share in @tcon->tree_name if no DFS referral */ in cifs_tree_connect()
440 rc = ops->tree_connect(xid, tcon->ses, tcon->tree_name, in cifs_tree_connect()
H A Ddfs_cache.c660 cifs_dbg(FYI, "%s: ipc=%s referral=%s\n", __func__, ses->tcon_ipc->tree_name, path); in get_dfs_referral()
1118 const char *s2 = &tcon->tree_name[1]; in target_share_equal()
H A Dcached_dir.c330 tcon->tree_name); in open_cached_dir()
H A Dsmb2pdu.c2228 strscpy(tcon->tree_name, tree, sizeof(tcon->tree_name)); in SMB2_tcon()
2276 trace_smb3_tdis_enter(xid, tcon->tid, ses->Suid, tcon->tree_name); in SMB2_tdis()
3013 tcon->tree_name, utf16_path); in smb311_posix_mkdir()
3173 tcon->tree_name, path); in SMB2_open_init()
3373 tcon->tree_name); in SMB2_open()
5118 tcon->tree_name); in smb2_writev_callback()
H A Dconnect.c2147 ses->tcon_ipc ? ses->tcon_ipc->tree_name : "none"); in __cifs_put_smb_ses()
2585 strncmp(tcon->tree_name, ctx->UNC, MAX_TREE_SIZE)) { in cifs_find_tcon()
4263 ctx->UNC = master_tcon->tree_name; in cifs_construct_tcon()
4564 rc = ops->tree_connect(xid, tcon->ses, tcon->tree_name, tcon);
H A Dcifsglob.h1204 char tree_name[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
1207 char tree_name[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */ global() member
H A Dsmb2ops.c1566 pr_warn_once("Server share %s does not support copy range\n", tcon->tree_name); in SMB2_request_res_key()
2822 tcon->tree_name); in smb2_is_network_name_deleted()
3089 tcon->tree_name); in smb2_query_info_compound()
3147 trace_smb3_qfs_done(xid, tcon->tid, tcon->ses->Suid, tcon->tree_name, rc); in smb2_queryfs()
H A Dsmb2inode.c572 pr_warn_once("server share %s deleted\n", tcon->tree_name); in smb2_compound_op()
H A Dcifssmb.c644 strscpy(tcon->tree_name, tree, sizeof(tcon->tree_name)); in CIFSTCon()
671 cifs_dbg(FYI, "resetting caps for %s\n", tcon->tree_name); in CIFSTCon()
H A Dinode.c1177 fattr->cf_uniqueid = simple_hashstr(tcon->tree_name);