Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
- drivers/net/bonding/bond_main.c
- drivers/net/net_failover.c, line 603
- drivers/net/team/team_core.c
- net/8021q/vlan_core.c, line 449
- net/hsr/hsr_slave.c, line 246
Smatch caller information:
net/hsr/hsr_slave.c hsr_del_port() -> vlan_vids_del_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-s64max |
| PARAM_VALUE | 0 | dev->rx_handler | 0 |
| PARAM_VALUE | 0 | dev->rx_handler_data | 0 |
| PARAM_VALUE | 1 | by_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | by_dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | by_dev->udp_tunnel_nic->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | *by_dev->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/bonding/bond_main.c __bond_release_one() -> vlan_vids_del_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 2048-u32max |
| 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 | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_handler | 0 |
| PARAM_VALUE | 0 | dev->rx_handler_data | 0 |
| PARAM_VALUE | 1 | by_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->dev.dma_io_tlb_mem->phys_limit | 0-s64max |
| PARAM_VALUE | 1 | by_dev->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | by_dev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | by_dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | by_dev->ip6_ptr->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 1 | by_dev->netdev_ops->ndo_del_slave | 0,4188424553528614912,4729938391940333568,5387588324921257984,5687942034094653440,7973297224058761216,8884156673750904832 |
| PARAM_VALUE | 1 | by_dev->netdev_ops->ndo_init | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->netdev_ops->ndo_siocbond | 0,3142037727159255040 |
| PARAM_VALUE | 1 | by_dev->netdev_ops->ndo_uninit | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->priv->current_arp_slave | 0 |
| PARAM_VALUE | 1 | by_dev->priv->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->priv->dev->gso_max_segs | 0-65534 |
| PARAM_VALUE | 1 | by_dev->priv->dev->gso_max_size | 0-4294967294 |
| PARAM_VALUE | 1 | by_dev->priv->dev->hard_header_len | 14-u16max |
| PARAM_VALUE | 1 | by_dev->priv->dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->priv->dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->priv->dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->priv->dev->tso_max_size | 0-524280 |
| PARAM_VALUE | 1 | by_dev->priv->dev->udp_tunnel_nic->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | by_dev->priv->dev->udp_tunnel_nic->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | by_dev->priv->dev->udp_tunnel_nic->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | by_dev->priv->dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | by_dev->priv->dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | by_dev->priv->dev->udp_tunnel_nic->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | by_dev->priv->dev->udp_tunnel_nic->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | by_dev->queues_kset->kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->alloc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->changelink | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->dellink | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->fill_info | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->fill_xstats | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->get_link_net | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->get_size | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->get_slave_size | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->kind | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->maxtype | 0-6,8-10,15-16,18,20,22,24,33-34,50 |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->newlink | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->policy | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->slave_maxtype | 0,12,45 |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->slave_policy | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 1 | *by_dev->name | 0 |
| PARAM_VALUE | 1 | *by_dev->priv->dev->name | 0-255 |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432 |
| BUF_SIZE | 1 | by_dev->name_node | (-1),64 |
| BUF_SIZE | 1 | by_dev->name_node->name | (-1),16 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 1 | by_dev | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 1 | by_dev | $0 |
| BIT_INFO | 0 | dev->flags | 0x800,0xffffffffffffffff |
| NOSPEC | 0 | dev->flags | |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dev->flags | 2048-525824[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 1 | by_dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | by_dev->real_num_tx_queues | |
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | by_dev | unit_byte |
| HALF_LOCKED2 | 1 | &by_dev->lock |
drivers/net/team/team_core.c team_port_add() -> vlan_vids_del_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->addr_len | 0-255 |
| PARAM_VALUE | 0 | dev->addr_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->dev.parent->iommu->attach_deferred | 0-1 |
| 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->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->task->blocked_on | (-1)-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 | 0 | dev->npinfo->dev_lock.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.first_waiter->up | 1 |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.last_holder | 0 |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->npinfo->dev_lock.lock.raw_lock.val.counter | 0-s32max |
| 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 | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3552,9688-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->up | 1 |
| PARAM_VALUE | 0 | dev->watchdog_dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->watchdog_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->watchdog_ref_held | 1 |
| PARAM_VALUE | 0 | dev->watchdog_timeo | 1-s32max |
| PARAM_VALUE | 0 | dev->watchdog_timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->watchdog_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->watchdog_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->work_node.prev->prev | 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 | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | by_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->header_ops->cache | 0,4002040155852992512,6291592314023907328,9038097620534984704 |
| PARAM_VALUE | 1 | by_dev->header_ops->cache_update | 0,4136776623896797184,7422325842290319360 |
| PARAM_VALUE | 1 | by_dev->header_ops->create | 0,4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->header_ops->parse | 0,836034408504639488,1549207736952049664,2557666104032284672,2873682388240314368,3226767679038275584,4717025337529622528,7964469038492160000 |
| PARAM_VALUE | 1 | by_dev->header_ops->parse_protocol | 0,4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 1 | by_dev->header_ops->validate | 0 |
| PARAM_VALUE | 1 | *by_dev->name | 0 |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432 |
| CAPPED_DATA | 1 | by_dev->vlan_info | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 1 | by_dev | r netdev_from_priv |
| PARAM_COMPARE | 0 | dev | != $1 |
| PARAM_COMPARE | 1 | by_dev | != $0 |
| PARAM_COMPARE | 1 | by_dev | != $0 |
| NOSPEC | 0 | dev->flags | |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dev->flags | 0-527362[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| USER_DATA | 0 | dev->mtu | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| 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 |
drivers/net/team/team_core.c team_port_del() -> vlan_vids_del_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 0,1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 0 | dev->priv_flags | 8192-u32max |
| 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 | 0 | dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->setup | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->validate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->rx_handler | 0 |
| PARAM_VALUE | 0 | dev->rx_handler_data | 0 |
| PARAM_VALUE | 1 | by_dev | 4096-ptr_max |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 1 | by_dev | r netdev_from_priv |
| NOSPEC | 0 | dev->flags | |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | dev->flags | 0-527361[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->tx_queue_len | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/net_failover.c net_failover_slave_unregister() -> vlan_vids_del_by_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->dev.kobj.sd->__parent | 0 |
| PARAM_VALUE | 1 | by_dev->perm_addr | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | by_dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 1 | by_dev | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | by_dev | $1 |
| BIT_INFO | 0 | dev->priv_flags | 0x0,0xafffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |