Searched refs:MAX_USERNAME_SIZE (Results 1 – 3 of 3) sorted by relevance
230 MAX_USERNAME_SIZE, nls_cp); in unicode_ssetup_strings()250 strncpy(bcc_ptr, ses->user_name, MAX_USERNAME_SIZE); in ascii_ssetup_strings()251 bcc_ptr += strnlen(ses->user_name, MAX_USERNAME_SIZE); in ascii_ssetup_strings()509 MAX_USERNAME_SIZE, nls_cp); in build_ntlmssp_auth_blob()525 MAX_USERNAME_SIZE, nls_cp); in build_ntlmssp_auth_blob()
42 #define MAX_USERNAME_SIZE 256 /* reasonable maximum for current servers */ macro
1568 if (strnlen(string, MAX_USERNAME_SIZE) > in cifs_parse_mount_options()1569 MAX_USERNAME_SIZE) { in cifs_parse_mount_options()2306 MAX_USERNAME_SIZE)) in match_session()2436 if (len > MAX_USERNAME_SIZE || len <= 0) { in cifs_set_cifscreds()