Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv4/nexthop.c flush_all_nexthops() -> remove_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->nexthop.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | net->proc_net->nlink | 0-4294967295 |
| PARAM_VALUE | 0 | net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | nh | 4096-ptr_max |
| PARAM_VALUE | 2 | nlinfo | 0 |
| DATA_SOURCE | 0 | net | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &net->rtnl_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/nexthop.c nexthop_flush_dev() -> remove_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->nexthop.devhash | 4096-ptr_max |
| PARAM_VALUE | 2 | nlinfo | 0 |
| UNITS | 0 | net | unit_byte |
net/ipv4/nexthop.c remove_nh_grp_entry() -> remove_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nh | 4096-ptr_max |
| PARAM_VALUE | 1 | nh->nh_grp | 4096-ptr_max |
| PARAM_VALUE | 1 | nh->nh_grp->num_nh | 1 |
| PARAM_VALUE | 2 | nlinfo | 0,4096-ptr_max |
| PARAM_VALUE | 2 | nlinfo->nl_net | 4096-ptr_max |
| BUF_SIZE | 2 | nlinfo->nlh | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | nlinfo | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| USER_PTR | 2 | nlinfo->nlh | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/ipv4/nexthop.c remove_one_nexthop() -> remove_nexthop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | nh | 4096-ptr_max |
| PARAM_VALUE | 2 | nlinfo | 1630382175944609792 |
| PARAM_VALUE | 2 | nlinfo->nlh | 4096-ptr_max |
| CAPPED_DATA | 1 | nh->id | 1 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | nh | $1 |
| DATA_SOURCE | 2 | nlinfo | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| USER_PTR | 2 | nlinfo->nlh | |
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 0 | &net->rtnl_mutex | |
| 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 &rx_queue_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |