Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- include/linux/lsm_hook_defs.h, line 406
- net/ipv4/ipcomp.c, line 63
- net/ipv6/ipcomp6.c, line 80
- net/key/af_key.c, line 1138
- net/xfrm/xfrm_state.c
- net/xfrm/xfrm_user.c
- security/security.c, line 5003
- security/selinux/hooks.c, line 7830
Smatch caller information:
net/ipv4/ipcomp.c ipcomp_tunnel_create() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |
net/key/af_key.c pfkey_msg2xfrm_state() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &vq->mutex | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_cfg_mutex |
net/xfrm/xfrm_state.c __find_acq_core() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->xfrm.xfrm_state_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 0 | &net->xfrm.xfrm_state_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_state_lock |
net/xfrm/xfrm_state.c xfrm_state_clone_and_setup() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |
net/xfrm/xfrm_state.c xfrm_state_find() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
net/ipv6/ipcomp6.c ipcomp6_tunnel_create() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex |
net/xfrm/xfrm_user.c xfrm_add_acquire() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| 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_user.c xfrm_state_construct() -> xfrm_state_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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 |