Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/client/
Dcifs_spnego.c108 if (sesInfo->user_name) in cifs_get_spnego_key()
109 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key()
151 if (sesInfo->user_name) { in cifs_get_spnego_key()
153 sprintf(dp, ";user=%s", sesInfo->user_name); in cifs_get_spnego_key()
Dsess.c573 ctx->username = ses->user_name; in cifs_ses_add_channel()
781 if (ses->user_name == NULL) { in unicode_ssetup_strings()
786 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, ses->user_name, in unicode_ssetup_strings()
807 if (ses->user_name != NULL) { in ascii_ssetup_strings()
808 len = strscpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
1015 if (ses->user_name) in size_of_ntlmssp_blob()
1016 sz += sizeof(__le16) * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
1237 if (ses->user_name != NULL) { in build_ntlmssp_auth_blob()
1261 ses->user_name, in build_ntlmssp_auth_blob()
1481 if (ses->user_name != NULL) { in sess_auth_ntlmv2()
Dcifsencrypt.c564 len = ses->user_name ? strlen(ses->user_name) : 0; in calc_ntlmv2_hash()
572 len = cifs_strtoUTF16(user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash()
Dcifs_swn.c50 if (tcon->ses->user_name != NULL) { in cifs_swn_auth_info_ntlm()
51 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_USER_NAME, tcon->ses->user_name); in cifs_swn_auth_info_ntlm()
Dcifsfs.c466 if (ses->user_name == NULL) in cifs_show_security()
555 else if (tcon->ses->user_name) in cifs_show_options()
556 seq_show_option(s, "username", tcon->ses->user_name); in cifs_show_options()
Dconnect.c1864 if (ses->user_name == NULL) { in match_session()
1871 if (strncmp(ses->user_name, in match_session()
2311 ses->user_name = kstrdup(ctx->username, GFP_KERNEL); in cifs_get_smb_ses()
2312 if (!ses->user_name) in cifs_get_smb_ses()
Dmisc.c104 kfree(buf_to_free->user_name); in sesInfoFree()
Dcifsglob.h1045 char *user_name; /* must not be null except during init of sess member
Dsmb2pdu.c1271 if (tcon->ses->user_name == NULL) { in smb3_validate_negotiate()
2058 ((ses->user_name != NULL) || (ses->sectype == Kerberos))) in SMB2_tcon()
/linux-6.6.21/drivers/net/wireless/ath/ath12k/
Dhif.h25 int (*get_user_msi_vector)(struct ath12k_base *ab, char *user_name,
43 char *user_name, in ath12k_hif_get_user_msi_vector() argument
51 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors, in ath12k_hif_get_user_msi_vector()
Dpci.h119 int ath12k_pci_get_user_msi_assignment(struct ath12k_base *ab, char *user_name,
Dpci.c883 int ath12k_pci_get_user_msi_assignment(struct ath12k_base *ab, char *user_name, in ath12k_pci_get_user_msi_assignment() argument
892 if (strcmp(user_name, msi_config->users[idx].name) == 0) { in ath12k_pci_get_user_msi_assignment()
899 user_name, *num_vectors, *user_base_data, in ath12k_pci_get_user_msi_assignment()
906 ath12k_err(ab, "Failed to find MSI assignment for %s!\n", user_name); in ath12k_pci_get_user_msi_assignment()
/linux-6.6.21/drivers/net/wireless/ath/ath11k/
Dhif.h25 int (*get_user_msi_vector)(struct ath11k_base *ab, char *user_name,
118 static inline int ath11k_get_user_msi_vector(struct ath11k_base *ab, char *user_name, in ath11k_get_user_msi_vector() argument
125 return ab->hif.ops->get_user_msi_vector(ab, user_name, num_vectors, in ath11k_get_user_msi_vector()
Dpcic.h29 int ath11k_pcic_get_user_msi_assignment(struct ath11k_base *ab, char *user_name,
Dpcic.c252 int ath11k_pcic_get_user_msi_assignment(struct ath11k_base *ab, char *user_name, in ath11k_pcic_get_user_msi_assignment() argument
260 if (strcmp(user_name, msi_config->users[idx].name) == 0) { in ath11k_pcic_get_user_msi_assignment()
267 user_name, *num_vectors, *user_base_data, in ath11k_pcic_get_user_msi_assignment()
274 ath11k_err(ab, "Failed to find MSI assignment for %s!\n", user_name); in ath11k_pcic_get_user_msi_assignment()
/linux-6.6.21/drivers/dma-buf/
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()
175 strscpy(sync_file->user_name, name, sizeof(sync_file->user_name)); in sync_file_merge()
/linux-6.6.21/include/linux/
Dsync_file.h44 char user_name[32]; member
/linux-6.6.21/fs/smb/server/mgmt/
Duser_config.h47 static inline char *user_name(struct ksmbd_user *user) in user_name() function
/linux-6.6.21/fs/smb/server/
Dtransport_ipc.c560 if (strlen(user_name(sess->user)) >= KSMBD_REQ_MAX_ACCOUNT_NAME_SZ) in ksmbd_ipc_tree_connect_request()
577 strscpy(req->account, user_name(sess->user), KSMBD_REQ_MAX_ACCOUNT_NAME_SZ); in ksmbd_ipc_tree_connect_request()
Dauth.c153 len = strlen(user_name(sess->user)); in calc_ntlmv2_hash()
160 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash()