Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/devlink/core.c devlink_pernet_pre_exit() -> devlink_reload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dest_net | 1824583183996030976 |
| PARAM_VALUE | 2 | action | 1 |
| PARAM_VALUE | 3 | limit | 0 |
| PARAM_VALUE | 4 | actions_performed | 4650544829471993856 |
| PARAM_VALUE | 5 | extack | 0 |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| DATA_SOURCE | 0 | devlink | r devlinks_xa_find_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/dev.c devlink_nl_reload_doit() -> devlink_reload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | dest_net | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dest_net->ns.__ns_ref.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | action | 0-255 |
| PARAM_VALUE | 3 | limit | 0-2 |
| PARAM_VALUE | 4 | actions_performed | 7529963728614608896 |
| PARAM_VALUE | 5 | extack | 4971238048455385088 |
| CAPPED_DATA | 1 | dest_net | 1 |
| CAPPED_DATA | 2 | action | 1 |
| DATA_SOURCE | 2 | action | r nla_get_u8_default |
| FUZZY_MAX | 3 | limit | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &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 |