Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/l2tp/l2tp_eth.c l2tp_eth_create() -> l2tp_session_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_size | 8 |
| PARAM_VALUE | 1 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 1 | tunnel->ref_count.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 4 | cfg | 5276557270914801664 |
| PARAM_VALUE | 4 | cfg->cookie_len | 0-8 |
| PARAM_VALUE | 4 | cfg->ifname | 0,4096-ptr_max |
| PARAM_VALUE | 4 | cfg->l2specific_type | 0-1 |
| PARAM_VALUE | 4 | cfg->peer_cookie_len | 0-8 |
| PARAM_VALUE | 4 | cfg->pw_type | 0-11 |
| PARAM_VALUE | 4 | cfg->reorder_timeout | (-2),0-536870912 |
| DATA_SOURCE | 1 | tunnel | $1 |
| DATA_SOURCE | 2 | session_id | $2 |
| DATA_SOURCE | 3 | peer_session_id | $3 |
| DATA_SOURCE | 4 | cfg | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv_size | unit_byte |
| USER_PTR | 4 | cfg->ifname | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/l2tp/l2tp_ppp.c pppol2tp_connect() -> l2tp_session_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_size | 176 |
| PARAM_VALUE | 1 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 4 | cfg | 8212029244492103680 |
| PARAM_VALUE | 4 | cfg->cookie_len | 0 |
| PARAM_VALUE | 4 | cfg->ifname | 0 |
| PARAM_VALUE | 4 | cfg->l2specific_type | 0 |
| PARAM_VALUE | 4 | cfg->lns_mode | 0 |
| PARAM_VALUE | 4 | cfg->peer_cookie_len | 0 |
| PARAM_VALUE | 4 | cfg->pw_type | 7 |
| PARAM_VALUE | 4 | cfg->recv_seq | 0 |
| PARAM_VALUE | 4 | cfg->reorder_timeout | 0 |
| PARAM_VALUE | 4 | cfg->send_seq | 0 |
| DATA_SOURCE | 1 | tunnel | r pppol2tp_tunnel_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv_size | unit_byte |
| UNITS | 2 | session_id | unit_array_size |
| LOCK2 | sk |
net/l2tp/l2tp_ppp.c pppol2tp_session_create() -> l2tp_session_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv_size | 176 |
| PARAM_VALUE | 1 | tunnel | 4096-ptr_max |
| PARAM_VALUE | 1 | tunnel->ref_count.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | tunnel->sock | 1-u64max |
| PARAM_VALUE | 4 | cfg | 5276557270914801664 |
| PARAM_VALUE | 4 | cfg->cookie_len | 0-8 |
| PARAM_VALUE | 4 | cfg->ifname | 0,4096-ptr_max |
| PARAM_VALUE | 4 | cfg->l2specific_type | 0-1 |
| PARAM_VALUE | 4 | cfg->peer_cookie_len | 0-8 |
| PARAM_VALUE | 4 | cfg->pw_type | 0-11 |
| PARAM_VALUE | 4 | cfg->reorder_timeout | (-2),0-536870912 |
| DATA_SOURCE | 1 | tunnel | $1 |
| DATA_SOURCE | 2 | session_id | $2 |
| DATA_SOURCE | 3 | peer_session_id | $3 |
| DATA_SOURCE | 4 | cfg | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | priv_size | unit_byte |
| USER_PTR | 4 | cfg->ifname | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->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 &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |