Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/smb/server/mgmt/user_session.c ksmbd_session_destroy() -> ksmbd_free_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->session_lock | ||
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &sessions_table_lock |
fs/smb/server/auth.c ksmbd_krb5_authenticate() -> ksmbd_free_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 0 | user->name | 4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey | 16,4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey_sz | 0-u16max |
| BUF_SIZE | 0 | user | 56 |
| DATA_SOURCE | 0 | user | r ksmbd_alloc_user |
| BIT_INFO | 0 | user->flags | 0x1,0xffff |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/auth.c ksmbd_krb5_authenticate() -> ksmbd_free_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 0 | user->name | 4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey | 16,4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey_sz | 0-u16max |
| BUF_SIZE | 0 | user | 56 |
| DATA_SOURCE | 0 | user | r ksmbd_alloc_user |
| BIT_INFO | 0 | user->flags | 0x1,0xffff |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/smb2pdu.c ntlm_authenticate() -> ksmbd_free_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 0 | user->name | 4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey | 16,4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey_sz | 0-u16max |
| BUF_SIZE | 0 | user | 56 |
| DATA_SOURCE | 0 | user | r session_user |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/smb2pdu.c ntlm_authenticate() -> ksmbd_free_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 0 | user->name | 4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey | 16,4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey_sz | 0-u16max |
| BUF_SIZE | 0 | user | 56 |
| DATA_SOURCE | 0 | user | r session_user |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/smb2pdu.c ntlm_authenticate() -> ksmbd_free_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | user | 4096-ptr_max |
| PARAM_VALUE | 0 | user->name | 4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey | 16,4096-ptr_max |
| PARAM_VALUE | 0 | user->passkey_sz | 0-u16max |
| BUF_SIZE | 0 | user | 56 |
| DATA_SOURCE | 0 | user | r session_user |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |