Defined in 2 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/xfrm/xfrm_state.c xfrm_state_delete() -> __xfrm_state_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | x | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | x->km.seq | 1-u32max[c] |
| LOCK2 | bh | ||
| LOCK2 | 0 | &x->lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| TYPE_LOCK | (struct xfrm_state)->lock |
net/xfrm/xfrm_state.c xfrm_timer_handler() -> __xfrm_state_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->km.state | 0-4,6-255 |
| PARAM_VALUE | 0 | x->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | x->xso.dev | 0,4096-ptr_max |
| FUZZY_MAX | 0 | x->km.state | 4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &x->lock | |
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct xfrm_state)->lock |
net/xfrm/xfrm_user.c xfrm_add_sa_expire() -> __xfrm_state_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->km.state | 2 |
| PARAM_VALUE | 0 | x->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | x->refcnt.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | x->xso.real_dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| 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 xfrm_state_lookup |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &x->lock | |
| 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 | ||
| TYPE_LOCK | (struct xfrm_state)->lock |
net/xfrm/xfrm_user.c xfrm_do_migrate_state() -> __xfrm_state_delete()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 4096-ptr_max |
| PARAM_VALUE | 0 | x->aalg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->aead | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->calg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->ealg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->km.state | 2 |
| PARAM_VALUE | 0 | x->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | x->mode_cbs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->refcnt.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | x->replay_esn | 0,4096-ptr_max |
| PARAM_VALUE | 0 | x->security | 0,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 xfrm_state_lookup |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | 0 | &x->lock | |
| 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 | ||
| TYPE_LOCK | (struct xfrm_state)->lock |