Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/rtnetlink.c do_setlink() -> rtnl_dev_combine_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ifm | 4096-ptr_max |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 1 | ifm | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ifm->__ifi_pad | 0-255 |
| USER_DATA | 1 | ifm->ifi_change | 0-u32max |
| USER_DATA | 1 | ifm->ifi_family | 0-255 |
| USER_DATA | 1 | ifm->ifi_flags | 0-u32max |
| USER_DATA | 1 | ifm->ifi_index | s32min-s32max |
| USER_DATA | 1 | ifm->ifi_type | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| USER_PTR | 1 | ifm | |
| LOCK2 | global &rtnl_mutex | ||
| 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 &rx_queue_mutex |
net/core/rtnetlink.c rtnl_configure_link() -> rtnl_dev_combine_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | ifm | 4096-ptr_max |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432 |
| BUF_SIZE | 0 | dev->rtnl_link_ops | (-1),288 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | ifm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->ifindex | s32min-s32max |
| USER_DATA | 1 | ifm->__ifi_pad | 0-255 |
| USER_DATA | 1 | ifm->ifi_change | 0-u32max |
| USER_DATA | 1 | ifm->ifi_family | 0-255 |
| USER_DATA | 1 | ifm->ifi_flags | 0-u32max |
| USER_DATA | 1 | ifm->ifi_index | s32min-s32max |
| USER_DATA | 1 | ifm->ifi_type | 0-u16max |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| USER_PTR | 1 | ifm | |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| 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 &rx_queue_mutex |