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