Lines Matching refs:tcon
119 struct cifs_tcon *tcon; in cifs_read_super() local
123 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super()
128 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
148 if (tcon->nocase) in cifs_read_super()
185 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs() local
186 struct TCP_Server_Info *server = tcon->ses->server; in cifs_statfs()
204 rc = server->ops->queryfs(xid, tcon, buf); in cifs_statfs()
213 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_fallocate() local
214 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fallocate()
217 return server->ops->fallocate(file, tcon, mode, off, len); in cifs_fallocate()
396 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options() local
398 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()
400 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
401 cifs_show_security(s, tcon->ses); in cifs_show_options()
406 else if (tcon->ses->user_name) in cifs_show_options()
407 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
409 if (tcon->ses->domainName) in cifs_show_options()
410 seq_show_option(s, "domain", tcon->ses->domainName); in cifs_show_options()
442 cifs_show_address(s, tcon->ses->server); in cifs_show_options()
444 if (!tcon->unix_ext) in cifs_show_options()
451 if (tcon->seal) in cifs_show_options()
453 if (tcon->nocase) in cifs_show_options()
455 if (tcon->retry) in cifs_show_options()
457 if (tcon->use_persistent) in cifs_show_options()
459 else if (tcon->use_resilient) in cifs_show_options()
461 if (tcon->unix_ext) in cifs_show_options()
519 struct cifs_tcon *tcon; in cifs_umount_begin() local
524 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_umount_begin()
527 if ((tcon->tc_count > 1) || (tcon->tidStatus == CifsExiting)) { in cifs_umount_begin()
533 } else if (tcon->tc_count == 1) in cifs_umount_begin()
534 tcon->tidStatus = CifsExiting; in cifs_umount_begin()
539 if (tcon->ses && tcon->ses->server) { in cifs_umount_begin()
541 wake_up_all(&tcon->ses->server->request_q); in cifs_umount_begin()
542 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()
545 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()