Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/bonding/bond_main.c __bond_release_one() -> netdev_has_upper_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 1 upper_dev 4096-ptr_max
PARAM_VALUE 1 upper_dev->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 1 upper_dev->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 upper_dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 upper_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 upper_dev->ip6_ptr->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 1 upper_dev->netdev_ops->ndo_del_slave 0,4188424553528614912,4729938391940333568,5387588324921257984,5687942034094653440,7973297224058761216,8884156673750904832
PARAM_VALUE 1 upper_dev->netdev_ops->ndo_init 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->netdev_ops->ndo_siocbond 0,3142037727159255040
PARAM_VALUE 1 upper_dev->netdev_ops->ndo_uninit 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->queues_kset->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 1 upper_dev->rtnl_link_ops->alloc 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->changelink 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->dellink 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->fill_info 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->fill_xstats 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->get_link_net 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->get_size 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->get_slave_size 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->kind 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->maxtype 0-6,8-10,15-16,18,20,22,24,33-34,50
PARAM_VALUE 1 upper_dev->rtnl_link_ops->newlink 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->peer_type 0-1
PARAM_VALUE 1 upper_dev->rtnl_link_ops->policy 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->setup 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->slave_maxtype 0,12,45
PARAM_VALUE 1 upper_dev->rtnl_link_ops->slave_policy 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->validate 0,4096-ptr_max
PARAM_VALUE 1 *upper_dev->name 0-255
BUF_SIZE 0 dev->nd_net.net (-1),10304,10432
BUF_SIZE 1 upper_dev->name_node (-1),64
BUF_SIZE 1 upper_dev->name_node->name (-1),16
CAPPED_DATA 1 upper_dev 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 upper_dev $0
BIT_INFO 0 dev->flags 0x800,0xffffffff
NOSPEC 0 dev->flags
NOSPEC 0 dev->ifindex
RX_PATH
TASK_NOT_RUNNING
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 upper_dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 1 upper_dev->real_num_tx_queues
UNITS 0 dev unit_byte
UNITS 1 upper_dev unit_byte
HALF_LOCKED2 1 &upper_dev->lock

drivers/net/team/team_core.c team_port_add() -> netdev_has_upper_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 upper_dev 4096-ptr_max
PARAM_VALUE 1 upper_dev->dev.parent->iommu->attach_deferred 0-1
PARAM_VALUE 1 upper_dev->lock.dep_map->name 0-255
PARAM_VALUE 1 upper_dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 upper_dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 upper_dev->lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 1 upper_dev->netdev_ops 4096-ptr_max
PARAM_VALUE 1 upper_dev->netdev_ops->ndo_set_config 0,1586268954384080896,2133952100825280512,4430316855586635776
PARAM_VALUE 1 upper_dev->rtnl_link_ops->alloc 0,1182153660833808384,3130032447137456128
PARAM_VALUE 1 upper_dev->rtnl_link_ops->get_num_rx_queues 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912
PARAM_VALUE 1 upper_dev->rtnl_link_ops->get_num_tx_queues 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912
PARAM_VALUE 1 upper_dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 1 upper_dev->rtnl_link_ops->peer_type 0-1
PARAM_VALUE 1 upper_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 1 upper_dev->rtnl_link_ops->setup 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->rtnl_link_ops->validate 0,4096-ptr_max
PARAM_VALUE 1 upper_dev->work_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 upper_dev->work_tracker->dead 0-1
PARAM_VALUE 1 upper_dev->work_tracker->free_stack_handle 0-4294967295
BUF_SIZE 1 upper_dev->nd_net.net (-1),10304,10432
CAPPED_DATA 1 upper_dev->nd_net.net 1
DATA_SOURCE 0 dev r netdev_from_priv
DATA_SOURCE 1 upper_dev $1
PARAM_COMPARE 0 dev != $1
PARAM_COMPARE 0 dev != $1
PARAM_COMPARE 1 upper_dev != $0
BIT_INFO 1 upper_dev->flags 0x0,0xfffffff7
NOSPEC 1 upper_dev->flags
NOSPEC 1 upper_dev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 upper_dev->flags 0-525824[c]
USER_DATA 1 upper_dev->ifindex 0-s32max[c]
NO_OVERFLOW_SIMPLE 1 upper_dev->group
NO_OVERFLOW_SIMPLE 1 upper_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_add() -> netdev_has_upper_dev()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
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->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->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 upper_dev 4096-ptr_max
BUF_SIZE 0 dev->nd_net.net (-1),10304,10432
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $1
DATA_SOURCE 1 upper_dev r netdev_from_priv
PARAM_COMPARE 0 dev != $1
PARAM_COMPARE 1 upper_dev != $0
PARAM_COMPARE 1 upper_dev != $0
BIT_INFO 0 dev->flags 0x0,0xfffffff7
NOSPEC 0 dev->flags
NOSPEC 0 dev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dev->flags 0-525824[c]
USER_DATA 0 dev->ifindex 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