Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/cisco/enic/enic_main.c enic_reset() -> enic_set_api_busy()

Type Parameter Key Value
PARAM_VALUE 0 enic 4096-ptr_max
PARAM_VALUE 0 enic->netdev 4096-ptr_max
PARAM_VALUE 1 busy 1
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cisco/enic/enic_main.c enic_reset() -> enic_set_api_busy()

Type Parameter Key Value
PARAM_VALUE 0 enic 4096-ptr_max
PARAM_VALUE 0 enic->devcmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->enic_api_busy 1
PARAM_VALUE 0 enic->enic_api_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->ext_cq 0-31,u32max
PARAM_VALUE 0 enic->flags 0
PARAM_VALUE 0 enic->mc_count 0
PARAM_VALUE 0 enic->netdev 4096-ptr_max
PARAM_VALUE 0 enic->netdev->priv->devcmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->enable_count 0-4294967295
PARAM_VALUE 0 enic->netdev->priv->macvlan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->macvlan_task.cpu s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->macvlan_task.timer.flags 0-4294967295
PARAM_VALUE 0 enic->netdev->priv->notify_timer.flags 0-4194302
PARAM_VALUE 0 enic->netdev->priv->rfs_h.free s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->rfs_h.rfs_may_expire.flags 0-4194302
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 enic->netdev->priv->vdev->devcmd2->color 0-1
PARAM_VALUE 0 enic->netdev->priv->vdev->devcmd2->next_result 0-u16max
PARAM_VALUE 0 enic->netdev->priv->vdev->devcmd2->posted 0-4294967295
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 enic->netdev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 enic->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 enic->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 enic->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 enic->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 enic->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 enic->uc_count 0
PARAM_VALUE 0 enic->vdev 4096-ptr_max
PARAM_VALUE 0 enic->vdev->devcmd_rtn 4096-ptr_max
PARAM_VALUE 0 enic->vdev->proxy 0
PARAM_VALUE 0 *enic->netdev->name 0-255
PARAM_VALUE 0 *enic->rss_key 0-255
PARAM_VALUE 1 busy 0
CAPPED_DATA 0 enic->cq_count 1
CAPPED_DATA 0 enic->intr_count 1
CAPPED_DATA 0 enic->netdev->num_tx_queues 1
CAPPED_DATA 0 enic->rq_count 1
CAPPED_DATA 0 enic->wq_count 1
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cisco/enic/enic_main.c enic_tx_hang_reset() -> enic_set_api_busy()

Type Parameter Key Value
PARAM_VALUE 0 enic 4096-ptr_max
PARAM_VALUE 1 busy 1
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/cisco/enic/enic_main.c enic_tx_hang_reset() -> enic_set_api_busy()

Type Parameter Key Value
PARAM_VALUE 0 enic 4096-ptr_max
PARAM_VALUE 0 enic->devcmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->enic_api_busy 1
PARAM_VALUE 0 enic->enic_api_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->ext_cq 0-31,u32max
PARAM_VALUE 0 enic->flags 0
PARAM_VALUE 0 enic->mc_count 0
PARAM_VALUE 0 enic->netdev 4096-ptr_max
PARAM_VALUE 0 enic->netdev->priv->devcmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->enable_count 0-4294967295
PARAM_VALUE 0 enic->netdev->priv->macvlan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->macvlan_task.cpu s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->macvlan_task.timer.flags 0-4294967295
PARAM_VALUE 0 enic->netdev->priv->notify_timer.flags 0-4194302
PARAM_VALUE 0 enic->netdev->priv->rfs_h.free s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->rfs_h.rfs_may_expire.flags 0-4194302
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->sparx5->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 enic->netdev->priv->vdev->devcmd2->color 0-1
PARAM_VALUE 0 enic->netdev->priv->vdev->devcmd2->next_result 0-u16max
PARAM_VALUE 0 enic->netdev->priv->vdev->devcmd2->posted 0-4294967295
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 enic->netdev->priv->vdev->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 enic->netdev->tx_global_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 enic->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 enic->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 enic->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 enic->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 enic->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 enic->pdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 enic->pdev->dev.iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 enic->uc_count 0
PARAM_VALUE 0 enic->vdev 4096-ptr_max
PARAM_VALUE 0 enic->vdev->devcmd_rtn 4096-ptr_max
PARAM_VALUE 0 enic->vdev->proxy 0
PARAM_VALUE 0 *enic->netdev->name 0-255
PARAM_VALUE 0 *enic->rss_key 0-255
PARAM_VALUE 1 busy 0
CAPPED_DATA 0 enic->cq_count 1
CAPPED_DATA 0 enic->intr_count 1
CAPPED_DATA 0 enic->netdev->num_tx_queues 1
CAPPED_DATA 0 enic->rq_count 1
CAPPED_DATA 0 enic->wq_count 1
NOCHECK_CALL
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &pool->lock