Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_net.c ocelot_change_mtu() -> ocelot_port_set_maxlen()

Type Parameter Key Value
PARAM_VALUE 2 sdu 0-s32max,18446744071562067968-u64max
DATA_SOURCE 2 sdu $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 sdu 0-s32max[c]
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/ethernet/mscc/ocelot.c ocelot_init_port() -> ocelot_port_set_maxlen()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ocelot->mact_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->mact_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ocelot->mact_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->mact_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ocelot->mact_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ocelot->mact_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->mm->verify_status 0-5
PARAM_VALUE 0 ocelot->ops->wm_enc 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 sdu 1500
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot->devlink_ports (-1)-120360
BUF_SIZE 0 ocelot->ports (-1)-2040
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 port $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ocelot->num_phys_ports
UNITS 0 ocelot unit_byte
UNITS 1 port unit_array_size

drivers/net/dsa/ocelot/felix.c felix_change_mtu() -> ocelot_port_set_maxlen()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 sdu 0-s32max,18446744071562067968-u64max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 1 port $1
DATA_SOURCE 2 sdu $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 sdu 0-s32max[c]
UNITS 0 ocelot unit_byte