Defined in 7 files as a member:

Defined in 2 files as a function:

Referenced in 120 files:

Smatch caller information:

net/ethtool/ioctl.c ethtool_get_wol() -> (struct ethtool_ops)->get_wol()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->power.request 0-4
PARAM_VALUE 0 dev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 dev->ethtool_ops->get_wol 1-u64max
PARAM_VALUE 0 dev->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->moving_ns 0
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->reg_state 0-1
PARAM_VALUE 1 wol 5700701388385878016
PARAM_VALUE 1 wol->cmd 5
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $0
FUZZY_MAX 0 dev->reg_state 1
CONTAINER 0 -64-784+0 $(-1)
HARD_MAX 0 dev->reg_state 1
MEM_ZERO 1 wol
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

net/ethtool/ioctl.c ethtool_set_wol() -> (struct ethtool_ops)->get_wol()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->power.request 0-4
PARAM_VALUE 0 dev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 dev->ethtool_ops->get_wol 1-u64max
PARAM_VALUE 0 dev->ethtool_ops->set_wol 1-u64max
PARAM_VALUE 0 dev->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->moving_ns 0
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->reg_state 0-1
PARAM_VALUE 1 wol 5662590289259790336
PARAM_VALUE 1 wol->cmd 5
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $0
FUZZY_MAX 0 dev->reg_state 1
CONTAINER 0 -64-784+0 $(-1)
HARD_MAX 0 dev->reg_state 1
MEM_ZERO 1 wol
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_get_wol() -> (struct ethtool_ops)->get_wol()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_wol 1-u64max
PARAM_VALUE 1 wol 2627136334289121280
PARAM_VALUE 1 wol->cmd 0
PARAM_VALUE 1 wol->supported 0
PARAM_VALUE 1 wol->wolopts 0
DATA_SOURCE 0 dev r dsa_port_to_conduit
CONTAINER 0 -64-784+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_set_wol() -> (struct ethtool_ops)->get_wol()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_wol 1-u64max
PARAM_VALUE 1 wol 8019364043171282944
PARAM_VALUE 1 wol->cmd 0
PARAM_VALUE 1 wol->supported 0
PARAM_VALUE 1 wol->wolopts 0
DATA_SOURCE 0 dev r dsa_port_to_conduit
CONTAINER 0 -64-784+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/ethtool/wol.c ethnl_set_wol() -> (struct ethtool_ops)->get_wol()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cfg_pending 1-u64max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 1 wol 5864766331379404800
PARAM_VALUE 1 wol->cmd 5
PARAM_VALUE 1 wol->supported 0
PARAM_VALUE 1 wol->wolopts 0
CONTAINER 0 -64-784+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &dpll_lock
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &net_dm_mutex
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/ethtool/wol.c wol_prepare_data() -> (struct ethtool_ops)->get_wol()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_wol 1-u64max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.request 0-4
PARAM_VALUE 0 dev->priv->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 dev->priv->cpsw->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.request 0-4
PARAM_VALUE 0 dev->priv->cpsw->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 wol 4096-ptr_max
CONTAINER 0 -64-784+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

Smatch assignments to (struct phy_driver)->get_wol:

drivers/net/phy/vitesse.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/nxp-c45-tja11xx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/qsemi.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/mediatek/mtk-2p5ge.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/xilinx_gmii2rgmii.c xgmiitorgmii_probe() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/motorcomm.c (null)() -> (struct phy_driver)->get_wol [0,432760763075063808]

drivers/net/phy/qcom/qca807x.c (null)() -> (struct phy_driver)->get_wol [109504071731531776]

drivers/net/phy/smsc.c (null)() -> (struct phy_driver)->get_wol [0,7206198547084349440]

drivers/net/phy/dp83640.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/bcm54140.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/ste10Xp.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/aquantia/aquantia_main.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/dap8211r.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/marvell-88q2xxx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/mediatek/mtk-ge.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/dp83tc811.c (null)() -> (struct phy_driver)->get_wol [9163008720940400640]

drivers/net/phy/marvell10g.c (null)() -> (struct phy_driver)->get_wol [0,7711469103650844672]

drivers/net/phy/uPD60620.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/broadcom.c (null)() -> (struct phy_driver)->get_wol [0,3730034070000414720]

drivers/net/phy/qcom/qca808x.c (null)() -> (struct phy_driver)->get_wol [109504071731531776]

drivers/net/phy/dp83822.c (null)() -> (struct phy_driver)->get_wol [3155674252760453120]

drivers/net/phy/marvell-88x2222.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/bcm-cygnus.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/micrel.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/mxl-86110.c (null)() -> (struct phy_driver)->get_wol [6603542221680308224]

drivers/net/phy/amd.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/microchip_t1.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/dp83tg720.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/cortina.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/lxt.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/adin.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/microchip_t1s.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/cicada.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/mediatek/mtk-ge-soc.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/phy_device.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/et1011c.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/as21xxx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/realtek/realtek_main.c (null)() -> (struct phy_driver)->get_wol [0,7287695782553407488]

drivers/net/phy/qcom/qca83xx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/dp83869.c (null)() -> (struct phy_driver)->get_wol [7988520984674422784]

drivers/net/phy/nxp-tja11xx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/icplus.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/rockchip.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/marvell.c (null)() -> (struct phy_driver)->get_wol [0,3081854702866526208]

drivers/net/phy/teranetics.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/ncn26000.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/national.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/adin1100.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/dp83848.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/davicom.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/ax88796b.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/air_an8801.c (null)() -> (struct phy_driver)->get_wol [7345199664375349248]

drivers/net/phy/meson-gxl.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/mscc/mscc_main.c (null)() -> (struct phy_driver)->get_wol [0,4420622658920943616]

drivers/net/phy/nxp-cbtx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/microchip.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/air_en8811h.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/dp83867.c (null)() -> (struct phy_driver)->get_wol [6485255342444957696]

drivers/net/phy/adin1140-phy.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/qcom/at803x.c (null)() -> (struct phy_driver)->get_wol [0,109504071731531776]

drivers/net/phy/bcm87xx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/bcm7xxx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/intel-xway.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/bcm63xx.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/dp83td510.c (null)() -> (struct phy_driver)->get_wol [0]

drivers/net/phy/mxl-gpy.c (null)() -> (struct phy_driver)->get_wol [8366738722647678976]

drivers/net/phy/bcm84881.c (null)() -> (struct phy_driver)->get_wol [0]