Lines Matching defs:tcon
87 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)
89 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType);
91 seq_printf(m, "%s Mounts: %d ", tcon->treeName, tcon->tc_count);
92 if (tcon->nativeFileSystem)
93 seq_printf(m, "Type: %s ", tcon->nativeFileSystem);
95 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics),
96 le32_to_cpu(tcon->fsAttrInfo.Attributes),
97 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength),
98 tcon->tidStatus);
106 seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number);
108 if ((tcon->seal) ||
109 (tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) ||
110 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA))
112 if (tcon->nocase)
114 if (tcon->unix_ext)
116 if (tcon->ses->server->ops->dump_share_caps)
117 tcon->ses->server->ops->dump_share_caps(m, tcon);
119 if (tcon->need_reconnect)
169 struct cifs_tcon *tcon;
187 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list);
188 spin_lock(&tcon->open_file_lock);
189 list_for_each(tmp2, &tcon->openFileList) {
194 tcon->tid,
207 spin_unlock(&tcon->open_file_lock);
222 struct cifs_tcon *tcon;
423 tcon = list_entry(tmp3, struct cifs_tcon,
427 cifs_debug_tcon(m, tcon);
477 struct cifs_tcon *tcon;
512 tcon = list_entry(tmp3,
515 atomic_set(&tcon->num_smbs_sent, 0);
516 spin_lock(&tcon->stat_lock);
517 tcon->bytes_read = 0;
518 tcon->bytes_written = 0;
519 spin_unlock(&tcon->stat_lock);
521 server->ops->clear_stats(tcon);
542 struct cifs_tcon *tcon;
595 tcon = list_entry(tmp3,
599 seq_printf(m, "\n%d) %s", i, tcon->treeName);
600 if (tcon->need_reconnect)
603 atomic_read(&tcon->num_smbs_sent));
605 server->ops->print_stats(m, tcon);