Lines Matching refs:ses

176 	if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files)  in cifs_read_super()
188 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) && in cifs_read_super()
189 ((tcon->ses->capabilities & in cifs_read_super()
190 tcon->ses->server->vals->cap_nt_find) == 0) && in cifs_read_super()
266 struct TCP_Server_Info *server = tcon->ses->server; in cifs_statfs()
296 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fallocate()
404 cifs_show_security(struct seq_file *s, struct cifs_ses *ses) in cifs_show_security() argument
406 if (ses->sectype == Unspecified) { in cifs_show_security()
407 if (ses->user_name == NULL) in cifs_show_security()
414 switch (ses->sectype) { in cifs_show_security()
436 if (ses->sign) in cifs_show_security()
439 if (ses->sectype == Kerberos) in cifs_show_security()
441 from_kuid_munged(&init_user_ns, ses->cred_uid)); in cifs_show_security()
484 srcaddr = (struct sockaddr *)&tcon->ses->server->srcaddr; in cifs_show_options()
486 seq_show_option(s, "vers", tcon->ses->server->vals->version_string); in cifs_show_options()
487 cifs_show_security(s, tcon->ses); in cifs_show_options()
494 else if (tcon->ses->user_name) in cifs_show_options()
495 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
497 if (tcon->ses->domainName && tcon->ses->domainName[0] != 0) in cifs_show_options()
498 seq_show_option(s, "domain", tcon->ses->domainName); in cifs_show_options()
530 cifs_show_address(s, tcon->ses->server); in cifs_show_options()
541 else if (tcon->ses->server->ignore_signature) in cifs_show_options()
617 if (tcon->ses->server->min_offload) in cifs_show_options()
618 seq_printf(s, ",esize=%u", tcon->ses->server->min_offload); in cifs_show_options()
620 tcon->ses->server->echo_interval / HZ); in cifs_show_options()
623 if (tcon->ses->server->max_credits != SMB2_MAX_CREDITS_AVAILABLE) in cifs_show_options()
624 seq_printf(s, ",max_credits=%u", tcon->ses->server->max_credits); in cifs_show_options()
633 if (tcon->ses->chan_max > 1) in cifs_show_options()
635 tcon->ses->chan_max); in cifs_show_options()
663 if (tcon->ses && tcon->ses->server) { in cifs_umount_begin()
665 wake_up_all(&tcon->ses->server->request_q); in cifs_umount_begin()
666 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()
669 wake_up_all(&tcon->ses->server->response_q); in cifs_umount_begin()
986 if (tcon->ses->server->ops->llseek) in cifs_llseek()
987 return tcon->ses->server->ops->llseek(file, tcon, in cifs_llseek()
1119 if (target_tcon->ses->server->ops->duplicate_extents) in cifs_remap_file_range()
1120 rc = target_tcon->ses->server->ops->duplicate_extents(xid, in cifs_remap_file_range()
1163 if (src_tcon->ses != target_tcon->ses) { in cifs_file_copychunk_range()
1169 if (!target_tcon->ses->server->ops->copychunk_range) in cifs_file_copychunk_range()
1185 rc = target_tcon->ses->server->ops->copychunk_range(xid, in cifs_file_copychunk_range()