Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/cisco/enic/enic_main.c enic_probe() -> enic_set_mac_addr()

Type Parameter Key Value
PARAM_VALUE 0 netdev->dev.parent 4096-ptr_max
PARAM_VALUE 0 netdev->priv->config.flags 16-u32max
PARAM_VALUE 0 netdev->priv->config.intr_mode 0-2
PARAM_VALUE 0 netdev->priv->config.max_cq_ring 1-u32max
PARAM_VALUE 0 netdev->priv->config.max_rq_ring 1-u32max
PARAM_VALUE 0 netdev->priv->config.max_wq_ring 1-u32max
PARAM_VALUE 0 netdev->priv->config.mtu 68-9000
PARAM_VALUE 0 netdev->priv->config.rq_desc_count 0,32-u32max
PARAM_VALUE 0 netdev->priv->config.wq_desc_count 0,32-u32max
PARAM_VALUE 0 netdev->priv->cq 16,4096-ptr_max
PARAM_VALUE 0 netdev->priv->cq_avail 2-u32max
PARAM_VALUE 0 netdev->priv->cq_count 0-1022
PARAM_VALUE 0 netdev->priv->devcmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 netdev->priv->ext_cq 0-2
PARAM_VALUE 0 netdev->priv->intr 16,4096-ptr_max
PARAM_VALUE 0 netdev->priv->intr_avail 1-s32max
PARAM_VALUE 0 netdev->priv->intr_count 1-s32max
PARAM_VALUE 0 netdev->priv->mac_addr 4096-ptr_max
PARAM_VALUE 0 netdev->priv->msix 16,4096-ptr_max
PARAM_VALUE 0 netdev->priv->msix_entry 16,4096-ptr_max
PARAM_VALUE 0 netdev->priv->napi 16,4096-ptr_max
PARAM_VALUE 0 netdev->priv->netdev->dev.parent 4096-ptr_max
PARAM_VALUE 0 netdev->priv->netdev->lock.dep_map->name 0-255
PARAM_VALUE 0 netdev->priv->netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->priv->netdev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->priv->netdev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 netdev->priv->netdev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 netdev->priv->netdev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 netdev->priv->netdev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 netdev->priv->netdev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 netdev->priv->notify_timer.entry.pprev 0
PARAM_VALUE 0 netdev->priv->notify_timer.flags 0-4194302
PARAM_VALUE 0 netdev->priv->notify_timer.lockdep_map->name 0-255
PARAM_VALUE 0 netdev->priv->pdev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->priv->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->priv->pdev->dev.cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 netdev->priv->pdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 netdev->priv->pdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 netdev->priv->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 netdev->priv->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 netdev->priv->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 netdev->priv->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 netdev->priv->pdev->dev.msi.data 1-u64max
PARAM_VALUE 0 netdev->priv->pdev->dev.msi.data->__iter_idx 0-s64max
PARAM_VALUE 0 netdev->priv->pdev->driver 4096-ptr_max
PARAM_VALUE 0 netdev->priv->pdev->msi_enabled 1
PARAM_VALUE 0 netdev->priv->port_mtu 68-9000
PARAM_VALUE 0 netdev->priv->pp 4096-ptr_max
PARAM_VALUE 0 netdev->priv->rfs_h.free 0-u16max
PARAM_VALUE 0 netdev->priv->rfs_h.toclean 0
PARAM_VALUE 0 netdev->priv->rq 16,4096-ptr_max
PARAM_VALUE 0 netdev->priv->rq_avail 1-u32max
PARAM_VALUE 0 netdev->priv->rq_count 0-511
PARAM_VALUE 0 netdev->priv->vdev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->cmd_ring 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->result 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->result_size 32
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.base_addr 0,512-u64max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.base_align 512
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.desc_avail u32max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.desc_count 0,32-u32max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.desc_size 16,32,64,128
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.descs 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.descs_unaligned 1-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.size 0-u32max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->results_ring.size_unaligned 512-4294967807
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ctrl 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.base_addr 0,512-u64max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.base_align 512
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.desc_avail u32max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.desc_count 0,32-u32max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.desc_size 16,32,64,128
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.descs 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.descs_unaligned 1-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.size 0-u32max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.ring.size_unaligned 512-4294967807
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq.vdev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->wq_ctrl 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd_rtn 1203769037407506432,2692452537498189824
PARAM_VALUE 0 netdev->priv->vdev->intr_mode 1-3
PARAM_VALUE 0 netdev->priv->vdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->priv->vdev->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->priv->vdev->pdev->dev.cma_area->alloc_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 netdev->priv->vdev->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 netdev->priv->vdev->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 netdev->priv->vdev->pdev->is_busmaster 1
PARAM_VALUE 0 netdev->priv->wq 16,4096-ptr_max
PARAM_VALUE 0 netdev->priv->wq_avail 1-u32max
PARAM_VALUE 0 netdev->priv->wq_count 0-511
PARAM_VALUE 0 *netdev->prio_tc_map 0-255
PARAM_VALUE 0 *netdev->priv->mac_addr 0-255
PARAM_VALUE 0 *netdev->priv->netdev->name 0-255
PARAM_VALUE 0 *netdev->priv->rss_key 0-255
PARAM_VALUE 1 addr 4096-ptr_max
BUF_SIZE 0 netdev->dev.parent 1616
BUF_SIZE 1 addr 6
DATA_SOURCE 0 netdev r alloc_etherdev_mqs
FUZZY_MAX 0 netdev->priv->wq_count 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 netdev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 netdev->real_num_tx_queues

drivers/net/ethernet/cisco/enic/enic_main.c enic_set_mac_address() -> enic_set_mac_addr()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->rxfh_max_num_contexts 0,2,8,16,33
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 netdev->netdev_ops->ndo_set_config 0,1586268954384080896,2133952100825280512,4430316855586635776
PARAM_VALUE 0 netdev->netdev_ops->ndo_set_mac_address 1-u64max
PARAM_VALUE 0 netdev->priv->devcmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 netdev->priv->netdev 4096-ptr_max
PARAM_VALUE 0 netdev->priv->netdev->dev_addr 4096-ptr_max
PARAM_VALUE 0 netdev->priv->vdev->devcmd2->color 0-1
PARAM_VALUE 0 netdev->priv->vdev->proxy 0-2
PARAM_VALUE 0 netdev->rtnl_link_ops->alloc 0,1182153660833808384,3130032447137456128
PARAM_VALUE 0 netdev->rtnl_link_ops->get_num_rx_queues 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912
PARAM_VALUE 0 netdev->rtnl_link_ops->get_num_tx_queues 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912
PARAM_VALUE 0 netdev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 netdev->rtnl_link_ops->peer_type 0-1
BUF_SIZE 0 netdev->nd_net.net (-1),10304
BUF_SIZE 1 addr 14
BUF_SIZE 1 addr 14
CAPPED_DATA 0 netdev->addr_len 1
CAPPED_DATA 0 netdev->type 1
DATA_SOURCE 0 netdev $0
NOSPEC 0 netdev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 netdev->flags 0-527362[c]
USER_DATA 0 netdev->ifindex 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 netdev->group
NO_OVERFLOW_SIMPLE 0 netdev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 netdev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 netdev->num_tc
NO_OVERFLOW_SIMPLE 0 netdev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 netdev->proto_down
NO_OVERFLOW_SIMPLE 0 netdev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 netdev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 netdev->tx_queue_len
HALF_LOCKED2 global &dev_addr_sem
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/cisco/enic/enic_main.c enic_set_mac_address_dynamic() -> enic_set_mac_addr()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->rxfh_max_num_contexts 0,2,8,16,33
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 netdev->netdev_ops->ndo_set_config 0,1586268954384080896,2133952100825280512,4430316855586635776
PARAM_VALUE 0 netdev->netdev_ops->ndo_set_mac_address 1-u64max
PARAM_VALUE 0 netdev->priv->netdev 4096-ptr_max
PARAM_VALUE 0 netdev->rtnl_link_ops->alloc 0,1182153660833808384,3130032447137456128
PARAM_VALUE 0 netdev->rtnl_link_ops->get_num_rx_queues 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912
PARAM_VALUE 0 netdev->rtnl_link_ops->get_num_tx_queues 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912
PARAM_VALUE 0 netdev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 netdev->rtnl_link_ops->peer_type 0-1
BUF_SIZE 0 netdev->nd_net.net (-1),10304
BUF_SIZE 1 addr 14
BUF_SIZE 1 addr 14
CAPPED_DATA 0 netdev->addr_len 1
CAPPED_DATA 0 netdev->type 1
DATA_SOURCE 0 netdev $0
NOSPEC 0 netdev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 netdev->flags 0-527362[c]
USER_DATA 0 netdev->ifindex 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 netdev->group
NO_OVERFLOW_SIMPLE 0 netdev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 netdev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 netdev->num_tc
NO_OVERFLOW_SIMPLE 0 netdev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 netdev->proto_down
NO_OVERFLOW_SIMPLE 0 netdev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 netdev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 netdev->tx_queue_len
HALF_LOCKED2 global &dev_addr_sem
HALF_LOCKED2 global &rtnl_mutex