Lines Matching defs:tcon
90 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)
92 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType);
94 seq_printf(m, "%s Mounts: %d ", tcon->tree_name, tcon->tc_count);
95 if (tcon->nativeFileSystem)
96 seq_printf(m, "Type: %s ", tcon->nativeFileSystem);
98 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics),
99 le32_to_cpu(tcon->fsAttrInfo.Attributes),
100 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength),
101 tcon->status);
109 seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number);
111 if ((tcon->seal) ||
112 (tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) ||
113 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA))
115 if (tcon->nocase)
117 if (tcon->unix_ext)
119 if (tcon->ses->server->ops->dump_share_caps)
120 tcon->ses->server->ops->dump_share_caps(m, tcon);
121 if (tcon->use_witness)
123 if (tcon->broken_sparse_sup)
125 if (tcon->need_reconnect)
127 spin_lock(&tcon->tc_lock);
128 if (tcon->origin_fullpath) {
130 tcon->origin_fullpath);
132 spin_unlock(&tcon->tc_lock);
239 struct cifs_tcon *tcon;
253 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
254 spin_lock(&tcon->open_file_lock);
255 list_for_each_entry(cfile, &tcon->openFileList, tlist) {
258 tcon->tid,
272 spin_unlock(&tcon->open_file_lock);
287 struct cifs_tcon *tcon;
544 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
547 cifs_debug_tcon(m, tcon);
627 struct cifs_tcon *tcon;
657 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
658 atomic_set(&tcon->num_smbs_sent, 0);
659 spin_lock(&tcon->stat_lock);
660 tcon->bytes_read = 0;
661 tcon->bytes_written = 0;
662 spin_unlock(&tcon->stat_lock);
664 server->ops->clear_stats(tcon);
684 struct cifs_tcon *tcon;
735 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
737 seq_printf(m, "\n%d) %s", i, tcon->tree_name);
738 if (tcon->need_reconnect)
741 atomic_read(&tcon->num_smbs_sent));
743 server->ops->print_stats(m, tcon);