Home
last modified time | relevance | path

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

/Linux-v4.19/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()
161 if (sesInfo->user_name) { in cifs_get_spnego_key()
163 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()
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()
[all …]
Dcifsencrypt.c522 len = ses->user_name ? strlen(ses->user_name) : 0; in calc_ntlmv2_hash()
530 len = cifs_strtoUTF16(user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash()
Dcifsfs.c355 if (ses->user_name == NULL) in cifs_show_security()
432 else if (tcon->ses->user_name) in cifs_show_options()
433 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
Dmisc.c103 kfree(buf_to_free->user_name); in sesInfoFree()
Dconnect.c2503 if (ses->user_name == NULL) { in match_session()
2510 if (strncmp(ses->user_name, in match_session()
2866 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
2867 if (!ses->user_name) in cifs_get_smb_ses()
Dcifsglob.h873 char *user_name; /* must not be null except during init of sess member
Dsmb2pdu.c828 if (tcon->ses->user_name == NULL) { in smb3_validate_negotiate()
/Linux-v4.19/drivers/dma-buf/
Dsync_file.c142 if (sync_file->user_name[0]) { in sync_file_get_name()
143 strlcpy(buf, sync_file->user_name, len); in sync_file_get_name()
294 strlcpy(sync_file->user_name, name, sizeof(sync_file->user_name)); in sync_file_merge()
/Linux-v4.19/include/linux/
Dsync_file.h44 char user_name[32]; member
Dsdb.h127 uint8_t user_name[15]; /* 0x30-0x3e */ member
/Linux-v4.19/drivers/fmc/
Dfmc-debug.c99 __sdb_string(tmp, r->synthesis.user_name)); in fmc_sdb_dump_recursive()