Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A 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()
165 if (sesInfo->user_name) in cifs_get_spnego_key()
166 dp += sprintf(dp, ";user=%s", sesInfo->user_name); in cifs_get_spnego_key()
H A Dsmb1session.c173 if (ses->user_name == NULL) { in unicode_ssetup_strings()
178 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->user_name, in unicode_ssetup_strings()
199 if (ses->user_name != NULL) { in ascii_ssetup_strings()
200 len = strscpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
441 if (ses->user_name != NULL) { in sess_auth_ntlmv2()
H A Dsess.c550 ctx->username = ses->user_name; in cifs_ses_add_channel()
744 if (ses->user_name) in size_of_ntlmssp_blob()
745 sz += sizeof(__le16) * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
969 if (ses->user_name != NULL) { in build_ntlmssp_auth_blob()
993 ses->user_name, in build_ntlmssp_auth_blob()
H A Dcifs_swn.c94 if (tcon->ses->user_name != NULL) { in cifs_swn_auth_info_ntlm()
95 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_USER_NAME, tcon->ses->user_name); in cifs_swn_auth_info_ntlm()
H A Dconnect.c1994 if (strncmp(ses->user_name ?: "", in match_session()
2003 if (ses->user_name == NULL) { in match_session()
2010 if (strncmp(ses->user_name, in match_session()
2449 ses->user_name = kstrdup(ctx->username, GFP_KERNEL); in cifs_get_smb_ses()
2450 if (!ses->user_name) in cifs_get_smb_ses()
4233 if (ses->user_name && ses->user_name[0]) { in cifs_construct_tcon()
4234 ctx->username = kstrndup(ses->user_name, in cifs_construct_tcon()
H A Dcifsfs.c522 if (ses->user_name == NULL) in cifs_show_security()
640 else if (tcon->ses->user_name) in cifs_show_options()
641 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
H A Dmisc.c108 kfree(buf_to_free->user_name); in sesInfoFree()
H A Dcifsglob.h1075 char *user_name; /* must not be null except during init of sess
1078 char *user_name; /* must not be null except during init of sess global() member
H A Dsmb2pdu.c1378 if (tcon->ses->user_name == NULL) { in smb3_validate_negotiate()
1664 sess_data->ses->user_name, in SMB2_sess_sendreceive()
2180 ((ses->user_name != NULL) || (ses->sectype == Kerberos))) in SMB2_tcon()
H A Dtrace.h1861 __string(user, ses->user_name)
/linux/drivers/net/wireless/ath/ath12k/
H A Dhif.h25 int (*get_user_msi_vector)(struct ath12k_base *ab, char *user_name,
44 char *user_name, in ath12k_hif_get_user_msi_vector() argument
52 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors, in ath12k_hif_get_user_msi_vector()
H A Dpci.c1029 int ath12k_pci_get_user_msi_assignment(struct ath12k_base *ab, char *user_name, in ath12k_pci_get_user_msi_assignment()
1038 if (strcmp(user_name, msi_config->users[idx].name) == 0) { in ath12k_pci_get_user_msi_assignment()
1045 user_name, *num_vectors, *user_base_data, in ath12k_pci_get_user_msi_assignment()
1052 ath12k_err(ab, "Failed to find MSI assignment for %s!\n", user_name); in ath12k_pci_get_msi_address()
1020 ath12k_pci_get_user_msi_assignment(struct ath12k_base * ab,char * user_name,int * num_vectors,u32 * user_base_data,u32 * base_vector) ath12k_pci_get_user_msi_assignment() argument
/linux/drivers/dma-buf/
H A Dsync_file.c134 if (sync_file->user_name[0]) { in sync_file_get_name()
135 strscpy(buf, sync_file->user_name, len); in sync_file_get_name()
181 strscpy(sync_file->user_name, name, sizeof(sync_file->user_name)); in sync_file_merge()
/linux/include/linux/
H A Dsync_file.h44 char user_name[32]; member
/linux/fs/smb/server/
H A Dtransport_ipc.c715 if (strlen(user_name(sess->user)) >= KSMBD_REQ_MAX_ACCOUNT_NAME_SZ) in ksmbd_ipc_tree_connect_request()
732 strscpy(req->account, user_name(sess->user), KSMBD_REQ_MAX_ACCOUNT_NAME_SZ); in ksmbd_ipc_tree_connect_request()
H A Dauth.c86 len = strlen(user_name(sess->user)); in calc_ntlmv2_hash()
93 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash()