Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_open() -> pch_gbe_free_rx_resources()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->hw.mac.addr 4096-ptr_max
PARAM_VALUE 0 adapter->hw.miim_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 adapter->pdev->msix_base 0
PARAM_VALUE 0 adapter->rx_ring 4096-ptr_max
PARAM_VALUE 0 adapter->rx_ring->buffer_info 1-u64max
PARAM_VALUE 0 adapter->rx_ring->count 0-s32max
PARAM_VALUE 0 adapter->rx_ring->desc 1-ptr_max
PARAM_VALUE 0 adapter->rx_ring->next_to_clean 0
PARAM_VALUE 0 adapter->rx_ring->next_to_use 0
PARAM_VALUE 0 adapter->rx_ring->rx_buff_pool 0
PARAM_VALUE 0 adapter->rx_ring->rx_buff_pool_logic 0
PARAM_VALUE 0 adapter->rx_ring->rx_buff_pool_size 0
PARAM_VALUE 0 adapter->tx_ring 4096-ptr_max
PARAM_VALUE 0 adapter->tx_ring->buffer_info 1-u64max
PARAM_VALUE 0 adapter->tx_ring->count 0-s32max
PARAM_VALUE 0 adapter->tx_ring->desc 1-ptr_max
PARAM_VALUE 0 adapter->tx_ring->next_to_clean 0
PARAM_VALUE 0 adapter->tx_ring->next_to_use 0
PARAM_VALUE 0 *adapter->netdev->name 0
PARAM_VALUE 1 rx_ring 4096-ptr_max
PARAM_VALUE 1 rx_ring->buffer_info 1-u64max
PARAM_VALUE 1 rx_ring->count 0-s32max
PARAM_VALUE 1 rx_ring->desc 1-ptr_max
PARAM_VALUE 1 rx_ring->desc->buffer_addr 0
PARAM_VALUE 1 rx_ring->desc->dma_status 0
PARAM_VALUE 1 rx_ring->desc->gbec_status 0
PARAM_VALUE 1 rx_ring->desc->reserved1 0
PARAM_VALUE 1 rx_ring->desc->reserved2 0
PARAM_VALUE 1 rx_ring->desc->rx_words_eob 0
PARAM_VALUE 1 rx_ring->desc->tcp_ip_status 0
PARAM_VALUE 1 rx_ring->next_to_clean 0
PARAM_VALUE 1 rx_ring->next_to_use 0
PARAM_VALUE 1 rx_ring->rx_buff_pool 0
PARAM_VALUE 1 rx_ring->rx_buff_pool_logic 0
PARAM_VALUE 1 rx_ring->rx_buff_pool_size 0
CAPPED_DATA 0 adapter->rx_ring->buffer_info 1
CAPPED_DATA 0 adapter->rx_ring->count 1
CAPPED_DATA 0 adapter->tx_ring->buffer_info 1
CAPPED_DATA 0 adapter->tx_ring->count 1
CAPPED_DATA 1 rx_ring->buffer_info 1
CAPPED_DATA 1 rx_ring->count 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c pch_gbe_stop() -> pch_gbe_free_rx_resources()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->hw.miim_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->napi.config 0,4096-ptr_max
PARAM_VALUE 0 adapter->napi.dev 4096-ptr_max
PARAM_VALUE 0 adapter->napi.dev->lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->napi.dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->napi.dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adapter->napi.dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adapter->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adapter->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adapter->napi.dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adapter->napi.napi_hash_node->next->pprev 1-u64max
PARAM_VALUE 0 adapter->napi.napi_hash_node.next->pprev 1-u64max
PARAM_VALUE 0 adapter->napi.napi_hash_node.pprev 0
PARAM_VALUE 0 adapter->napi.timer.is_queued 0
PARAM_VALUE 0 adapter->napi.timer.node.node.next 0
PARAM_VALUE 0 adapter->napi.timer.node.node.prev 0
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->msix_base 0
PARAM_VALUE 0 adapter->rx_ring 4096-ptr_max
PARAM_VALUE 0 adapter->rx_ring->next_to_clean 0
PARAM_VALUE 0 adapter->rx_ring->next_to_use 0
PARAM_VALUE 0 adapter->rx_ring->rx_buff_pool 0
PARAM_VALUE 0 adapter->rx_ring->rx_buff_pool_logic 0
PARAM_VALUE 0 adapter->rx_ring->rx_buff_pool_size 0
PARAM_VALUE 0 adapter->tx_ring 4096-ptr_max
PARAM_VALUE 0 adapter->tx_ring->buffer_info 0
PARAM_VALUE 0 adapter->tx_ring->desc 0
PARAM_VALUE 0 adapter->tx_ring->next_to_clean 0
PARAM_VALUE 0 adapter->tx_ring->next_to_use 0
PARAM_VALUE 0 adapter->watchdog_timer.entry.pprev 0
PARAM_VALUE 0 adapter->watchdog_timer.flags 0-4194302
PARAM_VALUE 0 adapter->watchdog_timer.function 0
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 1 rx_ring 4096-ptr_max
PARAM_VALUE 1 rx_ring->buffer_info->dma 0
PARAM_VALUE 1 rx_ring->buffer_info->length 0
PARAM_VALUE 1 rx_ring->buffer_info->mapped 0
PARAM_VALUE 1 rx_ring->buffer_info->rx_buffer 0
PARAM_VALUE 1 rx_ring->buffer_info->skb 0
PARAM_VALUE 1 rx_ring->buffer_info->time_stamp 0
PARAM_VALUE 1 rx_ring->desc->buffer_addr 0
PARAM_VALUE 1 rx_ring->desc->dma_status 0
PARAM_VALUE 1 rx_ring->desc->gbec_status 0
PARAM_VALUE 1 rx_ring->desc->reserved1 0
PARAM_VALUE 1 rx_ring->desc->reserved2 0
PARAM_VALUE 1 rx_ring->desc->rx_words_eob 0
PARAM_VALUE 1 rx_ring->desc->tcp_ip_status 0
PARAM_VALUE 1 rx_ring->next_to_clean 0
PARAM_VALUE 1 rx_ring->next_to_use 0
PARAM_VALUE 1 rx_ring->rx_buff_pool 0
PARAM_VALUE 1 rx_ring->rx_buff_pool_logic 0
PARAM_VALUE 1 rx_ring->rx_buff_pool_size 0
CAPPED_DATA 0 adapter->napi.timer.base 1
CAPPED_DATA 0 adapter->netdev->num_tx_queues 1
CAPPED_DATA 0 adapter->rx_ring->count 1
CAPPED_DATA 0 adapter->tx_ring->count 1
CAPPED_DATA 1 rx_ring->count 1
PARAM_COMPARE 0 &adapter->napi.timer != $0->napi.timer.base->running
MEM_ZERO 0 adapter->rx_ring->buffer_info
MEM_ZERO 0 adapter->rx_ring->desc
MEM_ZERO 1 rx_ring->buffer_info
MEM_ZERO 1 rx_ring->desc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &netdev->lock
HALF_LOCKED2 &rdev->wiphy.mtx
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c pch_gbe_set_ringparam() -> pch_gbe_free_rx_resources()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 adapter->rx_ring 4096-ptr_max
PARAM_VALUE 0 adapter->rx_ring->buffer_info 1-u64max
PARAM_VALUE 0 adapter->rx_ring->count 0-s32max
PARAM_VALUE 0 adapter->rx_ring->desc 1-ptr_max
PARAM_VALUE 0 adapter->rx_ring->next_to_clean 0
PARAM_VALUE 0 adapter->rx_ring->next_to_use 0
PARAM_VALUE 0 adapter->tx_ring 4096-ptr_max
PARAM_VALUE 0 adapter->tx_ring->buffer_info 1-u64max
PARAM_VALUE 0 adapter->tx_ring->count 0-s32max
PARAM_VALUE 0 adapter->tx_ring->desc 1-ptr_max
PARAM_VALUE 0 adapter->tx_ring->next_to_clean 0
PARAM_VALUE 0 adapter->tx_ring->next_to_use 0
PARAM_VALUE 0 *adapter->netdev->name 0-255
BUF_SIZE 0 adapter->rx_ring 64
BUF_SIZE 0 adapter->tx_ring 40
CAPPED_DATA 0 adapter->rx_ring->buffer_info 1
CAPPED_DATA 0 adapter->rx_ring->count 1
CAPPED_DATA 0 adapter->tx_ring->buffer_info 1
CAPPED_DATA 0 adapter->tx_ring->count 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c pch_gbe_set_ringparam() -> pch_gbe_free_rx_resources()

Type Parameter Key Value
PARAM_VALUE 0 adapter 4096-ptr_max
PARAM_VALUE 0 adapter->netdev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adapter->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 adapter->pdev->dev.iommu->attach_deferred 0-1
PARAM_VALUE 0 adapter->rx_ring 4096-ptr_max
PARAM_VALUE 0 adapter->rx_ring->buffer_info 1-u64max
PARAM_VALUE 0 adapter->rx_ring->count 0-s32max
PARAM_VALUE 0 adapter->rx_ring->desc 1-ptr_max
PARAM_VALUE 0 adapter->rx_ring->next_to_clean 0
PARAM_VALUE 0 adapter->rx_ring->next_to_use 0
PARAM_VALUE 0 adapter->tx_ring 4096-ptr_max
PARAM_VALUE 0 *adapter->netdev->name 0-255
PARAM_VALUE 1 rx_ring 4096-ptr_max
PARAM_VALUE 1 rx_ring->buffer_info 1-u64max
PARAM_VALUE 1 rx_ring->buffer_info->dma 0
PARAM_VALUE 1 rx_ring->buffer_info->length 0
PARAM_VALUE 1 rx_ring->buffer_info->mapped 0
PARAM_VALUE 1 rx_ring->buffer_info->rx_buffer 0
PARAM_VALUE 1 rx_ring->buffer_info->skb 0
PARAM_VALUE 1 rx_ring->buffer_info->time_stamp 0
PARAM_VALUE 1 rx_ring->count 0-s32max
PARAM_VALUE 1 rx_ring->desc 1-ptr_max
PARAM_VALUE 1 rx_ring->desc->buffer_addr 0
PARAM_VALUE 1 rx_ring->desc->dma_status 0
PARAM_VALUE 1 rx_ring->desc->gbec_status 0
PARAM_VALUE 1 rx_ring->desc->reserved1 0
PARAM_VALUE 1 rx_ring->desc->reserved2 0
PARAM_VALUE 1 rx_ring->desc->rx_words_eob 0
PARAM_VALUE 1 rx_ring->desc->tcp_ip_status 0
PARAM_VALUE 1 rx_ring->next_to_clean 0
PARAM_VALUE 1 rx_ring->next_to_use 0
BUF_SIZE 0 adapter->rx_ring 64
BUF_SIZE 0 adapter->tx_ring 40
BUF_SIZE 1 rx_ring 64
CAPPED_DATA 0 adapter->rx_ring->buffer_info 1
CAPPED_DATA 0 adapter->rx_ring->count 1
CAPPED_DATA 1 rx_ring->buffer_info 1
CAPPED_DATA 1 rx_ring->count 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL