Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
security/keys/keyring.c search_nested_keyrings() -> keyring_compare_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 4096-ptr_max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 0 | object | (-1),1-s32max |
| BUF_SIZE | 1 | data | 40 |
| DATA_SOURCE | 0 | object | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
lib/assoc_array.c assoc_array_delete() -> (struct assoc_array_ops)->compare_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 0,2-u64max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| BUF_SIZE | 1 | data | 40 |
| BUF_SIZE | 1 | data | 40 |
| DATA_SOURCE | 1 | data | $2 |
| LOCK2 | &keyring->sem | ||
| HALF_LOCKED2 | &to_keyring->sem | ||
| TYPE_LOCK | (struct key)->sem |
lib/assoc_array.c assoc_array_find() -> (struct assoc_array_ops)->compare_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 0,2-u64max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | data->desc_len | 0-u16max |
| BUF_SIZE | 1 | data | (-1),40 |
| BUF_SIZE | 1 | data | (-1),40 |
| DATA_SOURCE | 0 | object | r assoc_array_ptr_to_leaf |
| DATA_SOURCE | 1 | data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
lib/assoc_array.c assoc_array_insert_into_terminal_node() -> (struct assoc_array_ops)->compare_object()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | object | 0,2-u64max |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| DATA_SOURCE | 1 | data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &from_keyring->sem | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | &user->cons_lock | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | global &key_types_sem |