Lines Matching refs: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()
148 struct cifs_tcon *tcon; in cifs_debug_files_proc_show() local
166 tcon = list_entry(tmp1, struct cifs_tcon, tcon_list); in cifs_debug_files_proc_show()
167 spin_lock(&tcon->open_file_lock); in cifs_debug_files_proc_show()
168 list_for_each(tmp2, &tcon->openFileList) { in cifs_debug_files_proc_show()
173 tcon->tid, in cifs_debug_files_proc_show()
186 spin_unlock(&tcon->open_file_lock); in cifs_debug_files_proc_show()
201 struct cifs_tcon *tcon; in cifs_debug_data_proc_show() local
390 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
394 cifs_debug_tcon(m, tcon); in cifs_debug_data_proc_show()
439 struct cifs_tcon *tcon; in cifs_stats_proc_write() local
474 tcon = list_entry(tmp3, in cifs_stats_proc_write()
477 atomic_set(&tcon->num_smbs_sent, 0); in cifs_stats_proc_write()
478 spin_lock(&tcon->stat_lock); in cifs_stats_proc_write()
479 tcon->bytes_read = 0; in cifs_stats_proc_write()
480 tcon->bytes_written = 0; in cifs_stats_proc_write()
481 spin_unlock(&tcon->stat_lock); in cifs_stats_proc_write()
483 server->ops->clear_stats(tcon); in cifs_stats_proc_write()
504 struct cifs_tcon *tcon; in cifs_stats_proc_show() local
557 tcon = list_entry(tmp3, in cifs_stats_proc_show()
561 seq_printf(m, "\n%d) %s", i, tcon->treeName); in cifs_stats_proc_show()
562 if (tcon->need_reconnect) in cifs_stats_proc_show()
565 atomic_read(&tcon->num_smbs_sent)); in cifs_stats_proc_show()
567 server->ops->print_stats(m, tcon); in cifs_stats_proc_show()