Lines Matching refs:tcon

97 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)  in cifs_debug_tcon()  argument
99 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_tcon()
101 seq_printf(m, "%s Mounts: %d ", tcon->treeName, tcon->tc_count); in cifs_debug_tcon()
102 if (tcon->nativeFileSystem) in cifs_debug_tcon()
103 seq_printf(m, "Type: %s ", tcon->nativeFileSystem); in cifs_debug_tcon()
105 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics), in cifs_debug_tcon()
106 le32_to_cpu(tcon->fsAttrInfo.Attributes), in cifs_debug_tcon()
107 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength), in cifs_debug_tcon()
108 tcon->tidStatus); in cifs_debug_tcon()
115 if (tcon->seal) in cifs_debug_tcon()
117 if (tcon->nocase) in cifs_debug_tcon()
119 if (tcon->unix_ext) in cifs_debug_tcon()
121 if (tcon->ses->server->ops->dump_share_caps) in cifs_debug_tcon()
122 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
124 if (tcon->need_reconnect) in cifs_debug_tcon()
154 struct cifs_tcon *tcon; in cifs_debug_data_proc_show() local
327 tcon = list_entry(tmp3, struct cifs_tcon, in cifs_debug_data_proc_show()
331 cifs_debug_tcon(m, tcon); in cifs_debug_data_proc_show()
376 struct cifs_tcon *tcon; in cifs_stats_proc_write() local
402 tcon = list_entry(tmp3, in cifs_stats_proc_write()
405 atomic_set(&tcon->num_smbs_sent, 0); in cifs_stats_proc_write()
406 spin_lock(&tcon->stat_lock); in cifs_stats_proc_write()
407 tcon->bytes_read = 0; in cifs_stats_proc_write()
408 tcon->bytes_written = 0; in cifs_stats_proc_write()
409 spin_unlock(&tcon->stat_lock); in cifs_stats_proc_write()
411 server->ops->clear_stats(tcon); in cifs_stats_proc_write()
432 struct cifs_tcon *tcon; in cifs_stats_proc_show() local
474 tcon = list_entry(tmp3, in cifs_stats_proc_show()
478 seq_printf(m, "\n%d) %s", i, tcon->treeName); in cifs_stats_proc_show()
479 if (tcon->need_reconnect) in cifs_stats_proc_show()
482 atomic_read(&tcon->num_smbs_sent)); in cifs_stats_proc_show()
484 server->ops->print_stats(m, tcon); in cifs_stats_proc_show()