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_net.c ocelot_mact_work() -> ocelot_mact_forget()

Type Parameter Key Value
BUF_SIZE 1 mac 6
NOCHECK_CALL
UNITS 0 ocelot unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mscc/ocelot_net.c ocelot_port_set_mac_address() -> ocelot_mact_forget()

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.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ocelot->mact_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 2 vid 0
BUF_SIZE 1 mac 32
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
HALF_LOCKED2 global &dev_addr_sem
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mscc/ocelot_net.c ocelot_vlan_vid_del() -> ocelot_mact_forget()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->mirror 0,4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next 4096-ptr_max
PARAM_VALUE 0 ocelot->vcap_pol.pol_list.prev->next->next 4096-ptr_max
PARAM_VALUE 2 vid 1-u16max
BUF_SIZE 1 mac 32
CAPPED_DATA 2 vid 1
DATA_SOURCE 2 vid $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
UNITS 2 vid unit_array_size

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

Type Parameter Key Value
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
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 mac $2
DATA_SOURCE 2 vid $3 [m]
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *mac 0-255
UNITS 0 ocelot unit_byte
UNITS 2 vid unit_array_size
USER_PTR 1 mac

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

Type Parameter Key Value
PARAM_VALUE 0 ocelot->fwd_domain_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fwd_domain_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ocelot->fwd_domain_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->fwd_domain_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 mac 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 1 mac 6,14,32
BUF_SIZE 1 mac 6,14,32
CAPPED_DATA 0 &ocelot->fwd_domain_lock 1
CAPPED_DATA 0 &ocelot->lag_fdbs 1
CAPPED_DATA 2 vid 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 mac $2
DATA_SOURCE 2 vid $3 [m]
NOCHECK_CALL
UNITS 0 ocelot unit_byte
LOCK2 &lag->fdb_lock
LOCK2 0 &ocelot->fwd_domain_lock
TYPE_LOCK (struct dsa_lag)->fdb_lock
TYPE_LOCK (struct ocelot)->fwd_domain_lock

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

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->fwd_domain_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fwd_domain_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ocelot->fwd_domain_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ocelot->fwd_domain_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ocelot->fwd_domain_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ocelot->fwd_domain_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->ports 4096-ptr_max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 1 mac 6
CAPPED_DATA 0 ocelot->num_phys_ports 1
CAPPED_DATA 0 &ocelot->lag_fdbs 1
DATA_SOURCE 0 ocelot $0
UNITS 0 ocelot unit_byte
LOCK2 0 &ocelot->fwd_domain_lock
TYPE_LOCK (struct ocelot)->fwd_domain_lock

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

Type Parameter Key Value
PARAM_VALUE 1 mac 6022085301385666560
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 1 mac 6
DATA_SOURCE 0 ocelot $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
UNITS 2 vid unit_array_size
HALF_LOCKED2 global &dsa2_mutex
HALF_LOCKED2 global &rtnl_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 1 mac 4438226320786415616
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 1 mac 6
CAPPED_DATA 2 vid 1
DATA_SOURCE 0 ocelot $0
NOCHECK_CALL
UNITS 0 ocelot unit_byte
UNITS 2 vid unit_array_size

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

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 1 mac 5748861654294994944
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 1 mac 6
CAPPED_DATA 2 vid 1
DATA_SOURCE 0 ocelot $0
NOCHECK_CALL
UNITS 0 ocelot unit_byte
UNITS 2 vid unit_array_size

drivers/net/ethernet/mscc/ocelot_mrp.c ocelot_mrp_del_mac() -> ocelot_mact_forget()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 vid 0
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 1 mac 6
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
NOCHECK_CALL
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot_mrp.c ocelot_mrp_del_mac() -> ocelot_mact_forget()

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.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ocelot->mact_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ocelot->map 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 2 vid 0
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 1 mac 6
CAPPED_DATA 0 ocelot->num_phys_ports 1
DATA_SOURCE 0 ocelot $0
NOCHECK_CALL
UNITS 0 ocelot unit_byte