Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/phy/phylink.c phylink_create() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->config 4096-ptr_max
PARAM_VALUE 0 pl->config->type 0-1
PARAM_VALUE 0 pl->link_config.duplex 255
PARAM_VALUE 0 pl->link_config.pause 4
PARAM_VALUE 0 pl->link_config.speed (-1)
PARAM_VALUE 0 pl->link_poll.entry.pprev 0
PARAM_VALUE 0 pl->link_poll.flags 0-4194302
PARAM_VALUE 0 pl->link_poll.lockdep_map->name 0-255
PARAM_VALUE 0 pl->link_port 2,4
PARAM_VALUE 0 pl->mac_ops 0,4096-ptr_max
PARAM_VALUE 0 pl->pcs_state 0
PARAM_VALUE 0 pl->phydev_mutex.dep_map->name 0-255
PARAM_VALUE 0 pl->phydev_mutex.first_waiter 0
PARAM_VALUE 0 pl->phydev_mutex.magic 4096-ptr_max
PARAM_VALUE 0 pl->phydev_mutex.osq.tail.counter 0
PARAM_VALUE 0 pl->phydev_mutex.owner.counter 0
PARAM_VALUE 0 pl->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 pl->state_mutex.first_waiter 0
PARAM_VALUE 0 pl->state_mutex.magic 4096-ptr_max
PARAM_VALUE 0 pl->state_mutex.osq.tail.counter 0
PARAM_VALUE 0 pl->state_mutex.owner.counter 0
PARAM_VALUE 2 state 4096-ptr_max
PARAM_VALUE 2 state->duplex 255
PARAM_VALUE 2 state->pause 4
PARAM_VALUE 2 state->speed (-1)
BUF_SIZE 0 pl 816
BUF_SIZE 0 pl->config (-1),80
BUF_SIZE 0 pl->mac_ops (-1),80
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl r _kzalloc_noprof
FUZZY_MAX 0 pl->link_port 4
BIT_INFO 0 pl->link_port 0x0,0x6
HARD_MAX 0 pl->link_port 4
MEM_ZERO 0 pl->supported
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pl->config->lpi_timer_default 0-u32max
HOST_DATA 0 pl->eee_cfg.tx_lpi_timer 0-u32max
HALF_LOCKED2 global &dsa2_mutex

drivers/net/phy/phylink.c phylink_ethtool_ksettings_set() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->phydev 0
PARAM_VALUE 0 pl->req_link_an_mode 0,2-255
PARAM_VALUE 0 pl->sfp_bus 1-u64max
PARAM_VALUE 0 pl->sfp_interfaces 4096-ptr_max
PARAM_VALUE 1 supported 5990889254824214528
PARAM_VALUE 2 state 708157510228402176
PARAM_VALUE 2 state->duplex 0-1,255
PARAM_VALUE 2 state->interface 1-u32max
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 state->speed s32min-s32max[c]
HALF_LOCKED2 &port_priv->mac_lock
HALF_LOCKED2 &priv->mac_lock

drivers/net/phy/phylink.c phylink_ethtool_ksettings_set() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->phydev 0
PARAM_VALUE 0 pl->req_link_an_mode 0,2-255
PARAM_VALUE 0 pl->sfp_bus 0
PARAM_VALUE 1 supported 5990889254824214528
PARAM_VALUE 2 state 708157510228402176
PARAM_VALUE 2 state->duplex 0-1,255
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 state->speed s32min-s32max[c]
HALF_LOCKED2 &port_priv->mac_lock
HALF_LOCKED2 &priv->mac_lock

drivers/net/phy/phylink.c phylink_parse_fixedlink() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->cfg_link_an_mode 1
PARAM_VALUE 0 pl->config 4096-ptr_max
PARAM_VALUE 0 pl->config->type 0-1
PARAM_VALUE 0 pl->link_config.duplex 0-1,255
PARAM_VALUE 0 pl->link_config.pause 4
PARAM_VALUE 0 pl->link_poll.entry.pprev 0
PARAM_VALUE 0 pl->link_poll.flags 0-4194302
PARAM_VALUE 0 pl->link_poll.lockdep_map->name 0-255
PARAM_VALUE 0 pl->link_port 2,4
PARAM_VALUE 0 pl->mac_ops 0,4096-ptr_max
PARAM_VALUE 0 pl->pcs_state 0
PARAM_VALUE 0 pl->phydev_mutex.dep_map->name 0-255
PARAM_VALUE 0 pl->phydev_mutex.first_waiter 0
PARAM_VALUE 0 pl->phydev_mutex.magic 4096-ptr_max
PARAM_VALUE 0 pl->phydev_mutex.osq.tail.counter 0
PARAM_VALUE 0 pl->phydev_mutex.owner.counter 0
PARAM_VALUE 0 pl->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 pl->state_mutex.first_waiter 0
PARAM_VALUE 0 pl->state_mutex.magic 4096-ptr_max
PARAM_VALUE 0 pl->state_mutex.osq.tail.counter 0
PARAM_VALUE 0 pl->state_mutex.owner.counter 0
PARAM_VALUE 0 *pl->netdev->name 0-255
PARAM_VALUE 2 state 4096-ptr_max
PARAM_VALUE 2 state->duplex 0-1,255
PARAM_VALUE 2 state->pause 4
BUF_SIZE 0 pl 816
BUF_SIZE 0 pl->config (-1),80
BUF_SIZE 0 pl->link_gpio s32min-(-1),1-s32max
BUF_SIZE 0 pl->mac_ops (-1),80
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl $0
FUZZY_MAX 0 pl->link_config.duplex 1
FUZZY_MAX 0 pl->link_port 4
BIT_INFO 0 pl->link_port 0x0,0x6
HARD_MAX 0 pl->link_config.duplex 255
HARD_MAX 0 pl->link_port 4
MEM_ZERO 0 pl->supported
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 pl->config->lpi_timer_default 0-u32max
HOST_DATA 0 pl->eee_cfg.tx_lpi_timer 0-u32max
HALF_LOCKED2 global &dsa2_mutex

drivers/net/phy/phylink.c phylink_parse_mode() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->cfg_link_an_mode 2
PARAM_VALUE 0 pl->config 4096-ptr_max
PARAM_VALUE 0 pl->config->type 0-1
PARAM_VALUE 0 pl->link_config.duplex 255
PARAM_VALUE 0 pl->link_config.interface 4,9-13,16,18-19,22-24,27-31,33-36
PARAM_VALUE 0 pl->link_config.pause 4
PARAM_VALUE 0 pl->link_config.speed (-1)
PARAM_VALUE 0 pl->link_poll.entry.pprev 0
PARAM_VALUE 0 pl->link_poll.flags 0-4194302
PARAM_VALUE 0 pl->link_poll.lockdep_map->name 0-255
PARAM_VALUE 0 pl->link_port 2,4
PARAM_VALUE 0 pl->mac_ops 0,4096-ptr_max
PARAM_VALUE 0 pl->pcs_state 0
PARAM_VALUE 0 pl->phydev_mutex.dep_map->name 0-255
PARAM_VALUE 0 pl->phydev_mutex.first_waiter 0
PARAM_VALUE 0 pl->phydev_mutex.magic 4096-ptr_max
PARAM_VALUE 0 pl->phydev_mutex.osq.tail.counter 0
PARAM_VALUE 0 pl->phydev_mutex.owner.counter 0
PARAM_VALUE 0 pl->state_mutex.dep_map->name 0-255
PARAM_VALUE 0 pl->state_mutex.first_waiter 0
PARAM_VALUE 0 pl->state_mutex.magic 4096-ptr_max
PARAM_VALUE 0 pl->state_mutex.osq.tail.counter 0
PARAM_VALUE 0 pl->state_mutex.owner.counter 0
PARAM_VALUE 0 *pl->netdev->name 0-255
PARAM_VALUE 2 state 4096-ptr_max
PARAM_VALUE 2 state->duplex 255
PARAM_VALUE 2 state->interface 4,9-13,16,18-19,22-24,27-31,33-36
PARAM_VALUE 2 state->pause 4
PARAM_VALUE 2 state->speed (-1)
BUF_SIZE 0 pl 816
BUF_SIZE 0 pl->config (-1),80
BUF_SIZE 0 pl->mac_ops (-1),80
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl $0
FUZZY_MAX 0 pl->link_port 4
BIT_INFO 0 pl->link_port 0x0,0x6
HARD_MAX 0 pl->link_port 4
MEM_ZERO 0 pl->supported
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 pl->config->lpi_timer_default 0-u32max
HOST_DATA 0 pl->eee_cfg.tx_lpi_timer 0-u32max
HALF_LOCKED2 global &dsa2_mutex

drivers/net/phy/phylink.c phylink_sfp_config_optical() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->config 4096-ptr_max
PARAM_VALUE 0 pl->config->mac_capabilities 0-u32max
PARAM_VALUE 0 pl->mac_ops 4096-ptr_max
PARAM_VALUE 0 pl->sfp_interfaces 4096-ptr_max
PARAM_VALUE 0 *pl->netdev->name 0-255
PARAM_VALUE 1 supported 7028104090558074880
PARAM_VALUE 2 state 1168967201578229760
PARAM_VALUE 2 state->duplex 255
PARAM_VALUE 2 state->interface 1-u32max
PARAM_VALUE 2 state->pause 4
PARAM_VALUE 2 state->speed (-1)
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl $0
MEM_ZERO 2 state
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sfp->sm_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct sfp)->sm_mutex

drivers/net/phy/phylink.c phylink_sfp_config_phy() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->config 4096-ptr_max
PARAM_VALUE 1 supported 9060267061213978624
PARAM_VALUE 2 state 1648383192965607424
PARAM_VALUE 2 state->duplex 255
PARAM_VALUE 2 state->interface 0
PARAM_VALUE 2 state->pause 4
PARAM_VALUE 2 state->speed (-1)
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl $0
MEM_ZERO 0 pl->sfp_interfaces
MEM_ZERO 2 state
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sfp->sm_mutex
HALF_LOCKED2 global &rtnl_mutex

drivers/net/phy/phylink.c phylink_validate_phy() -> phylink_validate()

Type Parameter Key Value
PARAM_VALUE 0 pl 4096-ptr_max
PARAM_VALUE 0 pl->cfg_link_an_mode 0,2-255
PARAM_VALUE 0 pl->config 4096-ptr_max
PARAM_VALUE 0 pl->netdev 0,4096-ptr_max
PARAM_VALUE 0 pl->netdev->dev.parent->iommu->attach_deferred 0-1
PARAM_VALUE 0 pl->netdev->dev.parent->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 pl->netdev->link_topo 1-u64max
PARAM_VALUE 0 pl->netdev->link_topo->phys.xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 pl->netdev->phydev 4096-ptr_max
PARAM_VALUE 0 pl->netdev->phydev->attached_dev 4096-ptr_max
PARAM_VALUE 0 pl->netdev->phydev->mdio.bus 4096-ptr_max
PARAM_VALUE 0 pl->netdev->phydev->phy_link_change 280458870969180160
PARAM_VALUE 1 supported 4771737432467046400
PARAM_VALUE 2 state 1197266129570156544
PARAM_VALUE 2 state->interface 0
PARAM_VALUE 2 state->rate_matching s32min-1
BUF_SIZE 0 pl (-1),816
BUF_SIZE 0 pl (-1),816
BUF_SIZE 1 supported 16
BUF_SIZE 1 supported 16
DATA_SOURCE 0 pl $0
DATA_SOURCE 1 supported $2
DATA_SOURCE 2 state $3
MEM_ZERO 2 state
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 pl->phydev->skb->extensions
NO_OVERFLOW_SIMPLE 0 pl->sfp_bus->kref.file->d_fsdata->d_fsdata