Searched refs:CIFS_MAX_USERNAME_LEN (Results 1 – 5 of 5) sorted by relevance
22 #define CIFS_MAX_USERNAME_LEN 256 /* reasonable max for current servers */ macro
425 CIFS_MAX_USERNAME_LEN, nls_cp); in unicode_ssetup_strings()446 len = strscpy(bcc_ptr, ses->user_name, CIFS_MAX_USERNAME_LEN); in ascii_ssetup_strings()448 len = CIFS_MAX_USERNAME_LEN - 1; in ascii_ssetup_strings()664 sz += 2 * strnlen(ses->user_name, CIFS_MAX_USERNAME_LEN); in size_of_ntlmssp_blob()760 CIFS_MAX_USERNAME_LEN, nls_cp); in build_ntlmssp_auth_blob()
1959 if (strnlen(string, CIFS_MAX_USERNAME_LEN) > in cifs_parse_mount_options()1960 CIFS_MAX_USERNAME_LEN) { in cifs_parse_mount_options()2709 CIFS_MAX_USERNAME_LEN)) in match_session()2958 if (len > CIFS_MAX_USERNAME_LEN || len <= 0) { in cifs_set_cifscreds()