Lines Matching refs:tcon
95 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie() argument
97 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie()
100 sharename = extract_sharename(tcon->treeName); in cifs_fscache_get_super_cookie()
103 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
107 tcon->fscache = in cifs_fscache_get_super_cookie()
111 &tcon->resource_id, sizeof(tcon->resource_id), in cifs_fscache_get_super_cookie()
112 tcon, 0, true); in cifs_fscache_get_super_cookie()
115 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie()
118 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie() argument
120 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie()
121 fscache_relinquish_cookie(tcon->fscache, &tcon->resource_id, false); in cifs_fscache_release_super_cookie()
122 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
126 struct cifs_tcon *tcon) in cifs_fscache_acquire_inode_cookie() argument
138 fscache_acquire_cookie(tcon->fscache, in cifs_fscache_acquire_inode_cookie()
149 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie() local
157 cifs_fscache_acquire_inode_cookie(cifsi, tcon); in cifs_fscache_enable_inode_cookie()
160 __func__, tcon->fscache, cifsi->fscache); in cifs_fscache_enable_inode_cookie()
206 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_reset_inode_cookie() local
213 cifs_fscache_acquire_inode_cookie(cifsi, tcon); in cifs_fscache_reset_inode_cookie()