Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_del_mact_entry() -> sparx5_mact_forget()

Type Parameter Key Value
PARAM_VALUE 0 sparx5->mact_lock.dep_map->name 0-255
PARAM_VALUE 0 sparx5->mact_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sparx5->mact_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sparx5->mact_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sparx5->mact_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 sparx5->mact_lock.wait_lock.owner (-1)
PARAM_VALUE 0 sparx5->mact_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mac 4096-ptr_max
BUF_SIZE 1 mac 6,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128
BUF_SIZE 1 mac 6,24,32,40,48,56,64,72,80,88,136,144,152,184,480,1040,1128
CAPPED_DATA 0 &sparx5->mact_entries 1
CAPPED_DATA 0 &sparx5->mact_lock 1
DATA_SOURCE 0 sparx5 $0
DATA_SOURCE 1 mac $1
NOCHECK_CALL
UNITS 2 vid unit_array_size
LOCK2 global &rtnl_mutex
LOCK2 0 &sparx5->mact_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct sparx5)->mact_lock

drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c sparx5_mc_unsync() -> sparx5_mact_forget()

Type Parameter Key Value
BUF_SIZE 1 mac 32
BUF_SIZE 1 mac 32
DATA_SOURCE 1 mac $1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 vid unit_array_size

drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_handle_port_mdb_del() -> sparx5_mact_forget()

Type Parameter Key Value
PARAM_VALUE 0 sparx5 4096-ptr_max
PARAM_VALUE 0 sparx5->mdb_lock.dep_map->name 0-255
PARAM_VALUE 0 sparx5->mdb_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 sparx5->mdb_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 sparx5->mdb_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 sparx5->mdb_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 sparx5->mdb_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 sparx5->mdb_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 sparx5->mdb_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 sparx5->mdb_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 sparx5->mdb_lock.wait_lock.dep_map->name 0-255
BUF_SIZE 1 mac 6
CAPPED_DATA 0 &sparx5->mdb_lock 1
CAPPED_DATA 2 vid 1
NOCHECK_CALL
UNITS 2 vid unit_array_size

drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_handle_port_vlan_del() -> sparx5_mact_forget()

Type Parameter Key Value
PARAM_VALUE 0 sparx5 4096-ptr_max
BUF_SIZE 1 mac 32
DATA_SOURCE 2 vid $2
NOCHECK_CALL
UNITS 2 vid unit_array_size

drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_port_add_addr() -> sparx5_mact_forget()

Type Parameter Key Value
BUF_SIZE 1 mac 32
NOCHECK_CALL
UNITS 2 vid unit_array_size

drivers/net/ethernet/microchip/sparx5/sparx5_switchdev.c sparx5_port_bridge_join() -> sparx5_mact_forget()

Type Parameter Key Value
PARAM_VALUE 0 sparx5 4096-ptr_max
PARAM_VALUE 0 sparx5->bridge_mask 4096-ptr_max
PARAM_VALUE 0 sparx5->hw_bridge_dev 4096-ptr_max
PARAM_VALUE 2 vid 0
BUF_SIZE 1 mac 32
CAPPED_DATA 0 sparx5->hw_bridge_dev 1
NOCHECK_CALL

drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c sparx5_set_mac_address() -> sparx5_mact_forget()

Type Parameter Key Value
BUF_SIZE 1 mac 32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 vid unit_array_size
HALF_LOCKED2 global &dev_addr_sem
HALF_LOCKED2 global &rtnl_mutex