Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
security/keys/persistent.c key_get_persistent() -> key_set_index_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | index_key | 2682332787884687360 |
| PARAM_VALUE | 0 | index_key->desc_len | 13-22 |
| PARAM_VALUE | 0 | index_key->description | 6977208350810771456 |
| PARAM_VALUE | 0 | index_key->type | 9142442151112187904 |
| MEM_ZERO | 0 | index_key | |
| NOCHECK_CALL |
security/keys/key.c __key_create_or_update() -> key_set_index_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | index_key | 5936470887294271488 |
| PARAM_VALUE | 0 | index_key->description | 1-u64max |
| PARAM_VALUE | 0 | index_key->domain_tag | 0 |
| PARAM_VALUE | 0 | index_key->hash | 0 |
| PARAM_VALUE | 0 | index_key->type | 4096-ptr_max |
| PARAM_VALUE | 0 | index_key->x | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_PTR | 0 | index_key->description | |
| LOCK2 | global &key_types_sem |
security/keys/key.c key_alloc() -> key_set_index_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | index_key | 4096-ptr_max |
| PARAM_VALUE | 0 | index_key->description | 1-u64max |
| PARAM_VALUE | 0 | index_key->type | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &user->cons_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &afs_key_lock | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/keyring.c search_nested_keyrings() -> key_set_index_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | index_key | 865089248343306240,2764668154173882368,3985960929331363840,5000047925832593408,6296698174800781312,6940733319926751232,7870531563263242240 |
| PARAM_VALUE | 0 | index_key->description | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_PTR | 0 | index_key->description | |
| HALF_LOCKED2 | rcu_read |