Lines Matching refs:tcon
86 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon() argument
88 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_tcon()
90 seq_printf(m, "%s Mounts: %d ", tcon->treeName, tcon->tc_count); in cifs_debug_tcon()
91 if (tcon->nativeFileSystem) in cifs_debug_tcon()
92 seq_printf(m, "Type: %s ", tcon->nativeFileSystem); in cifs_debug_tcon()
94 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics), in cifs_debug_tcon()
95 le32_to_cpu(tcon->fsAttrInfo.Attributes), in cifs_debug_tcon()
96 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength), in cifs_debug_tcon()
97 tcon->tidStatus); in cifs_debug_tcon()
105 seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number); in cifs_debug_tcon()
107 if ((tcon->seal) || in cifs_debug_tcon()
108 (tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in cifs_debug_tcon()
109 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in cifs_debug_tcon()
111 if (tcon->nocase) in cifs_debug_tcon()
113 if (tcon->unix_ext) in cifs_debug_tcon()
115 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon()
116 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
117 if (tcon->use_witness) in cifs_debug_tcon()
120 if (tcon->need_reconnect) in cifs_debug_tcon()
171 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
437 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
441 cifs_debug_tcon(m, tcon); in cifs_debug_data_proc_show()
497 struct cifs_tcon *tcon; in cifs_stats_proc_write() local
532 tcon = list_entry(tmp3, in cifs_stats_proc_write()
535 atomic_set(&tcon->num_smbs_sent, 0); in cifs_stats_proc_write()
536 spin_lock(&tcon->stat_lock); in cifs_stats_proc_write()
537 tcon->bytes_read = 0; in cifs_stats_proc_write()
538 tcon->bytes_written = 0; in cifs_stats_proc_write()
539 spin_unlock(&tcon->stat_lock); in cifs_stats_proc_write()
541 server->ops->clear_stats(tcon); in cifs_stats_proc_write()
562 struct cifs_tcon *tcon; in cifs_stats_proc_show() local
613 tcon = list_entry(tmp3, in cifs_stats_proc_show()
617 seq_printf(m, "\n%d) %s", i, tcon->treeName); in cifs_stats_proc_show()
618 if (tcon->need_reconnect) in cifs_stats_proc_show()
621 atomic_read(&tcon->num_smbs_sent)); in cifs_stats_proc_show()
623 server->ops->print_stats(m, tcon); in cifs_stats_proc_show()