Home
last modified time | relevance | path

Searched refs:domainName (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/fs/cifs/
Dcifsencrypt.c267 if (!ses->domainName) { in build_avpair_blob()
268 ses->domainName = kstrdup(defdmname, GFP_KERNEL); in build_avpair_blob()
269 if (!ses->domainName) in build_avpair_blob()
273 dlen = strlen(ses->domainName); in build_avpair_blob()
299 cifs_strtoUTF16((__le16 *)blobptr, ses->domainName, dlen, nls_cp); in build_avpair_blob()
343 if (!ses->domainName) { in find_domain_name()
344 ses->domainName = in find_domain_name()
346 if (!ses->domainName) in find_domain_name()
348 cifs_from_utf16(ses->domainName, in find_domain_name()
459 if (ses->domainName) { in calc_ntlmv2_hash()
[all …]
Dsess.c396 ctx.domainname = ses->domainName; in cifs_ses_add_channel()
582 if (ses->domainName == NULL) { in unicode_domain_string()
589 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->domainName, in unicode_domain_string()
644 if (ses->domainName != NULL) { in ascii_ssetup_strings()
645 len = strscpy(bcc_ptr, ses->domainName, CIFS_MAX_DOMAINNAME_LEN); in ascii_ssetup_strings()
836 if (ses->domainName) in size_of_ntlmssp_blob()
837 sz += sizeof(__le16) * strnlen(ses->domainName, CIFS_MAX_DOMAINNAME_LEN); in size_of_ntlmssp_blob()
1079 ses->domainName, in build_ntlmssp_auth_blob()
Dcifs_swn.c62 if (tcon->ses->domainName != NULL) { in cifs_swn_auth_info_ntlm()
63 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_DOMAIN_NAME, tcon->ses->domainName); in cifs_swn_auth_info_ntlm()
Dcifsfs.c553 if (tcon->ses->domainName && tcon->ses->domainName[0] != 0) in cifs_show_options()
554 seq_show_option(s, "domain", tcon->ses->domainName); in cifs_show_options()
Dconnect.c2044 if (!ses->domainName) { in cifs_set_cifscreds()
2051 sprintf(desc, "cifs:d:%s", ses->domainName); in cifs_set_cifscreds()
2120 if (is_domain && ses->domainName) { in cifs_set_cifscreds()
2121 ctx->domainname = kstrdup(ses->domainName, GFP_KERNEL); in cifs_set_cifscreds()
2241 ses->domainName = kstrdup(ctx->domainname, GFP_KERNEL); in cifs_get_smb_ses()
2242 if (!ses->domainName) in cifs_get_smb_ses()
Dmisc.c102 kfree(buf_to_free->domainName); in sesInfoFree()
Dcifsglob.h1041 char *domainName; member