Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_add_bufs() -> dpaa2_switch_free_bufs()

Type Parameter Key Value
PARAM_VALUE 0 ethsw 4096-ptr_max
PARAM_VALUE 1 buf_array 4096-ptr_max
PARAM_VALUE 2 count 1-7
BUF_SIZE 0 ethsw s32min-(-1),1-s32max
BUF_SIZE 0 ethsw s32min-(-1),1-s32max
BUF_SIZE 0 ethsw->workqueue (-1),512,528-8720
BUF_SIZE 1 buf_array 56
DATA_SOURCE 0 ethsw $0
FUZZY_MAX 2 count 7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ethsw unit_byte

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_drain_bp() -> dpaa2_switch_free_bufs()

Type Parameter Key Value
PARAM_VALUE 0 ethsw 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 1 buf_array 669950982430154752
PARAM_VALUE 2 count 0-255
BUF_SIZE 0 ethsw s32min-(-2),1-s32max
BUF_SIZE 0 ethsw s32min-(-2),1-s32max
BUF_SIZE 0 ethsw->workqueue (-1),512,528-8720
BUF_SIZE 1 buf_array 56
CAPPED_DATA 2 count 1
DATA_SOURCE 0 ethsw $0
DATA_SOURCE 2 count r dpaa2_io_service_acquire
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ethsw unit_byte