Home
last modified time | relevance | path

Searched refs:user_name (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/fs/cifs/
Dcifs_spnego.c120 if (sesInfo->user_name) in cifs_get_spnego_key()
121 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key()
163 if (sesInfo->user_name) { in cifs_get_spnego_key()
165 sprintf(dp, ";user=%s", sesInfo->user_name); in cifs_get_spnego_key()
Dsess.c141 if (ses->user_name == NULL) { in unicode_ssetup_strings()
146 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->user_name, in unicode_ssetup_strings()
167 if (ses->user_name != NULL) { in ascii_ssetup_strings()
168 len = strscpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
384 if (ses->user_name) in size_of_ntlmssp_blob()
385 sz += 2 * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
440 if (ses->user_name != NULL) { in build_ntlmssp_auth_blob()
473 if (ses->user_name == NULL) { in build_ntlmssp_auth_blob()
480 len = cifs_strtoUTF16((__le16 *)tmp, ses->user_name, in build_ntlmssp_auth_blob()
715 if (ses->user_name != NULL) { in sess_auth_lanman()
[all …]
Dcifsencrypt.c528 len = ses->user_name ? strlen(ses->user_name) : 0; in calc_ntlmv2_hash()
536 len = cifs_strtoUTF16(user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash()
Dcifsfs.c398 if (ses->user_name == NULL) in cifs_show_security()
481 else if (tcon->ses->user_name) in cifs_show_options()
482 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
Dmisc.c103 kfree(buf_to_free->user_name); in sesInfoFree()
Dconnect.c2871 if (ses->user_name == NULL) { in match_session()
2878 if (strncmp(ses->user_name, in match_session()
3256 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
3257 if (!ses->user_name) in cifs_get_smb_ses()
Dcifsglob.h976 char *user_name; /* must not be null except during init of sess member
Dsmb2pdu.c1018 if (tcon->ses->user_name == NULL) { in smb3_validate_negotiate()
1717 ((ses->user_name != NULL) || (ses->sectype == Kerberos))) in SMB2_tcon()
/Linux-v5.4/drivers/dma-buf/
Dsync_file.c133 if (sync_file->user_name[0]) { in sync_file_get_name()
134 strlcpy(buf, sync_file->user_name, len); in sync_file_get_name()
286 strlcpy(sync_file->user_name, name, sizeof(sync_file->user_name)); in sync_file_merge()
/Linux-v5.4/include/linux/
Dsync_file.h44 char user_name[32]; member
Dsdb.h127 uint8_t user_name[15]; /* 0x30-0x3e */ member