Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/dsa/b53/b53_common.c, line 1204
- drivers/net/phy/phy.c, line 607
- drivers/net/phy/phy_device.c, line 3953
- net/dsa/conduit.c, line 142
Smatch caller information:
net/dsa/conduit.c dsa_conduit_get_ethtool_phy_stats() -> phy_ethtool_get_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_next_update_time | 0,8298490502245527552 |
| PARAM_VALUE | 0 | phydev->drv->get_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_strings | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max |
| PARAM_VALUE | 0 | phydev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 1 | stats | $1 |
| DATA_SOURCE | 2 | data | $2 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | stats->cmd | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | stats->n_stats | |
| USER_PTR | 1 | stats->data |
drivers/net/dsa/b53/b53_common.c b53_get_ethtool_phy_stats() -> phy_ethtool_get_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 1 | stats | 0 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| DATA_SOURCE | 0 | phydev | r b53_get_phy_device |
| DATA_SOURCE | 2 | data | $2 |
| NOCHECK_CALL |
net/ethtool/ioctl.c ethtool_get_phy_stats_phydev() -> (struct ethtool_phy_ops)->get_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 1-u64max |
| PARAM_VALUE | 0 | phydev->drv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_strings | 0,4096-ptr_max |
| PARAM_VALUE | 1 | stats | 287612028046508032 |
| PARAM_VALUE | 1 | stats->n_stats | 1-268435455 |
| PARAM_VALUE | 2 | data | 1-u64max |
| CAPPED_DATA | 1 | stats->n_stats | 1 |
| DATA_SOURCE | 0 | phydev | $0 |
| DATA_SOURCE | 1 | stats | $1 |
| USER_DATA | 1 | stats->cmd | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | stats->n_stats | |
| USER_PTR | 1 | stats->data |