Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/net/dsa/ocelot/felix.c felix_port_enable() -> dsa_port_simple_hsr_join()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->dst 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->ops->port_enable 1-u64max
PARAM_VALUE 0 ds->priv 4096-ptr_max
PARAM_VALUE 2 hsr 1-u64max
PARAM_VALUE 3 extack 0
CAPPED_DATA 0 ds 1
DATA_SOURCE 0 ds $0
DATA_SOURCE 1 port $1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 hsr unit_byte
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 global &rtnl_mutex

drivers/net/dsa/ocelot/felix.c felix_port_hsr_join() -> dsa_port_simple_hsr_join()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->dst 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->ops->port_hsr_join 1-u64max
PARAM_VALUE 2 hsr 4096-ptr_max
PARAM_VALUE 2 hsr->flags 1024-u32max
PARAM_VALUE 2 hsr->netdev_ops 4096-ptr_max
CAPPED_DATA 0 ds 1
DATA_SOURCE 0 ds $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 hsr $2
DATA_SOURCE 3 extack $3

net/dsa/port.c dsa_port_hsr_join() -> (struct dsa_switch_ops)->port_hsr_join()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->ops->port_hsr_join 1-u64max
PARAM_VALUE 2 hsr 4096-ptr_max
PARAM_VALUE 2 hsr->flags 1024-u32max
PARAM_VALUE 2 hsr->netdev_ops 4096-ptr_max
DATA_SOURCE 2 hsr $1
DATA_SOURCE 3 extack $2
CONTAINER 0 -880-72+0 $(-1)