Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_attr_stp_state_set() -> dpaa2_switch_port_set_learning()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->netdev | 4096-ptr_max |
| PARAM_VALUE | 1 | enable | 0 |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_attr_stp_state_set() -> dpaa2_switch_port_set_learning()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->netdev | 4096-ptr_max |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_bond_leave() -> dpaa2_switch_port_set_learning()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->fdb | 4096-ptr_max |
| DATA_SOURCE | 1 | enable | r br_port_flag_is_set |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_bridge_flags() -> dpaa2_switch_port_set_learning()
| Type | Parameter | Key | Value |
|---|
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_bridge_join() -> dpaa2_switch_port_set_learning()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port_priv->fdb | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->pvid | 4095 |
| PARAM_VALUE | 0 | *port_priv->ethsw_data->vlans | 0-255 |
| PARAM_VALUE | 0 | *port_priv->netdev->name | 0 |
| PARAM_VALUE | 0 | *port_priv->vlans | 4,253-254 |
| DATA_SOURCE | 1 | enable | r br_port_flag_is_set |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_bridge_leave() -> dpaa2_switch_port_set_learning()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->bcast_flood | 1 |
| PARAM_VALUE | 0 | port_priv->ethsw_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | port_priv->fdb | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->netdev->dev.parent->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port_priv->netdev->dev.parent->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->netdev->dev.parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->netdev->dev.parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->netdev->dev.parent->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | port_priv->ucast_flood | 1 |
| PARAM_VALUE | 0 | *port_priv->netdev->name | 0-255 |
| PARAM_VALUE | 1 | enable | 0 |
| CAPPED_DATA | 0 | port_priv->ethsw_data->sw_attr.num_ifs | 1 |
| CAPPED_DATA | 0 | port_priv->fdb | 1 |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_probe_port() -> dpaa2_switch_port_set_learning()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | port_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->bcast_flood | 1 |
| PARAM_VALUE | 0 | port_priv->ethsw_data | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->fdbs | 16,4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->filter_blocks | 16,4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->lags | 16,4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | port_priv->ethsw_data->mc_io->spinlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->ports | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->ethsw_data->sw_attr.num_ifs | 1-u16max |
| PARAM_VALUE | 0 | port_priv->fdb | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->fdb->bridge_dev | 0 |
| PARAM_VALUE | 0 | port_priv->fdb->in_use | 1 |
| PARAM_VALUE | 0 | port_priv->filter_block | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->filter_block->ethsw->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->filter_block->ethsw->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->filter_block->ethsw->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->filter_block->ethsw->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | port_priv->filter_block->ethsw->mc_io->spinlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port_priv->filter_block->ethsw->mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | port_priv->filter_block->ethsw->mc_io->spinlock.owner_cpu | u32max |
| PARAM_VALUE | 0 | port_priv->idx | 0-65534 |
| PARAM_VALUE | 0 | port_priv->lag | 0 |
| PARAM_VALUE | 0 | port_priv->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port_priv->mac_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | port_priv->mac_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | port_priv->mac_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | port_priv->mac_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | port_priv->netdev->priv->ethsw_data->mc_io->spinlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | port_priv->netdev->priv->ethsw_data->mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | port_priv->netdev->priv->ethsw_data->mc_io->spinlock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | port_priv->netdev->priv->ethsw_data->sw_attr.broadcast_cfg | 0-15 |
| PARAM_VALUE | 0 | port_priv->netdev->priv->ethsw_data->sw_attr.component_type | 0-15 |
| PARAM_VALUE | 0 | port_priv->netdev->priv->ethsw_data->sw_attr.flooding_cfg | 0-15 |
| PARAM_VALUE | 0 | port_priv->netdev->priv->pvid | 0-u16max |
| PARAM_VALUE | 0 | port_priv->stp_state | 3 |
| PARAM_VALUE | 0 | port_priv->ucast_flood | 1 |
| PARAM_VALUE | 0 | *port_priv->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *port_priv->netdev->priv->ethsw_data->vlans | 1 |
| PARAM_VALUE | 0 | *port_priv->netdev->priv->vlans | 1-2,4,253 |
| PARAM_VALUE | 1 | enable | 0 |
| BUF_SIZE | 0 | port_priv->ethsw_data | 5568 |
| CAPPED_DATA | 0 | port_priv->ethsw_data->sw_attr.num_ifs | 1 |
| CAPPED_DATA | 0 | port_priv->idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | port_priv->ethsw_data->sw_attr.num_ifs | |
| NO_OVERFLOW_SIMPLE | 0 | port_priv->idx |