Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ethtool/tsinfo.c ethnl_tsinfo_dump_one_phydev() -> phy_ts_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mii_ts | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mii_ts->ts_info | 1-u64max |
| PARAM_VALUE | 1 | tsinfo | 4096-ptr_max |
| PARAM_VALUE | 1 | tsinfo->cmd | 65 |
| PARAM_VALUE | 1 | tsinfo->phc_index | (-1) |
| PARAM_VALUE | 1 | tsinfo->rx_filters | 0 |
| PARAM_VALUE | 1 | tsinfo->so_timestamping | 0 |
| PARAM_VALUE | 1 | tsinfo->tx_types | 0 |
| DATA_SOURCE | 0 | phydev | $2 |
| MEM_ZERO | 1 | tsinfo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/ethtool/common.c __ethtool_get_ts_info() -> phy_ts_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->default_timestamp | 1 |
| PARAM_VALUE | 0 | phydev->mii_ts | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mii_ts->hwtstamp_set | 1-u64max |
| PARAM_VALUE | 0 | phydev->mii_ts->ts_info | 1-u64max |
| PARAM_VALUE | 1 | tsinfo | 4096-ptr_max |
| PARAM_VALUE | 1 | tsinfo->cmd | 65 |
| PARAM_VALUE | 1 | tsinfo->phc_index | (-1) |
| PARAM_VALUE | 1 | tsinfo->phc_phyindex | 0 |
| PARAM_VALUE | 1 | tsinfo->phc_qualifier | 0 |
| PARAM_VALUE | 1 | tsinfo->phc_source | 0 |
| PARAM_VALUE | 1 | tsinfo->rx_filters | 0 |
| PARAM_VALUE | 1 | tsinfo->so_timestamping | 0 |
| PARAM_VALUE | 1 | tsinfo->tx_types | 0 |
| DATA_SOURCE | 1 | tsinfo | $1 |
| MEM_ZERO | 1 | tsinfo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ethtool/common.c ethtool_phy_get_ts_info_by_phc() -> phy_ts_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mii_ts | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mii_ts->ts_info | 1-u64max |
| PARAM_VALUE | 1 | tsinfo | 4096-ptr_max |
| PARAM_VALUE | 1 | tsinfo->cmd | 65 |
| PARAM_VALUE | 1 | tsinfo->phc_index | (-1) |
| PARAM_VALUE | 1 | tsinfo->phc_phyindex | 0 |
| PARAM_VALUE | 1 | tsinfo->phc_qualifier | 0 |
| PARAM_VALUE | 1 | tsinfo->phc_source | 0 |
| PARAM_VALUE | 1 | tsinfo->rx_filters | 0 |
| PARAM_VALUE | 1 | tsinfo->so_timestamping | 0 |
| PARAM_VALUE | 1 | tsinfo->tx_types | 0 |
| DATA_SOURCE | 1 | tsinfo | $1 |
| MEM_ZERO | 1 | tsinfo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ethtool/common.c ethtool_phy_get_ts_info_by_phc() -> phy_ts_info()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mii_ts | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->mii_ts->ts_info | 1-u64max |
| PARAM_VALUE | 1 | tsinfo | 4096-ptr_max |
| PARAM_VALUE | 1 | tsinfo->cmd | 65 |
| PARAM_VALUE | 1 | tsinfo->phc_index | (-1) |
| PARAM_VALUE | 1 | tsinfo->phc_phyindex | 0 |
| PARAM_VALUE | 1 | tsinfo->phc_qualifier | 0 |
| PARAM_VALUE | 1 | tsinfo->phc_source | 0 |
| PARAM_VALUE | 1 | tsinfo->rx_filters | 0 |
| PARAM_VALUE | 1 | tsinfo->so_timestamping | 0 |
| PARAM_VALUE | 1 | tsinfo->tx_types | 0 |
| DATA_SOURCE | 1 | tsinfo | $1 |
| MEM_ZERO | 1 | tsinfo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |