Home
last modified time | relevance | path

Searched refs:CIFS_MAX_USERNAME_LEN (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/uapi/linux/cifs/
H A Dcifs_mount.h21 #define CIFS_MAX_USERNAME_LEN 256 /* reasonable max for current servers */ macro
/openbmc/linux/fs/smb/client/
H A Dsess.c774 CIFS_MAX_USERNAME_LEN, nls_cp); in unicode_ssetup_strings()
795 len = strscpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()
797 len = CIFS_MAX_USERNAME_LEN - 1; in ascii_ssetup_strings()
1008 sz += sizeof(__le16) * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
1260 CIFS_MAX_USERNAME_LEN, in build_ntlmssp_auth_blob()
H A Dfs_context.c1380 if (strnlen(param->string, CIFS_MAX_USERNAME_LEN) > in smb3_fs_context_parse_param()
1381 CIFS_MAX_USERNAME_LEN) { in smb3_fs_context_parse_param()
H A Dconnect.c1925 CIFS_MAX_USERNAME_LEN)) in match_session()
2212 if (len > CIFS_MAX_USERNAME_LEN || len <= 0) { in cifs_set_cifscreds()