Lines Matching defs:tcon
413 struct cifs_tcon *tcon;
476 /* look up tcon based on tid & uid */
481 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list);
482 if (tcon->tid != buf->Tid)
485 cifs_stats_inc(&tcon->stats.cifs_stats.num_oplock_brks);
486 spin_lock(&tcon->open_file_lock);
487 list_for_each(tmp2, &tcon->openFileList) {
504 spin_unlock(&tcon->open_file_lock);
508 spin_unlock(&tcon->open_file_lock);
533 struct cifs_tcon *tcon = NULL;
536 tcon = cifs_sb_master_tcon(cifs_sb);
541 tcon ? tcon->treeName : "new server");
613 * Assumes the tcon->open_file_lock is held.
1042 struct cifs_tcon *tcon;
1048 tcon = cifs_sb_master_tcon(cifs_sb);
1049 if (tcon->ses->server == server)
1144 struct cifs_tcon *tcon = sd->data;
1151 if (tcon->dfs_path && cifs_sb->origin_fullpath &&
1152 !strcasecmp(tcon->dfs_path, cifs_sb->origin_fullpath))
1156 static inline struct super_block *cifs_get_tcon_super(struct cifs_tcon *tcon)
1158 return __cifs_get_super(tcon_super_cb, tcon);
1166 static inline struct super_block *cifs_get_tcon_super(struct cifs_tcon *tcon)
1176 int update_super_prepath(struct cifs_tcon *tcon, char *prefix)
1182 sb = cifs_get_tcon_super(tcon);