Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev.c __unregister_netdevice_notifier_net() -> call_netdevice_unregister_net_notifiers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| BUF_SIZE | 1 | net | (-1),10432 |
| BUF_SIZE | 1 | net | (-1),10432 |
| CAPPED_DATA | 0 | nb | 1 |
| DATA_SOURCE | 0 | nb | $1 |
| DATA_SOURCE | 1 | net | $0 |
| PARAM_COMPARE | 0 | nb | == $1->netdev_chain.head |
| PARAM_COMPARE | 0 | nb | == $1->netdev_chain.head |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | net | unit_byte |
| HALF_LOCKED2 | &dev->nd_net.net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 1 | &net->rtnl_mutex |
net/core/dev.c register_netdevice_notifier() -> call_netdevice_unregister_net_notifiers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->dev_unreg_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | net->dev_unreg_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | net->dev_unreg_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | net->dev_unreg_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | net->rtnl_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | nb | (-1),24 |
| BUF_SIZE | 0 | nb | (-1),24 |
| CAPPED_DATA | 0 | nb | 1 |
| CAPPED_DATA | 1 | &net->list | 1 |
| DATA_SOURCE | 0 | nb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 1 | &net->rtnl_mutex | |
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &die_info->die_mutex | ||
| HALF_LOCKED2 | &led_cdev->trigger_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &ctrl_lock | ||
| HALF_LOCKED2 | global &fcoe_config_mutex | ||
| HALF_LOCKED2 | global &init_lock | ||
| HALF_LOCKED2 | global &masq_mutex | ||
| HALF_LOCKED2 | global &psp_notifier_lock | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/core/dev.c unregister_netdevice_notifier() -> call_netdevice_unregister_net_notifiers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | net->rtnl_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | net->rtnl_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | net->rtnl_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | net->rtnl_mutex.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | nb | (-1),24 |
| BUF_SIZE | 0 | nb | (-1),24 |
| CAPPED_DATA | 0 | nb | 1 |
| CAPPED_DATA | 1 | &net->list | 1 |
| DATA_SOURCE | 0 | nb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | global &rtnl_mutex | ||
| LOCK2 | 1 | &net->rtnl_mutex | |
| HALF_LOCKED2 | &_dev->mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &die_info->die_mutex | ||
| HALF_LOCKED2 | &led_cdev->trigger_lock | ||
| HALF_LOCKED2 | global &fcoe_config_mutex | ||
| HALF_LOCKED2 | global &init_lock | ||
| HALF_LOCKED2 | global &masq_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |