Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/server/auth.c ksmbd_krb5_authenticate() -> ksmbd_compare_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | u1 | 1-u64max |
| PARAM_VALUE | 1 | u2 | 4096-ptr_max |
| PARAM_VALUE | 1 | u2->name | 4096-ptr_max |
| PARAM_VALUE | 1 | u2->passkey | 16,4096-ptr_max |
| PARAM_VALUE | 1 | u2->passkey_sz | 0-u16max |
| BUF_SIZE | 1 | u2 | 56 |
| DATA_SOURCE | 1 | u2 | r ksmbd_alloc_user |
| BIT_INFO | 1 | u2->flags | 0x1,0xffff |
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/smb2pdu.c ntlm_authenticate() -> ksmbd_compare_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | u2 | 4096-ptr_max |
| PARAM_VALUE | 1 | u2->name | 4096-ptr_max |
| PARAM_VALUE | 1 | u2->passkey | 16,4096-ptr_max |
| PARAM_VALUE | 1 | u2->passkey_sz | 0-u16max |
| BUF_SIZE | 1 | u2 | 56 |
| DATA_SOURCE | 1 | u2 | r session_user |
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |