Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 3 files as a function:
- drivers/net/ethernet/micrel/ksz884x.c, line 5808 (as a function)
- drivers/net/ethernet/natsemi/natsemi.c, line 2702 (as a function)
- drivers/net/ethernet/realtek/8139cp.c, line 1326 (as a function)
Referenced in 3 files:
- drivers/net/ethernet/micrel/ksz884x.c, line 6231
- drivers/net/ethernet/natsemi/natsemi.c, line 2618
- drivers/net/ethernet/realtek/8139cp.c, line 1520
Smatch caller information:
drivers/net/ethernet/realtek/8139cp.c cp_set_wol() -> netdev_set_wol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | wol | 4096-ptr_max |
| DATA_SOURCE | 1 | wol | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | wol->cmd | 0-u32max |
| USER_DATA | 1 | wol->supported | 0-u32max |
| USER_DATA | 1 | wol->wolopts | 1-u32max |
| USER_PTR | 1 | wol->sopass | |
| LOCK2 | flags | ||
| LOCK2 | 0 | &cp->lock | |
| TYPE_LOCK | (struct cp_private)->lock |
drivers/net/ethernet/natsemi/natsemi.c set_wol() -> netdev_set_wol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| DATA_SOURCE | 0 | cp | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | wol | 1-u32max |
| LOCK2 | &np->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct netdev_private)->lock |
net/ethtool/ioctl.c ethtool_set_wol() -> (struct ethtool_ops)->set_wol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev.parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev.parent->power.request | 0-4 |
| PARAM_VALUE | 0 | cp->dev.parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | cp->dev.parent->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | cp->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->ethtool_ops->begin | 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432 |
| PARAM_VALUE | 0 | cp->ethtool_ops->get_wol | 1-u64max |
| PARAM_VALUE | 0 | cp->ethtool_ops->set_wol | 1-u64max |
| PARAM_VALUE | 0 | cp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | cp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | cp->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | cp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cp->moving_ns | 0 |
| PARAM_VALUE | 0 | cp->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->reg_state | 0-1 |
| PARAM_VALUE | 1 | wol | 2951665829854322688 |
| CAPPED_DATA | 0 | cp->nd_net.net | 1 |
| DATA_SOURCE | 0 | cp | $0 |
| FUZZY_MAX | 0 | cp->reg_state | 1 |
| CONTAINER | 0 | -72-784+0 | $(-1) |
| HARD_MAX | 0 | cp->reg_state | 1 |
| USER_DATA | 1 | wol->cmd | 0-u32max |
| USER_DATA | 1 | wol->supported | 0-u32max |
| USER_DATA | 1 | wol->wolopts | 1-u32max |
| USER_PTR | 1 | wol->sopass | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_set_wol() -> (struct ethtool_ops)->set_wol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | wol | 4096-ptr_max |
| DATA_SOURCE | 0 | cp | r dsa_port_to_conduit |
| DATA_SOURCE | 1 | wol | $2 |
| CONTAINER | 0 | -72-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | wol->cmd | 0-u32max |
| USER_DATA | 1 | wol->supported | 0-u32max |
| USER_DATA | 1 | wol->wolopts | 1-u32max |
| USER_PTR | 1 | wol->sopass |
net/ethtool/wol.c ethnl_set_wol() -> (struct ethtool_ops)->set_wol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cp | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->cfg_pending | 1-u64max |
| PARAM_VALUE | 0 | cp->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | cp->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | cp->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | wol | 5864766331379404800 |
| PARAM_VALUE | 1 | wol->cmd | 5 |
| PARAM_VALUE | 1 | wol->supported | 0 |
| CONTAINER | 0 | -72-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |