Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/microchip/lan966x/lan966x_mac.c lan966x_mac_del_entry() -> lan966x_mac_forget_locked()

Type Parameter Key Value
PARAM_VALUE 0 lan966x 4096-ptr_max
PARAM_VALUE 0 lan966x->mac_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 mac 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 1 mac 6
CAPPED_DATA 0 &lan966x->mac_entries 1
CAPPED_DATA 2 vid 1
DATA_SOURCE 0 lan966x $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 2 vid unit_array_size
LOCK2 0 &lan966x->mac_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct lan966x)->mac_lock

drivers/net/ethernet/microchip/lan966x/lan966x_mac.c lan966x_mac_forget() -> lan966x_mac_forget_locked()

Type Parameter Key Value
PARAM_VALUE 0 lan966x 4096-ptr_max
PARAM_VALUE 0 lan966x->mac_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 *lan966x->vlan_mask 0-u16max
PARAM_VALUE 3 type 1-3
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
DATA_SOURCE 0 lan966x $0
DATA_SOURCE 1 mac $1
DATA_SOURCE 2 vid $2
DATA_SOURCE 3 type $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 2 vid unit_array_size
LOCK2 0 &lan966x->mac_lock
TYPE_LOCK (struct lan966x)->mac_lock

drivers/net/ethernet/microchip/lan966x/lan966x_mac.c lan966x_mac_lag_remove_port_entry() -> lan966x_mac_forget_locked()

Type Parameter Key Value
PARAM_VALUE 0 lan966x 4096-ptr_max
PARAM_VALUE 0 lan966x->mac_lock.rlock.dep_map->name 0-255
PARAM_VALUE 3 type 1
BUF_SIZE 1 mac 6
CAPPED_DATA 0 lan966x->num_phys_ports 1
CAPPED_DATA 0 &lan966x->mac_entries 1
DATA_SOURCE 0 lan966x $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 2 vid unit_array_size
LOCK2 0 &lan966x->mac_lock
TYPE_LOCK (struct lan966x)->mac_lock

drivers/net/ethernet/microchip/lan966x/lan966x_mac.c lan966x_mac_lag_replace_port_entry() -> lan966x_mac_forget_locked()

Type Parameter Key Value
PARAM_VALUE 0 lan966x 4096-ptr_max
PARAM_VALUE 0 lan966x->mac_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 lan966x->ports 4096-ptr_max
PARAM_VALUE 3 type 1
BUF_SIZE 1 mac 6
CAPPED_DATA 0 lan966x->num_phys_ports 1
CAPPED_DATA 0 &lan966x->mac_entries 1
DATA_SOURCE 0 lan966x $0
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
UNITS 2 vid unit_array_size
LOCK2 0 &lan966x->mac_lock
TYPE_LOCK (struct lan966x)->mac_lock

drivers/net/ethernet/microchip/lan966x/lan966x_mac.c lan966x_mac_purge_entries() -> lan966x_mac_forget_locked()

Type Parameter Key Value
PARAM_VALUE 0 lan966x 4096-ptr_max
PARAM_VALUE 0 lan966x->ana_irq s32min-0
PARAM_VALUE 0 lan966x->fdma_ndev 0
PARAM_VALUE 0 lan966x->mac_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 lan966x->napi->thread->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 lan966x->napi.dev_list.next->prev 4096-ptr_max
PARAM_VALUE 0 lan966x->napi.gro.bitmask 0
PARAM_VALUE 0 lan966x->napi.gro.cached_napi_id 0
PARAM_VALUE 0 lan966x->napi.gro.rx_count 0
PARAM_VALUE 0 lan966x->napi.index (-1)
PARAM_VALUE 0 lan966x->napi.skb 0
PARAM_VALUE 0 lan966x->napi.thread 0
PARAM_VALUE 0 lan966x->stats_queue 4096-ptr_max
PARAM_VALUE 0 lan966x->stats_queue->flags 0-4294967295
PARAM_VALUE 0 lan966x->stats_queue->flush_color s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->nr_drainers s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->nr_pwqs_to_flush.counter s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->rescuer 0
PARAM_VALUE 0 lan966x->stats_queue->work_color s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev 0
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev->driver_data->cis_virt (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.devres_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->callback->add 5235430000054906880
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->callback->early_resume 6956900869090054144
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->callback->remove 1719268733136482304
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->callback->requery 4713442613417914368
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->callback->resume 5068206944467017728
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->callback->suspend 2738892915008757760
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->callback->validate 4934365872137547776
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->cdev->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->cis_mem.flags 0,2-254
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->d_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->detaching.counter s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->device_count 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->ops_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->sfd_lock.dep_map->name 0-255
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->sfd_lock.raw_lock.cnts.counter s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->skt_mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.driver_data->skt_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.parent->release.timer.is_hard 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.parent->release.timer.is_lazy 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.parent->release.timer.is_queued 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.parent->release.timer.is_soft 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.p->dead 1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.p->knode_class.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.p->knode_parent.n_ref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.parent->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.parent->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.parent->kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.parent->kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.power.completion.done 4294967295
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.power.last_status s32min-0,2,4-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.power.qos (-19),0
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.power.runtime_status 2
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.power.usage_count.counter 0-s32max
PARAM_VALUE 0 lan966x->stats_queue->wq_dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 lan966x->stats_work.work.lockdep_map->name 0-255
PARAM_VALUE 0 lan966x->vcap_ctrl 0,4096-ptr_max
PARAM_VALUE 0 lan966x->xtr_irq (-6)
PARAM_VALUE 0 *lan966x->stats_queue->lockdep_map->name 0-255
PARAM_VALUE 0 *lan966x->stats_queue->rescuer->task->delays->lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 3 type 1
BUF_SIZE 0 lan966x s32min-(-2),1-s32max
BUF_SIZE 0 lan966x s32min-(-2),1-s32max
BUF_SIZE 1 mac 6
CAPPED_DATA 0 lan966x->num_phys_ports 1
CAPPED_DATA 0 lan966x->vcap_ctrl 1
CAPPED_DATA 0 &lan966x->mac_entries 1
DATA_SOURCE 0 lan966x $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 lan966x unit_byte
UNITS 2 vid unit_array_size
LOCK2 &_dev->mutex
LOCK2 0 &lan966x->mac_lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct lan966x)->mac_lock