Defined in 1 files as a struct:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- include/net/xfrm.h
- net/key/af_key.c
- net/xfrm/xfrm_policy.c
- net/xfrm/xfrm_state.c
- net/xfrm/xfrm_user.c
Smatch caller information:
net/key/af_key.c pfkey_migrate() -> xfrm_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sel | 7223387791267172352 |
| PARAM_VALUE | 0 | sel->dport_mask | 0,u16max |
| PARAM_VALUE | 0 | sel->family | 0,2,10 |
| PARAM_VALUE | 0 | sel->proto | 0-254 |
| PARAM_VALUE | 0 | sel->sport_mask | 0,u16max |
| PARAM_VALUE | 1 | dir | 0-2,255 |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | m | 4096-ptr_max |
| PARAM_VALUE | 4 | num_migrate | 1-s32max |
| PARAM_VALUE | 5 | k | 0,5745216177684480000 |
| PARAM_VALUE | 5 | k->family | 2,10 |
| PARAM_VALUE | 7 | encap | 0 |
| PARAM_VALUE | 8 | if_id | 0 |
| PARAM_VALUE | 9 | extack | 0 |
| PARAM_VALUE | 10 | xuo | 0 |
| BUF_SIZE | 3 | m | 864 |
| BUF_SIZE | 5 | k | 0,40 |
| FUZZY_MAX | 1 | dir | 2 |
| BIT_INFO | 1 | dir | 0x0,0x3 |
| BIT_INFO | 5 | k | 0x0,0x4fbb1bac94b60000 |
| HARD_MAX | 1 | dir | 255 |
| MEM_ZERO | 0 | sel | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 6 | net | unit_byte |
| LOCK2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct netns_xfrm)->xfrm_cfg_mutex |
net/xfrm/xfrm_user.c xfrm_do_migrate() -> xfrm_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | type | 0-1 |
| PARAM_VALUE | 3 | m | 550282447555760128 |
| PARAM_VALUE | 3 | m->msg_type | 33 |
| PARAM_VALUE | 4 | num_migrate | 1-s32max |
| PARAM_VALUE | 5 | k | 0,5837829296212074496 |
| PARAM_VALUE | 9 | extack | 4971238048455385088 |
| PARAM_VALUE | 9 | extack->_msg | 0 |
| PARAM_VALUE | 9 | extack->bad_attr | 0 |
| PARAM_VALUE | 9 | extack->policy | 0 |
| BUF_SIZE | 3 | m | 864 |
| BUF_SIZE | 5 | k | 0,40 |
| BUF_SIZE | 5 | k | 0,40 |
| BUF_SIZE | 7 | encap | 0,24 |
| BUF_SIZE | 7 | encap | 0,24 |
| BUF_SIZE | 10 | xuo | 0,8 |
| BUF_SIZE | 10 | xuo | 0,8 |
| DATA_SOURCE | 9 | extack | $3 |
| BIT_INFO | 5 | k | 0x0,0x510422d09416e000 |
| BIT_INFO | 5 | k | 0x0,0x510422d09416e000 |
| MEM_ZERO | 9 | extack | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sel->dport | 0-u16max |
| USER_DATA | 0 | sel->dport_mask | 0-u16max |
| USER_DATA | 0 | sel->family | 0-u16max |
| USER_DATA | 0 | sel->ifindex | s32min-s32max |
| USER_DATA | 0 | sel->prefixlen_d | 0-255 |
| USER_DATA | 0 | sel->prefixlen_s | 0-255 |
| USER_DATA | 0 | sel->proto | 0-255 |
| USER_DATA | 0 | sel->sport | 0-u16max |
| USER_DATA | 0 | sel->sport_mask | 0-u16max |
| USER_DATA | 0 | sel->user | 0-u32max |
| USER_DATA | 1 | dir | 0-255 |
| USER_DATA | 3 | m->mode | 0-255 |
| USER_DATA | 3 | m->new_family | 0-u16max |
| USER_DATA | 3 | m->old_family | 0-u16max |
| USER_DATA | 3 | m->old_reqid | 0-u32max |
| USER_DATA | 3 | m->proto | 0-255 |
| USER_DATA | 5 | k->family | 0-u16max |
| USER_DATA | 5 | k->reserved | 0-u32max |
| UNITS | 6 | 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 |