Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/tipc/crypto.c tipc_crypto_key_attach() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | c | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | new_passive | 1-3[u] |
| USER_DATA | 3 | new_pending | 1-3[c] |
| LOCK2 | bh | ||
| LOCK2 | 0 | &c->lock | |
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_key_flush() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->flags | 0 |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new_passive | 0 |
| PARAM_VALUE | 2 | new_active | 0 |
| PARAM_VALUE | 3 | new_pending | 0 |
| DATA_SOURCE | 0 | c | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &c->lock | |
| HALF_LOCKED2 | &tn->node_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_key_revoke() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | new_active | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &c->lock | |
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_key_try_align() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | new_passive | 0-3 |
| PARAM_VALUE | 2 | new_active | 0 |
| PARAM_VALUE | 3 | new_pending | 1-3 |
| DATA_SOURCE | 0 | c | $0 |
| DATA_SOURCE | 3 | new_pending | $1 |
| FUZZY_MAX | 1 | new_passive | 3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &c->lock | |
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_start() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->flags | 0 |
| PARAM_VALUE | 0 | c->net | 4096-ptr_max |
| PARAM_VALUE | 0 | c->net->gen | 4096-ptr_max |
| PARAM_VALUE | 0 | c->node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->stats | 4096-ptr_max |
| PARAM_VALUE | 1 | new_passive | 0 |
| PARAM_VALUE | 2 | new_active | 0 |
| PARAM_VALUE | 3 | new_pending | 0 |
| BUF_SIZE | 0 | c | 448 |
| BUF_SIZE | 0 | c->net | (-1)-s32max |
| BUF_SIZE | 0 | c->node | (-1),1464 |
| BUF_SIZE | 0 | c->stats | 32 |
| BUF_SIZE | 0 | c->wq | (-1),512,528-8720 |
| DATA_SOURCE | 0 | c | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &tn->node_list_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem |
net/tipc/crypto.c tipc_crypto_timeout() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | new_active | 1-3 |
| PARAM_VALUE | 3 | new_pending | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &c->lock | |
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_timeout() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 0 | c->key.pending | 1-3 |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->net | 4096-ptr_max |
| PARAM_VALUE | 0 | c->net->gen | 4096-ptr_max |
| PARAM_VALUE | 2 | new_active | 1-3 |
| PARAM_VALUE | 3 | new_pending | 0 |
| CAPPED_DATA | 0 | c->net->gen | 1 |
| DATA_SOURCE | 0 | c | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &c->lock | |
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_timeout() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 0 | c->key.pending | 1-3 |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->net | 4096-ptr_max |
| PARAM_VALUE | 0 | c->net->gen | 4096-ptr_max |
| PARAM_VALUE | 3 | new_pending | 0 |
| CAPPED_DATA | 0 | c->net->gen | 1 |
| DATA_SOURCE | 0 | c | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &c->lock | |
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_timeout() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->net | 4096-ptr_max |
| PARAM_VALUE | 0 | c->net->gen | 4096-ptr_max |
| PARAM_VALUE | 2 | new_active | 0 |
| PARAM_VALUE | 3 | new_pending | 1-3 |
| CAPPED_DATA | 0 | c->net->gen | 1 |
| DATA_SOURCE | 0 | c | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &c->lock | |
| TYPE_LOCK | (struct tipc_crypto)->lock |
net/tipc/crypto.c tipc_crypto_timeout() -> tipc_crypto_key_set_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->aead | 4096-ptr_max |
| PARAM_VALUE | 0 | c->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->net | 4096-ptr_max |
| PARAM_VALUE | 0 | c->net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | new_passive | 0 |
| CAPPED_DATA | 0 | c->net->gen | 1 |
| DATA_SOURCE | 0 | c | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &c->lock | |
| TYPE_LOCK | (struct tipc_crypto)->lock |