Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/core/dev.c call_netdevice_register_notifiers() -> call_netdevice_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | val | 5 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->netdev_ops | 4096-ptr_max |
| CAPPED_DATA | 0 | nb | 1 |
| DATA_SOURCE | 0 | nb | $0 |
| DATA_SOURCE | 2 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev.c call_netdevice_register_notifiers() -> call_netdevice_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 1 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->flags | 1-u32max |
| PARAM_VALUE | 2 | dev->netdev_ops | 4096-ptr_max |
| CAPPED_DATA | 0 | nb | 1 |
| DATA_SOURCE | 0 | nb | $0 |
| DATA_SOURCE | 2 | dev | $1 |
| BIT_INFO | 2 | dev->flags | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev.c call_netdevice_unregister_notifiers() -> call_netdevice_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 10 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->flags | 1-u32max |
| PARAM_VALUE | 2 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | dev->netdev_ops | 4096-ptr_max |
| CAPPED_DATA | 0 | nb | 1 |
| DATA_SOURCE | 0 | nb | $0 |
| DATA_SOURCE | 2 | dev | $1 |
| BIT_INFO | 2 | dev->flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev.c call_netdevice_unregister_notifiers() -> call_netdevice_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 2 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | dev->flags | 1-u32max |
| PARAM_VALUE | 2 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | dev->netdev_ops | 4096-ptr_max |
| CAPPED_DATA | 0 | nb | 1 |
| DATA_SOURCE | 0 | nb | $0 |
| DATA_SOURCE | 2 | dev | $1 |
| BIT_INFO | 2 | dev->flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/dev.c call_netdevice_unregister_notifiers() -> call_netdevice_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 1 | val | 6 |
| PARAM_VALUE | 2 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | nb | 1 |
| DATA_SOURCE | 0 | nb | $0 |
| DATA_SOURCE | 2 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &pernet_ops_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |