Lines Matching refs:user_name
141 if (ses->user_name == NULL) { in unicode_ssetup_strings()
146 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->user_name, in unicode_ssetup_strings()
166 if (ses->user_name != NULL) { in ascii_ssetup_strings()
167 strncpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
168 bcc_ptr += strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
403 if (ses->user_name != NULL) { in build_ntlmssp_auth_blob()
441 if (ses->user_name == NULL) { in build_ntlmssp_auth_blob()
448 len = cifs_strtoUTF16((__le16 *)tmp, ses->user_name, in build_ntlmssp_auth_blob()
681 if (ses->user_name != NULL) { in sess_auth_lanman()
784 if (ses->user_name != NULL) { in sess_auth_ntlm()
898 if (ses->user_name != NULL) { in sess_auth_ntlmv2()