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_vsc7514.c ocelot_xtr_irq_handler() -> ocelot_drain_cpu_queue()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->inj_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 1 grp 0
DATA_SOURCE 0 ocelot $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ocelot->inj_lock
TYPE_LOCK (struct ocelot)->inj_lock

drivers/net/dsa/ocelot/felix.c felix_check_xtr_pkt() -> ocelot_drain_cpu_queue()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->inj_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 1 grp 0
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 0 ocelot $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
LOCK2 0 &ocelot->inj_lock
HALF_LOCKED2 rcu_read
TYPE_LOCK (struct ocelot)->inj_lock

drivers/net/dsa/ocelot/felix.c felix_tag_8021q_setup() -> ocelot_drain_cpu_queue()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->xtr_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 grp 0
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
LOCK2 bh
LOCK2 0 &ocelot->xtr_lock
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ocelot)->xtr_lock