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;
255 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
256 spin_lock(&tcon->open_file_lock);
257 list_for_each_entry(cfile, &tcon->openFileList, tlist) {
260 tcon->tid,
274 spin_unlock(&tcon->open_file_lock);
307 struct cifs_tcon *tcon;
568 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
571 cifs_debug_tcon(m, tcon);
651 struct cifs_tcon *tcon;
683 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
684 atomic_set(&tcon->num_smbs_sent, 0);
685 spin_lock(&tcon->stat_lock);
686 tcon->bytes_read = 0;
687 tcon->bytes_written = 0;
688 tcon->stats_from_time = ktime_get_real_seconds();
689 spin_unlock(&tcon->stat_lock);
691 server->ops->clear_stats(tcon);
711 struct cifs_tcon *tcon;
764 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {
766 seq_printf(m, "\n%d) %s", i, tcon->tree_name);
767 if (tcon->need_reconnect)
770 atomic_read(&tcon->num_smbs_sent),
771 &tcon->stats_from_time);
773 server->ops->print_stats(m, tcon);