Lines Matching refs:ses
206 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files)
218 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) &&
219 ((tcon->ses->capabilities &
220 tcon->ses->server->vals->cap_nt_find) == 0) &&
249 tcon->ses->server->ops->negotiate_rsize(tcon, cifs_sb->ctx);
315 struct TCP_Server_Info *server = tcon->ses->server;
345 struct TCP_Server_Info *server = tcon->ses->server;
463 cifs_show_security(struct seq_file *s, struct cifs_ses *ses)
465 if (ses->sectype == Unspecified) {
466 if (ses->user_name == NULL)
473 switch (ses->sectype) {
489 if (ses->sign)
492 if (ses->sectype == Kerberos)
494 from_kuid_munged(&init_user_ns, ses->cred_uid));
545 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr;
547 seq_show_option(s, "vers", tcon->ses->server->vals->version_string);
548 cifs_show_security(s, tcon->ses);
555 else if (tcon->ses->user_name)
556 seq_show_option(s, "username", tcon->ses->user_name);
558 if (tcon->ses->domainName && tcon->ses->domainName[0] != 0)
559 seq_show_option(s, "domain", tcon->ses->domainName);
591 cifs_show_address(s, tcon->ses->server);
601 else if (tcon->ses->server->ignore_signature)
681 if (tcon->ses->server->min_offload)
682 seq_printf(s, ",esize=%u", tcon->ses->server->min_offload);
684 tcon->ses->server->echo_interval / HZ);
687 if (tcon->ses->server->max_credits != SMB2_MAX_CREDITS_AVAILABLE)
688 seq_printf(s, ",max_credits=%u", tcon->ses->server->max_credits);
689 if (tcon->ses->server->tcp_nodelay)
691 if (tcon->ses->server->noautotune)
693 if (tcon->ses->server->noblocksnd)
695 if (tcon->ses->server->nosharesock)
718 if (tcon->ses->chan_max > 1)
720 tcon->ses->chan_max);
758 if (tcon->ses && tcon->ses->server) {
760 wake_up_all(&tcon->ses->server->request_q);
761 wake_up_all(&tcon->ses->server->response_q);
764 wake_up_all(&tcon->ses->server->response_q);
1078 if (tcon->ses->server->ops->llseek)
1079 return tcon->ses->server->ops->llseek(file, tcon,
1211 if (src_tcon->ses->server->ops->set_file_size)
1212 rc = src_tcon->ses->server->ops->set_file_size(
1350 if (target_tcon->ses->server->ops->duplicate_extents) {
1351 rc = target_tcon->ses->server->ops->duplicate_extents(xid,
1402 if (src_tcon->ses != target_tcon->ses) {
1408 if (!target_tcon->ses->server->ops->copychunk_range)
1455 rc = target_tcon->ses->server->ops->copychunk_range(xid,