Lines Matching refs:user_name
226 ctx.username = ses->user_name; in cifs_ses_add_channel()
433 if (ses->user_name == NULL) { in unicode_ssetup_strings()
438 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->user_name, in unicode_ssetup_strings()
459 if (ses->user_name != NULL) { in ascii_ssetup_strings()
460 len = strscpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
677 if (ses->user_name) in size_of_ntlmssp_blob()
678 sz += 2 * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
733 if (ses->user_name != NULL) { in build_ntlmssp_auth_blob()
766 if (ses->user_name == NULL) { in build_ntlmssp_auth_blob()
773 len = cifs_strtoUTF16((__le16 *)tmp, ses->user_name, in build_ntlmssp_auth_blob()
989 if (ses->user_name != NULL) { in sess_auth_ntlmv2()