Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/broadcom/tg3.c tg3_change_mtu() -> tg3_netif_start()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->dev 4096-ptr_max
PARAM_VALUE 0 tp->dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 tp->dev->link_watch_list.next 4096-ptr_max
PARAM_VALUE 0 tp->dev->linkwatch_dev_tracker 0,4096-ptr_max
PARAM_VALUE 0 tp->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 tp->dev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->hw_stats 0,4096-ptr_max
PARAM_VALUE 0 tp->irq_cnt 0-s32max
PARAM_VALUE 0 tp->irq_max 0-s32max
PARAM_VALUE 0 tp->irq_sync 1
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->pci_clock_ctrl 0-6291487
PARAM_VALUE 0 tp->pdev 4096-ptr_max
PARAM_VALUE 0 tp->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 tp->pdev->is_virtfn 0
PARAM_VALUE 0 tp->tg3_flags 4096-ptr_max
PARAM_VALUE 0 tp->write32 4096-ptr_max
PARAM_VALUE 0 *tp->dev->name 0-255
CAPPED_DATA 0 tp->irq_cnt 1
CAPPED_DATA 0 tp->irq_max 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 tp->pci_clock_ctrl 0-6291487[c]
NO_OVERFLOW_SIMPLE 0 tp->dev->num_tc
LOCK2 &dev->lock
LOCK2 bh
LOCK2 0 &tp->lock
TYPE_LOCK (struct net_device)->lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_io_resume() -> tg3_netif_start()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 tp->dev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->pci_clock_ctrl 0-6291487
PARAM_VALUE 0 tp->pdev 4096-ptr_max
PARAM_VALUE 0 tp->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 tp->tg3_flags 4096-ptr_max
PARAM_VALUE 0 tp->timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 tp->write32 4096-ptr_max
PARAM_VALUE 0 *tp->dev->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 tp->pci_clock_ctrl 0-6291487[c]
NO_OVERFLOW_SIMPLE 0 tp->dev->num_tc
LOCK2 &netdev->lock
LOCK2 bh
LOCK2 global &rtnl_mutex
LOCK2 0 &tp->lock
HALF_LOCKED2 &pdev->dev.mutex
TYPE_LOCK (struct net_device)->lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_reset_task() -> tg3_netif_start()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->dev 4096-ptr_max
PARAM_VALUE 0 tp->dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 tp->dev->ethtool_ops->supported_coalesce_params 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563
PARAM_VALUE 0 tp->dev->lock.dep_map->name 0-255
PARAM_VALUE 0 tp->dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 tp->dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tp->dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 tp->dev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->eee.eee_active 0
PARAM_VALUE 0 tp->eee.eee_enabled 0
PARAM_VALUE 0 tp->eee.tx_lpi_enabled 0
PARAM_VALUE 0 tp->eee.tx_lpi_timer 0
PARAM_VALUE 0 tp->hw_stats 0,4096-ptr_max
PARAM_VALUE 0 tp->hw_stats->COS_rx_filter_dropped.low 0
PARAM_VALUE 0 tp->hw_stats->__reserved1 0
PARAM_VALUE 0 tp->hw_stats->__reserved2 0
PARAM_VALUE 0 tp->hw_stats->__reserved3 0
PARAM_VALUE 0 tp->hw_stats->dma_read_prioq_full.high 0
PARAM_VALUE 0 tp->hw_stats->dma_read_prioq_full.low 0
PARAM_VALUE 0 tp->hw_stats->dma_readq_full.high 0
PARAM_VALUE 0 tp->hw_stats->dma_readq_full.low 0
PARAM_VALUE 0 tp->hw_stats->dma_write_prioq_full.high 0
PARAM_VALUE 0 tp->hw_stats->dma_write_prioq_full.low 0
PARAM_VALUE 0 tp->hw_stats->dma_writeq_full.high 0
PARAM_VALUE 0 tp->hw_stats->dma_writeq_full.low 0
PARAM_VALUE 0 tp->hw_stats->mbuf_lwm_thresh_hit.high 0
PARAM_VALUE 0 tp->hw_stats->mbuf_lwm_thresh_hit.low 0
PARAM_VALUE 0 tp->hw_stats->nic_avoided_irqs.high 0
PARAM_VALUE 0 tp->hw_stats->nic_avoided_irqs.low 0
PARAM_VALUE 0 tp->hw_stats->nic_irqs.high 0
PARAM_VALUE 0 tp->hw_stats->nic_irqs.low 0
PARAM_VALUE 0 tp->hw_stats->nic_tx_threshold_hit.high 0
PARAM_VALUE 0 tp->hw_stats->nic_tx_threshold_hit.low 0
PARAM_VALUE 0 tp->hw_stats->ring_status_update.high 0
PARAM_VALUE 0 tp->hw_stats->ring_status_update.low 0
PARAM_VALUE 0 tp->hw_stats->rx_align_errors.high 0
PARAM_VALUE 0 tp->hw_stats->rx_align_errors.low 0
PARAM_VALUE 0 tp->hw_stats->rx_bcast_packets.high 0
PARAM_VALUE 0 tp->hw_stats->rx_bcast_packets.low 0
PARAM_VALUE 0 tp->hw_stats->rx_discards.high 0
PARAM_VALUE 0 tp->hw_stats->rx_discards.low 0
PARAM_VALUE 0 tp->hw_stats->rx_errors.high 0
PARAM_VALUE 0 tp->hw_stats->rx_errors.low 0
PARAM_VALUE 0 tp->hw_stats->rx_fcs_errors.high 0
PARAM_VALUE 0 tp->hw_stats->rx_fcs_errors.low 0
PARAM_VALUE 0 tp->hw_stats->rx_fragments.high 0
PARAM_VALUE 0 tp->hw_stats->rx_fragments.low 0
PARAM_VALUE 0 tp->hw_stats->rx_in_length_errors.high 0
PARAM_VALUE 0 tp->hw_stats->rx_in_length_errors.low 0
PARAM_VALUE 0 tp->hw_stats->rx_jabbers.high 0
PARAM_VALUE 0 tp->hw_stats->rx_jabbers.low 0
PARAM_VALUE 0 tp->hw_stats->rx_mac_ctrl_rcvd.high 0
PARAM_VALUE 0 tp->hw_stats->rx_mac_ctrl_rcvd.low 0
PARAM_VALUE 0 tp->hw_stats->rx_mcast_packets.high 0
PARAM_VALUE 0 tp->hw_stats->rx_mcast_packets.low 0
PARAM_VALUE 0 tp->hw_stats->rx_octets.high 0
PARAM_VALUE 0 tp->hw_stats->rx_octets.low 0
PARAM_VALUE 0 tp->hw_stats->rx_out_length_errors.high 0
PARAM_VALUE 0 tp->hw_stats->rx_out_length_errors.low 0
PARAM_VALUE 0 tp->hw_stats->rx_threshold_hit.high 0
PARAM_VALUE 0 tp->hw_stats->rx_threshold_hit.low 0
PARAM_VALUE 0 tp->hw_stats->rx_ucast_packets.high 0
PARAM_VALUE 0 tp->hw_stats->rx_ucast_packets.low 0
PARAM_VALUE 0 tp->hw_stats->rx_undersize_packets.high 0
PARAM_VALUE 0 tp->hw_stats->rx_undersize_packets.low 0
PARAM_VALUE 0 tp->hw_stats->rx_xoff_entered.high 0
PARAM_VALUE 0 tp->hw_stats->rx_xoff_entered.low 0
PARAM_VALUE 0 tp->hw_stats->rx_xoff_pause_rcvd.high 0
PARAM_VALUE 0 tp->hw_stats->rx_xoff_pause_rcvd.low 0
PARAM_VALUE 0 tp->hw_stats->rx_xon_pause_rcvd.high 0
PARAM_VALUE 0 tp->hw_stats->rx_xon_pause_rcvd.low 0
PARAM_VALUE 0 tp->hw_stats->rxbds_empty.high 0
PARAM_VALUE 0 tp->hw_stats->rxbds_empty.low 0
PARAM_VALUE 0 tp->hw_stats->tx_bcast_packets.high 0
PARAM_VALUE 0 tp->hw_stats->tx_bcast_packets.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_10times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_10times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_11times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_11times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_12times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_12times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_13times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_13times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_14times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_14times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_15times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_15times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_2times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_2times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_3times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_3times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_4times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_4times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_5times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_5times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_6times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_6times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_7times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_7times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_8times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_8times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_9times.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collide_9times.low 0
PARAM_VALUE 0 tp->hw_stats->tx_collisions.high 0
PARAM_VALUE 0 tp->hw_stats->tx_collisions.low 0
PARAM_VALUE 0 tp->hw_stats->tx_comp_queue_full.high 0
PARAM_VALUE 0 tp->hw_stats->tx_comp_queue_full.low 0
PARAM_VALUE 0 tp->hw_stats->tx_deferred.high 0
PARAM_VALUE 0 tp->hw_stats->tx_deferred.low 0
PARAM_VALUE 0 tp->hw_stats->tx_discards.high 0
PARAM_VALUE 0 tp->hw_stats->tx_discards.low 0
PARAM_VALUE 0 tp->hw_stats->tx_errors.high 0
PARAM_VALUE 0 tp->hw_stats->tx_errors.low 0
PARAM_VALUE 0 tp->hw_stats->tx_flow_control.high 0
PARAM_VALUE 0 tp->hw_stats->tx_flow_control.low 0
PARAM_VALUE 0 tp->hw_stats->tx_late_collisions.high 0
PARAM_VALUE 0 tp->hw_stats->tx_late_collisions.low 0
PARAM_VALUE 0 tp->hw_stats->tx_mac_errors.high 0
PARAM_VALUE 0 tp->hw_stats->tx_mac_errors.low 0
PARAM_VALUE 0 tp->hw_stats->tx_mcast_packets.high 0
PARAM_VALUE 0 tp->hw_stats->tx_mcast_packets.low 0
PARAM_VALUE 0 tp->hw_stats->tx_mult_collisions.high 0
PARAM_VALUE 0 tp->hw_stats->tx_mult_collisions.low 0
PARAM_VALUE 0 tp->hw_stats->tx_octets.high 0
PARAM_VALUE 0 tp->hw_stats->tx_octets.low 0
PARAM_VALUE 0 tp->hw_stats->tx_single_collisions.high 0
PARAM_VALUE 0 tp->hw_stats->tx_single_collisions.low 0
PARAM_VALUE 0 tp->hw_stats->tx_ucast_packets.high 0
PARAM_VALUE 0 tp->hw_stats->tx_ucast_packets.low 0
PARAM_VALUE 0 tp->hw_stats->tx_xoff_sent.high 0
PARAM_VALUE 0 tp->hw_stats->tx_xoff_sent.low 0
PARAM_VALUE 0 tp->hw_stats->tx_xon_sent.high 0
PARAM_VALUE 0 tp->hw_stats->tx_xon_sent.low 0
PARAM_VALUE 0 tp->indirect_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->irq_cnt 0-s32max
PARAM_VALUE 0 tp->irq_max 0-s32max
PARAM_VALUE 0 tp->irq_sync 1
PARAM_VALUE 0 tp->link_config.advertising 0-2047
PARAM_VALUE 0 tp->link_config.autoneg 0-1
PARAM_VALUE 0 tp->link_config.duplex 0-1
PARAM_VALUE 0 tp->link_config.flowctrl 0-3
PARAM_VALUE 0 tp->link_config.speed 10,100,1000
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->pci_clock_ctrl 0-6291487
PARAM_VALUE 0 tp->pcierr_recovery 0
PARAM_VALUE 0 tp->pdev 4096-ptr_max
PARAM_VALUE 0 tp->pdev->error_state 1
PARAM_VALUE 0 tp->pdev->is_virtfn 0
PARAM_VALUE 0 tp->phy_flags 0,8-u32max
PARAM_VALUE 0 tp->tg3_flags 4096-ptr_max
PARAM_VALUE 0 tp->write32 4096-ptr_max
PARAM_VALUE 0 *tp->dev->name 0-255
CAPPED_DATA 0 tp->irq_cnt 1
CAPPED_DATA 0 tp->irq_max 1
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 bh
LOCK2 global &rtnl_mutex
LOCK2 0 &tp->dev->lock
LOCK2 0 &tp->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct net_device)->lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_resume() -> tg3_netif_start()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 tp->dev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->pci_clock_ctrl 0-6291487
PARAM_VALUE 0 tp->pdev 4096-ptr_max
PARAM_VALUE 0 tp->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 tp->tg3_flags 4096-ptr_max
PARAM_VALUE 0 tp->timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 tp->write32 4096-ptr_max
PARAM_VALUE 0 *tp->dev->name 0-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 tp->pci_clock_ctrl 0-6291487[c]
NO_OVERFLOW_SIMPLE 0 tp->dev->num_tc
LOCK2 &dev->lock
LOCK2 bh
LOCK2 global &rtnl_mutex
LOCK2 0 &tp->lock
TYPE_LOCK (struct net_device)->lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_set_pauseparam() -> tg3_netif_start()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->dev 4096-ptr_max
PARAM_VALUE 0 tp->dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 tp->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 tp->hw_stats 0,4096-ptr_max
PARAM_VALUE 0 tp->irq_cnt 0-s32max
PARAM_VALUE 0 tp->irq_max 0-s32max
PARAM_VALUE 0 tp->irq_sync 1
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->pci_clock_ctrl 0-6291487
PARAM_VALUE 0 tp->pdev 4096-ptr_max
PARAM_VALUE 0 tp->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 tp->pdev->is_virtfn 0
PARAM_VALUE 0 tp->tg3_flags 4096-ptr_max
PARAM_VALUE 0 tp->write32 4096-ptr_max
PARAM_VALUE 0 *tp->dev->name 0-255
CAPPED_DATA 0 tp->irq_cnt 1
CAPPED_DATA 0 tp->irq_max 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 tp->pci_clock_ctrl 0-6291487[c]
NO_OVERFLOW_SIMPLE 0 tp->dev->num_tc
LOCK2 &dev->lock
LOCK2 bh
LOCK2 0 &tp->lock
TYPE_LOCK (struct net_device)->lock
TYPE_LOCK (struct tg3)->lock

drivers/net/ethernet/broadcom/tg3.c tg3_set_ringparam() -> tg3_netif_start()

Type Parameter Key Value
PARAM_VALUE 0 tp 4096-ptr_max
PARAM_VALUE 0 tp->dev 4096-ptr_max
PARAM_VALUE 0 tp->dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 tp->dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 tp->hw_stats 0,4096-ptr_max
PARAM_VALUE 0 tp->irq_cnt 0-s32max
PARAM_VALUE 0 tp->irq_max 0-s32max
PARAM_VALUE 0 tp->irq_sync 1
PARAM_VALUE 0 tp->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tp->pci_clock_ctrl 0-6291487
PARAM_VALUE 0 tp->pdev 4096-ptr_max
PARAM_VALUE 0 tp->pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 tp->pdev->is_virtfn 0
PARAM_VALUE 0 tp->rx_pending 0,63
PARAM_VALUE 0 tp->tg3_flags 4096-ptr_max
PARAM_VALUE 0 tp->write32 4096-ptr_max
PARAM_VALUE 0 *tp->dev->name 0-255
CAPPED_DATA 0 tp->irq_cnt 1
CAPPED_DATA 0 tp->irq_max 1
FUZZY_MAX 0 tp->rx_pending 63
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 tp->pci_clock_ctrl 0-6291487[c]
USER_DATA 0 tp->rx_jumbo_pending 0
USER_DATA 0 tp->rx_pending 0
NO_OVERFLOW_SIMPLE 0 tp->dev->num_tc
LOCK2 &dev->lock
LOCK2 bh
LOCK2 0 &tp->lock
TYPE_LOCK (struct net_device)->lock
TYPE_LOCK (struct tg3)->lock