Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot.c __ocelot_mact_learn() -> ocelot_mact_select()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 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.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ocelot->ops->psfp_filter_add 0,2575513632020865024
PARAM_VALUE 0 ocelot->ops->psfp_filter_del 0,4169167152863686656
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot->devlink_ports (-1)-120360
BUF_SIZE 0 ocelot->ports (-1)-2040
BUF_SIZE 1 mac (-1),6,14,32
BUF_SIZE 1 mac (-1),6,14,32
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 mac $2
DATA_SOURCE 2 vid $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *mac 0-255
USER_DATA 2 vid 1-4094[c]
NO_OVERFLOW_SIMPLE 0 ocelot->num_phys_ports
UNITS 0 ocelot unit_byte
UNITS 2 vid unit_array_size
USER_PTR 1 mac
LOCK2 0 &ocelot->mact_lock
HALF_LOCKED2 &psfp->lock
HALF_LOCKED2 0 &ocelot->fwd_domain_lock
TYPE_LOCK (struct ocelot)->mact_lock

drivers/net/ethernet/mscc/ocelot.c ocelot_mact_forget() -> ocelot_mact_select()

Type Parameter Key Value
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 1 mac (-1),6,14,32
BUF_SIZE 1 mac (-1),6,14,32
CAPPED_DATA 0 &ocelot->mact_lock 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 mac $1
DATA_SOURCE 2 vid $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *mac 0-255
UNITS 0 ocelot unit_byte
UNITS 2 vid unit_array_size
USER_PTR 1 mac
LOCK2 0 &ocelot->mact_lock
HALF_LOCKED2 &lag->fdb_lock
HALF_LOCKED2 0 &ocelot->fwd_domain_lock
TYPE_LOCK (struct ocelot)->mact_lock

drivers/net/ethernet/mscc/ocelot.c ocelot_mact_lookup() -> ocelot_mact_select()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 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.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ocelot->mact_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ocelot->ops 4096-ptr_max
PARAM_VALUE 0 ocelot->ops->psfp_filter_add 0,2575513632020865024
PARAM_VALUE 0 ocelot->ops->psfp_filter_del 0,4169167152863686656
PARAM_VALUE 0 ocelot->psfp.lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->psfp.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ocelot->psfp.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->psfp.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ocelot->psfp.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->psfp.lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->psfp.lock.wait_lock.owner (-1)
PARAM_VALUE 0 ocelot->psfp.lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mac 5525539196310687744
PARAM_VALUE 2 vid 0-u16max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 1 mac 6
BUF_SIZE 1 mac 6
CAPPED_DATA 0 &ocelot->mact_lock 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 mac $2
DATA_SOURCE 2 vid $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &psfp->lock
LOCK2 0 &ocelot->mact_lock
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock
TYPE_LOCK (struct ocelot)->mact_lock
TYPE_LOCK (struct ocelot_psfp_list)->lock