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()
376 if (ses->user_name) in size_of_ntlmssp_blob()
377 sz += 2 * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
432 if (ses->user_name != NULL) { in build_ntlmssp_auth_blob()
465 if (ses->user_name == NULL) { in build_ntlmssp_auth_blob()
472 len = cifs_strtoUTF16((__le16 *)tmp, ses->user_name, in build_ntlmssp_auth_blob()
708 if (ses->user_name != NULL) { in sess_auth_lanman()
813 if (ses->user_name != NULL) { in sess_auth_ntlm()
927 if (ses->user_name != NULL) { in sess_auth_ntlmv2()