Defined in 1 files as a function:
Referenced in 4 files:
- net/key/af_key.c, line 1570
- net/xfrm/xfrm_policy.c, line 3379
- net/xfrm/xfrm_state.c
- net/xfrm/xfrm_user.c, line 1134
Smatch caller information:
net/key/af_key.c pfkey_delete() -> xfrm_state_kern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| CAPPED_DATA | 0 | x->id.proto | 1 |
| CAPPED_DATA | 0 | x->id.spi | 1 |
| CAPPED_DATA | 0 | x->mark.v | 1 |
| CAPPED_DATA | 0 | x->props.family | 1 |
| DATA_SOURCE | 0 | x | r pfkey_xfrm_state_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_cfg_mutex |
net/xfrm/xfrm_state.c xfrm_dev_state_flush() -> xfrm_state_kern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &net->xfrm.xfrm_state_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_state_lock |
net/xfrm/xfrm_state.c xfrm_state_flush() -> xfrm_state_kern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->xfrm.xfrm_state_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_state_lock |
net/xfrm/xfrm_state.c xfrm_state_update() -> xfrm_state_kern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| CAPPED_DATA | 0 | x->id.proto | 1 |
| CAPPED_DATA | 0 | x->mark.v | 1 |
| CAPPED_DATA | 0 | x->props.family | 1 |
| DATA_SOURCE | 0 | x | r __xfrm_state_locate |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &net->xfrm.xfrm_state_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_state_lock |
net/xfrm/xfrm_user.c xfrm_del_sa() -> xfrm_state_kern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| CAPPED_DATA | 0 | x->id.proto | 1 |
| CAPPED_DATA | 0 | x->mark.v | 1 |
| CAPPED_DATA | 0 | x->props.family | 1 |
| DATA_SOURCE | 0 | x | r xfrm_user_state_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/xfrm/xfrm_policy.c xfrm_state_ok() -> xfrm_state_kern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |