Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/8021q/vlan_dev.c
- net/core/dev.c, line 9866
- net/core/dev_api.c, line 68
- net/core/rtnetlink.c, line 3266
Smatch caller information:
net/8021q/vlan_dev.c vlan_dev_work() -> netif_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_work | 4222982197278961664 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dev->work_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | dev->work_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 2 | extack | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 1 | flags | 0x1,0xffffffff |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/8021q/vlan_dev.c vlan_dev_work() -> netif_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_work | 4222982197278961664 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | dev->work_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | dev->work_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 1 | flags | 0,2-u32max |
| PARAM_VALUE | 2 | extack | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 1 | flags | 0x0,0xfffffffe |
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &pool->lock |
net/core/dev_api.c dev_change_flags() -> netif_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 0,1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->alloc | 0,1182153660833808384,3130032447137456128 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_rx_queues | 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_tx_queues | 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 2 | extack->bad_attr | 0,4096-ptr_max |
| PARAM_VALUE | 2 | extack->cookie_len | 0 |
| PARAM_VALUE | 2 | extack->miss_nest | 0 |
| PARAM_VALUE | 2 | extack->miss_type | 0 |
| PARAM_VALUE | 2 | extack->policy | 0 |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432 |
| BUF_SIZE | 0 | dev->rtnl_link_ops | (-1),288 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| DATA_SOURCE | 2 | extack | $2 |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-527361[c] |
| USER_DATA | 0 | dev->ifindex | s32min-s32max |
| USER_DATA | 0 | dev->mtu | 0-s32max[c] |
| USER_DATA | 1 | flags | 0-u32max |
| 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->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| UNITS | 0 | dev | unit_byte |
| USER_PTR | 0 | dev->name | |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &port->pnodes_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/rtnetlink.c do_setlink() -> netif_change_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 0,1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 2 | extack | 4971238048455385088 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 2 | extack | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flags | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| 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 |