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()
393 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_show_options() local
395 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()
397 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
398 cifs_show_security(s, tcon->ses); in cifs_show_options()
403 else if (tcon->ses->user_name) in cifs_show_options()
404 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
406 if (tcon->ses->domainName) in cifs_show_options()
407 seq_show_option(s, "domain", tcon->ses->domainName); in cifs_show_options()
439 cifs_show_address(s, tcon->ses->server); in cifs_show_options()
441 if (!tcon->unix_ext) in cifs_show_options()
448 if (tcon->seal) in cifs_show_options()
450 if (tcon->nocase) in cifs_show_options()
452 if (tcon->retry) in cifs_show_options()
454 if (tcon->unix_ext) in cifs_show_options()
512 struct cifs_tcon *tcon; in cifs_umount_begin() local
517 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_umount_begin()
520 if ((tcon->tc_count > 1) || (tcon->tidStatus == CifsExiting)) { in cifs_umount_begin()
526 } else if (tcon->tc_count == 1) in cifs_umount_begin()
527 tcon->tidStatus = CifsExiting; in cifs_umount_begin()
532 if (tcon->ses && tcon->ses->server) { in cifs_umount_begin()
534 wake_up_all(&tcon->ses->server->request_q); in cifs_umount_begin()
535 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()
538 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()