Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_probe() -> dpaa2_switch_remove_port()

Type Parameter Key Value
PARAM_VALUE 0 ethsw 4096-ptr_max
PARAM_VALUE 0 ethsw->dev 4096-ptr_max
PARAM_VALUE 0 ethsw->fdbs 16,4096-ptr_max
PARAM_VALUE 0 ethsw->filter_blocks 16,4096-ptr_max
PARAM_VALUE 0 ethsw->fq 4096-ptr_max
PARAM_VALUE 0 ethsw->lags 16,4096-ptr_max
PARAM_VALUE 0 ethsw->mc_io 4096-ptr_max
PARAM_VALUE 0 ethsw->mc_io->flags 1
PARAM_VALUE 0 ethsw->mc_io->spinlock.dep_map->name 0-255
PARAM_VALUE 0 ethsw->mc_io->spinlock.magic 0,3735899821
PARAM_VALUE 0 ethsw->mc_io->spinlock.owner 0,(-1)
PARAM_VALUE 0 ethsw->mc_io->spinlock.owner_cpu 0,4294967295
PARAM_VALUE 0 ethsw->ports 16,4096-ptr_max
PARAM_VALUE 1 port_idx 0-65533
BUF_SIZE 0 ethsw 5568
BUF_SIZE 0 ethsw->dev 1616
BUF_SIZE 0 ethsw->fdbs 0-1048560
BUF_SIZE 0 ethsw->filter_blocks 0-4194240
BUF_SIZE 0 ethsw->lags 200
BUF_SIZE 0 ethsw->ports 0-524280
CAPPED_DATA 0 ethsw->sw_attr.num_ifs 1
DATA_SOURCE 0 ethsw r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 ethsw->mirror_port
NO_OVERFLOW_SIMPLE 0 ethsw->sw_attr.num_ifs
NO_OVERFLOW_SIMPLE 1 port_idx
UNITS 1 port_idx unit_array_size

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_remove() -> dpaa2_switch_remove_port()

Type Parameter Key Value
PARAM_VALUE 0 ethsw 4096-ptr_max
PARAM_VALUE 0 ethsw->fq 4096-ptr_max
PARAM_VALUE 0 ethsw->mc_io 4096-ptr_max
PARAM_VALUE 0 ethsw->mc_io->spinlock.dep_map->name 0-255
PARAM_VALUE 0 ethsw->mc_io->spinlock.owner (-1)
PARAM_VALUE 0 ethsw->mc_io->spinlock.owner_cpu u32max
PARAM_VALUE 0 ethsw->sw_attr.num_ifs 1-u16max
PARAM_VALUE 1 port_idx 0-65534
BUF_SIZE 0 ethsw s32min-(-2),1-s32max
BUF_SIZE 0 ethsw s32min-(-2),1-s32max
CAPPED_DATA 0 ethsw->sw_attr.num_ifs 1
CAPPED_DATA 1 port_idx 1
PARAM_COMPARE 0 ethsw->sw_attr.num_ifs > $1
PARAM_COMPARE 1 port_idx < $0->sw_attr.num_ifs
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ethsw unit_byte
UNITS 1 port_idx unit_array_size
HALF_LOCKED2 &dev->mutex