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_wait_for_completion()

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->map 4096-ptr_max
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
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 ocelot->num_phys_ports
UNITS 0 ocelot unit_byte
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_flush() -> ocelot_mact_wait_for_completion()

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->map 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
CAPPED_DATA 0 &ocelot->mact_lock 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
LOCK2 0 &ocelot->mact_lock
TYPE_LOCK (struct ocelot)->mact_lock

drivers/net/ethernet/mscc/ocelot.c ocelot_mact_flush() -> ocelot_mact_wait_for_completion()

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->map 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
CAPPED_DATA 0 &ocelot->mact_lock 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
LOCK2 0 &ocelot->mact_lock
TYPE_LOCK (struct ocelot)->mact_lock

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

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->map 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 0 &ocelot->mact_lock 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
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_wait_for_completion()

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->map 4096-ptr_max
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
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 0 &ocelot->mact_lock 1
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
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

drivers/net/ethernet/mscc/ocelot.c ocelot_mact_read() -> ocelot_mact_wait_for_completion()

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->map 4096-ptr_max
PARAM_VALUE 0 ocelot->num_mact_rows 1-s32max
PARAM_VALUE 0 ocelot->regfields 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
LOCK2 0 &ocelot->mact_lock
TYPE_LOCK (struct ocelot)->mact_lock