Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c __stmmac_dvr_probe() -> stmmac_unregister_devlink()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->af_xdp_zc_qps 16,4096-ptr_max
PARAM_VALUE 0 priv->descriptor_mode 1-2
PARAM_VALUE 0 priv->dev 4096-ptr_max
PARAM_VALUE 0 priv->dev->addr_assign_type 1
PARAM_VALUE 0 priv->dev->dev_addr 4096-ptr_max
PARAM_VALUE 0 priv->dev->priv_flags 0,4096-u32max
PARAM_VALUE 0 priv->device 0,4096-ptr_max
PARAM_VALUE 0 priv->device->bus 0,4096-ptr_max
PARAM_VALUE 0 priv->device->class 0,4096-ptr_max
PARAM_VALUE 0 priv->device->driver 0,4096-ptr_max
PARAM_VALUE 0 priv->device->power.can_wakeup 1
PARAM_VALUE 0 priv->device->power.wakeirq 4096-ptr_max
PARAM_VALUE 0 priv->device->power.wakeirq->dev s64min-(-4096),4096-s64max
PARAM_VALUE 0 priv->device->power.wakeirq->irq 0-s32max
PARAM_VALUE 0 priv->dma_cap.addr64 32,40,48
PARAM_VALUE 0 priv->dma_cap.advthword 0-1
PARAM_VALUE 0 priv->dma_cap.arpoffsel 0-1
PARAM_VALUE 0 priv->dma_cap.asp 0-7
PARAM_VALUE 0 priv->dma_cap.atime_stamp 0-1
PARAM_VALUE 0 priv->dma_cap.aux_snapshot_n 0-7
PARAM_VALUE 0 priv->dma_cap.av 0-1
PARAM_VALUE 0 priv->dma_cap.cbtisel 0-1
PARAM_VALUE 0 priv->dma_cap.dbgmem 0-1
PARAM_VALUE 0 priv->dma_cap.dcben 0-1
PARAM_VALUE 0 priv->dma_cap.dvlan 0-1
PARAM_VALUE 0 priv->dma_cap.ediffc 0-1
PARAM_VALUE 0 priv->dma_cap.edma 0-1
PARAM_VALUE 0 priv->dma_cap.eee 0-1
PARAM_VALUE 0 priv->dma_cap.enh_desc 0-1
PARAM_VALUE 0 priv->dma_cap.estdep 0-7
PARAM_VALUE 0 priv->dma_cap.estsel 0-1
PARAM_VALUE 0 priv->dma_cap.estwid 0-3
PARAM_VALUE 0 priv->dma_cap.fpesel 0-1
PARAM_VALUE 0 priv->dma_cap.frpbs 0-3
PARAM_VALUE 0 priv->dma_cap.frpes 0-3
PARAM_VALUE 0 priv->dma_cap.frppipe_num 1-8
PARAM_VALUE 0 priv->dma_cap.frpsel 0-1
PARAM_VALUE 0 priv->dma_cap.half_duplex 0-1
PARAM_VALUE 0 priv->dma_cap.hash_filter 0-1
PARAM_VALUE 0 priv->dma_cap.hash_tb_sz 0-3
PARAM_VALUE 0 priv->dma_cap.host_dma_width 1-255
PARAM_VALUE 0 priv->dma_cap.mbps_1000 0-1
PARAM_VALUE 0 priv->dma_cap.multi_addr 0-31
PARAM_VALUE 0 priv->dma_cap.nrvf_num 0-7
PARAM_VALUE 0 priv->dma_cap.number_rx_channel 0-16
PARAM_VALUE 0 priv->dma_cap.number_rx_queues 1-16
PARAM_VALUE 0 priv->dma_cap.number_tx_channel 0-16
PARAM_VALUE 0 priv->dma_cap.number_tx_queues 1-16
PARAM_VALUE 0 priv->dma_cap.numtc 1-8
PARAM_VALUE 0 priv->dma_cap.osten 0-1
PARAM_VALUE 0 priv->dma_cap.pcs 0-1
PARAM_VALUE 0 priv->dma_cap.pcsel 0-3
PARAM_VALUE 0 priv->dma_cap.pfcen 0-1
PARAM_VALUE 0 priv->dma_cap.pmt_magic_frame 0-1
PARAM_VALUE 0 priv->dma_cap.pmt_remote_wake_up 0-1
PARAM_VALUE 0 priv->dma_cap.pou_ost_en 0-1
PARAM_VALUE 0 priv->dma_cap.pps_out_num 0-7
PARAM_VALUE 0 priv->dma_cap.ptoen 0-1
PARAM_VALUE 0 priv->dma_cap.rmon 0-1
PARAM_VALUE 0 priv->dma_cap.rssen 0-1
PARAM_VALUE 0 priv->dma_cap.rx_coe 0-1
PARAM_VALUE 0 priv->dma_cap.rx_coe_type1 0-1
PARAM_VALUE 0 priv->dma_cap.rx_coe_type2 0-1
PARAM_VALUE 0 priv->dma_cap.rxfifo_over_2048 0-1
PARAM_VALUE 0 priv->dma_cap.sgfsel 0-1
PARAM_VALUE 0 priv->dma_cap.sma_mdio 0-1
PARAM_VALUE 0 priv->dma_cap.sphen 0-1
PARAM_VALUE 0 priv->dma_cap.tbs_ch_num 1-16
PARAM_VALUE 0 priv->dma_cap.tbssel 0-1
PARAM_VALUE 0 priv->dma_cap.time_stamp 0-1
PARAM_VALUE 0 priv->dma_cap.tsoen 0-1
PARAM_VALUE 0 priv->dma_cap.tssrc 0-3
PARAM_VALUE 0 priv->dma_cap.ttsfd 0-7
PARAM_VALUE 0 priv->dma_cap.tx_coe 0-1
PARAM_VALUE 0 priv->dma_cap.vlhash 0-1
PARAM_VALUE 0 priv->dma_cap.vlins 0-1
PARAM_VALUE 0 priv->dma_cap.vxn 0-1
PARAM_VALUE 0 priv->eee_ctrl_timer.entry.pprev 0
PARAM_VALUE 0 priv->eee_ctrl_timer.flags 0-4194302
PARAM_VALUE 0 priv->eee_ctrl_timer.lockdep_map->name 0-255
PARAM_VALUE 0 priv->estaddr 4096-ptr_max
PARAM_VALUE 0 priv->extend_desc 1
PARAM_VALUE 0 priv->flow_entries->idx 0-s32max
PARAM_VALUE 0 priv->flow_entries->in_use 0-1
PARAM_VALUE 0 priv->flow_entries->is_l4 0-1
PARAM_VALUE 0 priv->fpe_cfg.mmsv.dev 4096-ptr_max
PARAM_VALUE 0 priv->fpe_cfg.mmsv.ops 7883485758936498176
PARAM_VALUE 0 priv->fpe_cfg.mmsv.ops->configure_pmac 0,7308765472371490816
PARAM_VALUE 0 priv->fpe_cfg.mmsv.ops->configure_tx 2693597873178431488,7322468667106004992
PARAM_VALUE 0 priv->fpe_cfg.mmsv.ops->send_mpacket 2381017390633222144,7009669814523432960
PARAM_VALUE 0 priv->fpe_cfg.mmsv.status 5
PARAM_VALUE 0 priv->fpe_cfg.mmsv.verify_retries 3
PARAM_VALUE 0 priv->fpe_cfg.mmsv.verify_time 128
PARAM_VALUE 0 priv->fpe_cfg.mmsv.verify_timer.flags 0-4194302
PARAM_VALUE 0 priv->fpe_cfg.mmsv.verify_timer.lockdep_map->name 0-255
PARAM_VALUE 0 priv->fpe_cfg.reg 0,5935169976132730880,6259083628767039488
PARAM_VALUE 0 priv->gmii_address_bus_config 0-4294967295
PARAM_VALUE 0 priv->gso_enabled_types 0-4294967295
PARAM_VALUE 0 priv->hw 4096-ptr_max
PARAM_VALUE 0 priv->hw->desc 0,476970505814601728,1459756961377320960,3244386294593593344,8268573159844696064
PARAM_VALUE 0 priv->hw->desc->clear 2096592455459426304,5835707345508859904
PARAM_VALUE 0 priv->hw->desc->display_ring 1804332342969249792,8877388190010540032
PARAM_VALUE 0 priv->hw->desc->enable_tx_timestamp 8110547687434063872,8630993968969887744
PARAM_VALUE 0 priv->hw->desc->get_rx_frame_len 7006051472454062080,7199791525104082944
PARAM_VALUE 0 priv->hw->desc->get_rx_timestamp_status 3066410866454233088,3880402309120434176
PARAM_VALUE 0 priv->hw->desc->get_timestamp 8270448010246131712,9167882433049595904
PARAM_VALUE 0 priv->hw->desc->get_tx_timestamp_status 1583649263513227264,5426162354594369536
PARAM_VALUE 0 priv->hw->desc->init_rx_desc 456326419762868224,1509541866589548544
PARAM_VALUE 0 priv->hw->desc->init_tx_desc 3655316853654478848,5605538651127332864
PARAM_VALUE 0 priv->hw->desc->prepare_tx_desc 3143104083750121472,4510512205174861824
PARAM_VALUE 0 priv->hw->desc->release_tx_desc 3253422791898882048,8646325351937916928
PARAM_VALUE 0 priv->hw->desc->rx_extended_status 0,4685611942576652288
PARAM_VALUE 0 priv->hw->desc->rx_status 3561761417474871296,4811552399473491968
PARAM_VALUE 0 priv->hw->desc->set_addr 34698775869317120,7289673128289497088
PARAM_VALUE 0 priv->hw->desc->set_rx_owner 2280643863395278848,6351825723258486784
PARAM_VALUE 0 priv->hw->desc->set_tx_ic 1079053891219443712,9156001458660515840
PARAM_VALUE 0 priv->hw->desc->set_tx_owner 3285789643303661568,4369403944327208960
PARAM_VALUE 0 priv->hw->desc->tx_status 5181693457416409088,8684579899931525120
PARAM_VALUE 0 priv->hw->dma 4096-ptr_max
PARAM_VALUE 0 priv->hw->est 0,4695829137741004800
PARAM_VALUE 0 priv->hw->link.caps 63,171,252,255,511,1983,161667
PARAM_VALUE 0 priv->hw->link.duplex 0-1,2048,8192,1048576
PARAM_VALUE 0 priv->hw->link.speed10 0,8,32768,3758096384
PARAM_VALUE 0 priv->hw->link.speed100 0,12,49152,2147483648
PARAM_VALUE 0 priv->hw->link.speed1000 0,1610612736,1879048192
PARAM_VALUE 0 priv->hw->link.speed2500 16384,1073741824,1610612736
PARAM_VALUE 0 priv->hw->link.speed_mask 14,49152,134217728,1879048192,3758096384
PARAM_VALUE 0 priv->hw->link.xgmii.speed10000 0,1073741824
PARAM_VALUE 0 priv->hw->link.xgmii.speed2500 3221225472
PARAM_VALUE 0 priv->hw->link.xgmii.speed5000 2684354560
PARAM_VALUE 0 priv->hw->link.xlgmii.speed100000 805306368
PARAM_VALUE 0 priv->hw->link.xlgmii.speed25000 268435456
PARAM_VALUE 0 priv->hw->link.xlgmii.speed40000 0
PARAM_VALUE 0 priv->hw->link.xlgmii.speed50000 536870912
PARAM_VALUE 0 priv->hw->mac 538617201971208192,1628872074804101120,2502585012738183168,3210284260915556352,3453245229030756352,5019349719654920192,7315370159947468800,8033298742258909184
PARAM_VALUE 0 priv->hw->mcast_bits_log2 0-31,u32max
PARAM_VALUE 0 priv->hw->mii.addr 16,20,72,512
PARAM_VALUE 0 priv->hw->mii.addr_mask 63488,126976,2031616,65011712
PARAM_VALUE 0 priv->hw->mii.clk_csr_mask 60,3840,3670016,7340032
PARAM_VALUE 0 priv->hw->mii.data 20,24,76,516
PARAM_VALUE 0 priv->hw->mii.reg_mask 496,1984,u16max,2031616
PARAM_VALUE 0 priv->hw->mmc 5439840623640928256,8547172829172662272
PARAM_VALUE 0 priv->hw->mode 0,824345939674136576,3920047475279536128,5270797489904635904
PARAM_VALUE 0 priv->hw->mode->clean_desc3 460122707478945792,5246635924049539072
PARAM_VALUE 0 priv->hw->mode->init 0,6730230110062125056
PARAM_VALUE 0 priv->hw->mode->init_desc3 0,567277624492306432
PARAM_VALUE 0 priv->hw->mode->is_jumbo_frm 3045357841483313152,5747522969234337792
PARAM_VALUE 0 priv->hw->mode->jumbo_frm 1513531786302423040,5768599534748299264
PARAM_VALUE 0 priv->hw->mode->refill_desc3 3310379705634836480,8479888708588695552
PARAM_VALUE 0 priv->hw->mode->set_16kib_bfsize 0,359114886634852352
PARAM_VALUE 0 priv->hw->num_vlan 1,4,8,16,24,32
PARAM_VALUE 0 priv->hw->phylink_pcs->poll 0-1
PARAM_VALUE 0 priv->hw->ptp 1815294662024777728,2898904344474107904
PARAM_VALUE 0 priv->hw->rx_csum 1-u32max
PARAM_VALUE 0 priv->hw->tc 0,2808760485267869696,3909117344518934528
PARAM_VALUE 0 priv->hw->unicast_filter_entries 0-32,64,128
PARAM_VALUE 0 priv->hw->vlan 0,2186312560466886656,5275269457019994112,9101026191095332864
PARAM_VALUE 0 priv->hw_cap_support 0-1
PARAM_VALUE 0 priv->hwif_quirks 0,2611490555804352512,5156799027573661696
PARAM_VALUE 0 priv->lock.dep_map->name 0-255
PARAM_VALUE 0 priv->lock.first_waiter 0
PARAM_VALUE 0 priv->lock.magic 4096-ptr_max
PARAM_VALUE 0 priv->lock.osq.tail.counter 0
PARAM_VALUE 0 priv->lock.owner.counter 0
PARAM_VALUE 0 priv->mii->mdio_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->mii->mdio_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 priv->mii->mdio_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 priv->mii->mdio_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 priv->mii->mdio_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 priv->mii->mdio_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 priv->mii->shared_lock.osq.tail.counter s32min-s32max
PARAM_VALUE 0 priv->mii->state 0-4294967295
PARAM_VALUE 0 priv->mmcaddr 4096-ptr_max
PARAM_VALUE 0 priv->phylink 4096-ptr_max
PARAM_VALUE 0 priv->phylink_config.dev 4096-ptr_max
PARAM_VALUE 0 priv->phylink_config.eee_enabled_default 1
PARAM_VALUE 0 priv->phylink_config.eee_rx_clk_stop_enable 1
PARAM_VALUE 0 priv->phylink_config.lpi_capabilities 18446744073709551520
PARAM_VALUE 0 priv->phylink_config.mac_managed_pm 1
PARAM_VALUE 0 priv->phylink_config.mac_requires_rxc 1
PARAM_VALUE 0 priv->phylink_config.type 0
PARAM_VALUE 0 priv->phylink_config.wol_mac_support 0,2-u32max
PARAM_VALUE 0 priv->phylink_config.wol_phy_legacy 1
PARAM_VALUE 0 priv->phylink_config.wol_phy_speed_ctrl 1
PARAM_VALUE 0 priv->plat 4096-ptr_max
PARAM_VALUE 0 priv->plat->core_type 0-3
PARAM_VALUE 0 priv->plat->default_an_inband 0
PARAM_VALUE 0 priv->plat->dma_cfg 4096-ptr_max
PARAM_VALUE 0 priv->plat->mdio_bus_data->pcs_mask 0,4194304
PARAM_VALUE 0 priv->plat->phy_interface 4,23
PARAM_VALUE 0 priv->plat->rx_coe 0-2
PARAM_VALUE 0 priv->plat->rx_fifo_size s32min-(-2),1-s32max
PARAM_VALUE 0 priv->plat->rx_queues_to_use 1-16
PARAM_VALUE 0 priv->plat->stmmac_ahb_rst 0,4096-u64max
PARAM_VALUE 0 priv->plat->stmmac_ahb_rst->array 0-1
PARAM_VALUE 0 priv->plat->stmmac_rst 0,4096-u64max
PARAM_VALUE 0 priv->plat->stmmac_rst->array 0-1
PARAM_VALUE 0 priv->plat->tx_fifo_size s32min-(-2),1-s32max
PARAM_VALUE 0 priv->plat->tx_queues_to_use 1-16
PARAM_VALUE 0 priv->plat->unicast_filter_entries 1-32,64,128
PARAM_VALUE 0 priv->ptpaddr 4096-ptr_max
PARAM_VALUE 0 priv->rfs_entries->etype 0,35020,35063
PARAM_VALUE 0 priv->rfs_entries->in_use 0-1
PARAM_VALUE 0 priv->rfs_entries->tc 0-31
PARAM_VALUE 0 priv->rfs_entries->type 0-2
PARAM_VALUE 0 priv->rss.table 4096-ptr_max
PARAM_VALUE 0 priv->synopsys_id 0-255
PARAM_VALUE 0 priv->tc_entries->prio 0,65536-4294901760,u32max
PARAM_VALUE 0 priv->tc_entries->val.dma_ch_no 0
PARAM_VALUE 0 priv->tc_entries->val.im 0
PARAM_VALUE 0 priv->tc_entries->val.res1 0
PARAM_VALUE 0 priv->tc_entries->val.res2 0
PARAM_VALUE 0 priv->use_riwt 1
PARAM_VALUE 0 priv->wq 4096-ptr_max
PARAM_VALUE 0 priv->xstats.pcpu_stats 4096-ptr_max
PARAM_VALUE 0 priv->xstats.rxq_stats 4096-ptr_max
PARAM_VALUE 0 priv->xstats.threshold 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 priv->xstats.txq_stats 4096-ptr_max
PARAM_VALUE 0 *priv->dev->name 0-255
BUF_SIZE 0 priv->af_xdp_zc_qps 8
BUF_SIZE 0 priv->device (-1),1616
BUF_SIZE 0 priv->plat (-1),1-s32max
BUF_SIZE 0 priv->wq (-1),512,528-8720
BUF_SIZE 0 priv->xstats.pcpu_stats (-1),4,32,48,88,128,904
CAPPED_DATA 0 priv->plat->core_type 1
CAPPED_DATA 0 priv->plat->maxmtu 1
FUZZY_MAX 0 priv->dma_cap.host_dma_width 32
FUZZY_MAX 0 priv->synopsys_id 64
BIT_INFO 0 priv->xstats.threshold 0x0,0xffffffff
MEM_ZERO 0 priv->af_xdp_zc_qps
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 priv->dev->irq
NO_OVERFLOW_SIMPLE 0 priv->device->power.wakeirq->irq
NO_OVERFLOW_SIMPLE 0 priv->flow_entries_max
NO_OVERFLOW_SIMPLE 0 priv->fpe_cfg.mmsv.dev->irq
NO_OVERFLOW_SIMPLE 0 priv->plat->num_clks
NO_OVERFLOW_SIMPLE 0 priv->rfs_entries_total
NO_OVERFLOW_SIMPLE 0 priv->wol_irq

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_dvr_remove() -> stmmac_unregister_devlink()

Type Parameter Key Value
PARAM_VALUE 0 priv 4096-ptr_max
PARAM_VALUE 0 priv->dbgfs_dir->d_flags 0-4294967295
PARAM_VALUE 0 priv->dbgfs_dir->d_fsdata->management_timer.flags 0-4294967295
PARAM_VALUE 0 priv->dbgfs_dir->d_inode->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->dbgfs_dir->d_lockref.count s32min-s32max
PARAM_VALUE 0 priv->dbgfs_dir->d_parent->d_lockref.count s32min-s32max
PARAM_VALUE 0 priv->dbgfs_dir->d_sb->s_fs_info->lookup_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->dbgfs_dir->d_sb->s_roots_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 priv->dev 0,4096-ptr_max
PARAM_VALUE 0 priv->dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 *priv->dev->name 0
CAPPED_DATA 0 priv->dbgfs_dir 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex