Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/cifs/
Dcifs_mount.h22 #define CIFS_MAX_USERNAME_LEN 256 /* reasonable max for current servers */ macro
/Linux-v4.19/fs/cifs/
Dsess.c147 CIFS_MAX_USERNAME_LEN, nls_cp); in unicode_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()
377 sz += 2 * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()
473 CIFS_MAX_USERNAME_LEN, nls_cp); in build_ntlmssp_auth_blob()
Dconnect.c1800 if (strnlen(string, CIFS_MAX_USERNAME_LEN) > in cifs_parse_mount_options()
1801 CIFS_MAX_USERNAME_LEN) { in cifs_parse_mount_options()
2512 CIFS_MAX_USERNAME_LEN)) in match_session()
2748 if (len > CIFS_MAX_USERNAME_LEN || len <= 0) { in cifs_set_cifscreds()