Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/realtek/8139cp.c cp_alloc_rings() -> cp_init_rings()

Type Parameter Key Value
PARAM_VALUE 0 cp 4096-ptr_max
PARAM_VALUE 0 cp->pdev 4096-ptr_max
PARAM_VALUE 0 cp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 cp->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 cp->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 cp->pdev->dev.cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cp->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 cp->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cp->pdev->dev.dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 cp->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 cp->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 cp->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 cp->pdev->dev.dma_uses_io_tlb 1
PARAM_VALUE 0 cp->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 cp->pdev->dev.iommu->pci_32bit_workaround 0
PARAM_VALUE 0 cp->rx_ring 4096-ptr_max
PARAM_VALUE 0 cp->tx_ring 4096-ptr_max
BUF_SIZE 0 cp->rx_ring 2112
BUF_SIZE 0 cp->tx_ring 1088
DATA_SOURCE 0 cp $0
BIT_INFO 0 cp->msg_enable 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/realtek/8139cp.c cp_tx_timeout() -> cp_init_rings()

Type Parameter Key Value
PARAM_VALUE 0 cp 4096-ptr_max
PARAM_VALUE 0 cp->dev 4096-ptr_max
PARAM_VALUE 0 cp->rx_ring->addr 0
PARAM_VALUE 0 cp->rx_ring->opts1 0
PARAM_VALUE 0 cp->rx_ring->opts2 0
PARAM_VALUE 0 cp->rx_tail 0
PARAM_VALUE 0 cp->tx_head 0
PARAM_VALUE 0 cp->tx_ring->addr 0
PARAM_VALUE 0 cp->tx_ring->opts1 0
PARAM_VALUE 0 cp->tx_ring->opts2 0
PARAM_VALUE 0 cp->tx_tail 0
PARAM_VALUE 0 *cp->dev->name 0-255
PARAM_VALUE 0 *cp->tx_opts 0-4294967295
CAPPED_DATA 0 cp->dev->num_tx_queues 1
BIT_INFO 0 cp->msg_enable 0x0,0xffffffff
MEM_ZERO 0 cp->rx_ring
MEM_ZERO 0 cp->rx_skb
MEM_ZERO 0 cp->tx_opts
MEM_ZERO 0 cp->tx_ring
MEM_ZERO 0 cp->tx_skb
PREEMPT_ADD <- disables preempt
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &cp->lock
HALF_LOCKED2 &dev->tx_global_lock
TYPE_LOCK (struct cp_private)->lock