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()
101 sharename = extract_sharename(tcon->treeName); in cifs_fscache_get_super_cookie()
104 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
109 auxdata.resource_id = tcon->resource_id; in cifs_fscache_get_super_cookie()
110 auxdata.vol_create_time = tcon->vol_create_time; in cifs_fscache_get_super_cookie()
111 auxdata.vol_serial_number = tcon->vol_serial_number; in cifs_fscache_get_super_cookie()
113 tcon->fscache = in cifs_fscache_get_super_cookie()
118 tcon, 0, true); in cifs_fscache_get_super_cookie()
121 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie()
124 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie() argument
129 auxdata.resource_id = tcon->resource_id; in cifs_fscache_release_super_cookie()
130 auxdata.vol_create_time = tcon->vol_create_time; in cifs_fscache_release_super_cookie()
131 auxdata.vol_serial_number = tcon->vol_serial_number; in cifs_fscache_release_super_cookie()
133 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie()
134 fscache_relinquish_cookie(tcon->fscache, &auxdata, false); in cifs_fscache_release_super_cookie()
135 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
139 struct cifs_tcon *tcon) in cifs_fscache_acquire_inode_cookie() argument
151 fscache_acquire_cookie(tcon->fscache, in cifs_fscache_acquire_inode_cookie()
162 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_enable_inode_cookie() local
170 cifs_fscache_acquire_inode_cookie(cifsi, tcon); in cifs_fscache_enable_inode_cookie()
173 __func__, tcon->fscache, cifsi->fscache); in cifs_fscache_enable_inode_cookie()
219 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_reset_inode_cookie() local
226 cifs_fscache_acquire_inode_cookie(cifsi, tcon); in cifs_fscache_reset_inode_cookie()