Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/ioctl.c ethtool_get_phy_stats_ethtool() -> (struct ethtool_ops)->get_ethtool_phy_stats()
| 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_ethtool_phy_stats | 1-u64max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_sset_count | 1-u64max |
| 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 | dev | $0 |
| DATA_SOURCE | 1 | stats | $1 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | stats->cmd | 0-u32max |
| NO_OVERFLOW_SIMPLE | 1 | stats->n_stats | |
| USER_PTR | 1 | stats->data |
net/dsa/conduit.c dsa_conduit_get_ethtool_phy_stats() -> (struct ethtool_ops)->get_ethtool_phy_stats()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dsa_ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_ethtool_phy_stats | 0,3317615168082395136 |
| PARAM_VALUE | 0 | dev->phydev | 1-u64max |
| PARAM_VALUE | 0 | dev->phydev->drv->get_next_update_time | 0,8298490502245527552 |
| PARAM_VALUE | 0 | dev->phydev->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| 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 |