Lines Matching refs:tcon
16 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency() argument
20 cd->resource_id = cpu_to_le64(tcon->resource_id); in cifs_fscache_fill_volume_coherency()
21 cd->vol_create_time = tcon->vol_create_time; in cifs_fscache_fill_volume_coherency()
22 cd->vol_serial_number = cpu_to_le32(tcon->vol_serial_number); in cifs_fscache_fill_volume_coherency()
25 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie() argument
28 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie()
36 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
48 sharename = extract_sharename(tcon->tree_name); in cifs_fscache_get_super_cookie()
63 cifs_fscache_fill_volume_coherency(tcon, &cd); in cifs_fscache_get_super_cookie()
77 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie()
86 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie() argument
90 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie()
92 cifs_fscache_fill_volume_coherency(tcon, &cd); in cifs_fscache_release_super_cookie()
93 fscache_relinquish_volume(tcon->fscache, &cd, false); in cifs_fscache_release_super_cookie()
94 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
102 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fscache_get_inode_cookie() local
107 fscache_acquire_cookie(tcon->fscache, 0, in cifs_fscache_get_inode_cookie()