Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_flower.c ocelot_flower_parse_egress_port() -> (struct ocelot_ops)->netdev_to_port()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 0 ocelot->ops 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->netdev_to_port 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
DATA_SOURCE 0 ocelot $0
CONTAINER 0 -8-24+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/ethernet/mscc/ocelot_flower.c ocelot_flower_parse_indev() -> (struct ocelot_ops)->netdev_to_port()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 0 ocelot->ops 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap 4096-ptr_max
PARAM_VALUE 1 dev 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 1 dev->ifindex 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 dev r __dev_get_by_index
CONTAINER 0 -8-24+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock