Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_fdma.c ocelot_fdma_rx_restart() -> ocelot_fdma_activate_chan()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ocelot->fdma 4096-ptr_max
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->__sk_common.skc_net.net->notrefcnt_tracker.dead 1
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->__sk_common.skc_net.net->refcnt_tracker.dead 1
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->ns_tracker->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->ns_tracker->dead 0-1
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->ns_tracker->free_stack_handle 0-4294967295
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->sk_bpf_storage->owner_refcnt.refs.counter s32min-s32max
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->sk_callback_lock.owner (-1)
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->sk_callback_lock.owner_cpu u32max
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->sk_callback_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->sk_owner->refcnt.counter 0-s32max
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->sk_prot_creator->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 ocelot->fdma->rx_ring.skb->sk->sk_rcu.func 1-u64max
PARAM_VALUE 2 chan 0
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 dma r ocelot_fdma_idx_dma
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mscc/ocelot_fdma.c ocelot_fdma_send_skb() -> ocelot_fdma_activate_chan()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->dma_io_tlb_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->dev->dma_io_tlb_pools.next 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->dma_io_tlb_pools.next->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->dma_io_tlb_pools.next->prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->dma_uses_io_tlb 1
PARAM_VALUE 0 ocelot->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 ocelot->fdma 4096-ptr_max
PARAM_VALUE 0 ocelot->fdma->tx_ring.xmit_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->ts_id_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 chan 2
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 dma r ocelot_fdma_idx_dma
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
LOCK2 &fdma->tx_ring.xmit_lock
HALF_LOCKED2 &dev->tx_global_lock
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ocelot_fdma_tx_ring)->xmit_lock

drivers/net/ethernet/mscc/ocelot_fdma.c ocelot_fdma_start() -> ocelot_fdma_activate_chan()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->cma_area->available_count 0-s64max
PARAM_VALUE 0 ocelot->dev->cma_area->nranges s32min-s32max
PARAM_VALUE 0 ocelot->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->iommu->attach_deferred 0-1
PARAM_VALUE 0 ocelot->devlink 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.next 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dummy_rules.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->fdma 4096-ptr_max
PARAM_VALUE 0 ocelot->fdma->napi->thread->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 ocelot->fdma->napi.config 0,4096-ptr_max
PARAM_VALUE 0 ocelot->fdma->napi.dev 4096-ptr_max
PARAM_VALUE 0 ocelot->fdma->napi.dev->lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fdma->napi.dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->fdma->napi.dev->lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fdma->napi.dev->lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ocelot->fdma->napi.dev->lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ocelot->fdma->napi.dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ocelot->fdma->napi.dev->lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ocelot->fdma->napi.thread 0,4096-ptr_max
PARAM_VALUE 0 ocelot->fdma->napi.thread->cpus_ptr 4096-ptr_max
PARAM_VALUE 0 ocelot->fdma->napi.thread->migration_disabled 0-1
PARAM_VALUE 0 ocelot->fdma->napi.thread->on_rq 0-1,3-255
PARAM_VALUE 0 ocelot->fdma->napi.thread->wake_cpu 0-s32max
PARAM_VALUE 0 ocelot->fwd_domain_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fwd_domain_lock.first_waiter 0
PARAM_VALUE 0 ocelot->fwd_domain_lock.magic 4096-ptr_max
PARAM_VALUE 0 ocelot->fwd_domain_lock.owner.counter 0
PARAM_VALUE 0 ocelot->lag_fdbs.next 4096-ptr_max
PARAM_VALUE 0 ocelot->lag_fdbs.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->lag_fdbs.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->lag_fdbs.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->lag_fdbs.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->mact_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->mact_lock.first_waiter 0
PARAM_VALUE 0 ocelot->mact_lock.magic 4096-ptr_max
PARAM_VALUE 0 ocelot->mact_lock.osq.tail.counter 0
PARAM_VALUE 0 ocelot->mact_lock.owner.counter 0
PARAM_VALUE 0 ocelot->map 6026074135380606976
PARAM_VALUE 0 ocelot->mm 1-u64max
PARAM_VALUE 0 ocelot->mm->active_preemptible_tcs 0
PARAM_VALUE 0 ocelot->mm->preemptible_tcs 0
PARAM_VALUE 0 ocelot->mm->tx_active 0
PARAM_VALUE 0 ocelot->mm->tx_enabled 0
PARAM_VALUE 0 ocelot->mm->verify_status 0-5
PARAM_VALUE 0 ocelot->multicast.next 4096-ptr_max
PARAM_VALUE 0 ocelot->multicast.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->multicast.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->multicast.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->multicast.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->npi (-1)
PARAM_VALUE 0 ocelot->num_flooding_pgids 1
PARAM_VALUE 0 ocelot->num_frame_refs 0-u16max
PARAM_VALUE 0 ocelot->num_mact_rows 1024
PARAM_VALUE 0 ocelot->ops 6258417569307836416
PARAM_VALUE 0 ocelot->ops->cut_through_fwd 0
PARAM_VALUE 0 ocelot->ops->netdev_to_port 2603890120038211584
PARAM_VALUE 0 ocelot->ops->port_to_netdev 4068653960461438976
PARAM_VALUE 0 ocelot->ops->psfp_filter_add 0
PARAM_VALUE 0 ocelot->ops->psfp_filter_del 0
PARAM_VALUE 0 ocelot->ops->psfp_init 0
PARAM_VALUE 0 ocelot->ops->psfp_stats_get 0
PARAM_VALUE 0 ocelot->ops->reset 9025871550166650880
PARAM_VALUE 0 ocelot->ops->tas_clock_adjust 0
PARAM_VALUE 0 ocelot->ops->tas_guard_bands_update 0
PARAM_VALUE 0 ocelot->ops->update_stats 0
PARAM_VALUE 0 ocelot->ops->wm_dec 6341601623281524736
PARAM_VALUE 0 ocelot->ops->wm_enc 7497006183106965504
PARAM_VALUE 0 ocelot->ops->wm_stat 7378957043723149312
PARAM_VALUE 0 ocelot->owq 4096-ptr_max
PARAM_VALUE 0 ocelot->packet_buffer_size 0-15728400
PARAM_VALUE 0 ocelot->pgids.next 4096-ptr_max
PARAM_VALUE 0 ocelot->pgids.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->pgids.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->pgids.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->pgids.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->psfp.lock.first_waiter 0
PARAM_VALUE 0 ocelot->psfp.lock.magic 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.lock.osq.tail.counter 0
PARAM_VALUE 0 ocelot->psfp.lock.owner.counter 0
PARAM_VALUE 0 ocelot->psfp.sfi_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sfi_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.sgi_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.stream_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->stat_view_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->stat_view_lock.first_waiter 0
PARAM_VALUE 0 ocelot->stat_view_lock.magic 4096-ptr_max
PARAM_VALUE 0 ocelot->stat_view_lock.osq.tail.counter 0
PARAM_VALUE 0 ocelot->stat_view_lock.owner.counter 0
PARAM_VALUE 0 ocelot->stats 1-u64max
PARAM_VALUE 0 ocelot->stats_queue 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_regions.next 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_regions.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_regions.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_regions.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_regions.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_work.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 ocelot->stats_work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->targets 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.next 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->traps.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap 4507694224112504832
PARAM_VALUE 0 ocelot->vcap_pol.base 128
PARAM_VALUE 0 ocelot->vcap_pol.max 191
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vlans.next 4096-ptr_max
PARAM_VALUE 0 ocelot->vlans.next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vlans.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vlans.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vlans.prev->prev 4096-ptr_max
PARAM_VALUE 0 *ocelot->base_mac 0-255
PARAM_VALUE 2 chan 0
BUF_SIZE 0 ocelot->dev 1616
BUF_SIZE 0 ocelot->vcap 168
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ocelot->num_phys_ports

drivers/net/ethernet/mscc/ocelot_fdma.c ocelot_fdma_tx_cleanup() -> ocelot_fdma_activate_chan()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 2 chan 2
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 dma r ocelot_fdma_idx_dma
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read