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_block_bind() -> dpaa2_switch_port_acl_tbl_bind()

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->filter_block 0
PARAM_VALUE 1 block 4096-ptr_max
BUF_SIZE 1 block (-1),16,32,40,48,88,208,544,936
BUF_SIZE 1 block (-1),16,32,40,48,88,208,544,936
DATA_SOURCE 0 port_priv $0
DATA_SOURCE 1 block $1
PARAM_COMPARE 1 block > $0->filter_block
PARAM_COMPARE 1 block > $0->filter_block
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &nft_net->commit_mutex

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_block_unbind() -> dpaa2_switch_port_acl_tbl_bind()

Type Parameter Key Value
PARAM_VALUE 0 port_priv 4096-ptr_max
PARAM_VALUE 0 port_priv->ethsw_data 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->filter_block 0
PARAM_VALUE 1 block 4096-ptr_max
PARAM_VALUE 1 block->in_use 1
DATA_SOURCE 0 port_priv $0
DATA_SOURCE 1 block r dpaa2_switch_filter_block_get_unused
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &nft_net->commit_mutex

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_init() -> dpaa2_switch_port_acl_tbl_bind()

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 4096-ptr_max
PARAM_VALUE 0 port_priv->ethsw_data->filter_blocks 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->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->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->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 4096-ptr_max
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->mc_io->spinlock.raw_lock.val.counter 0-s32max
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->priv->ethsw_data->vlans 1
PARAM_VALUE 0 *port_priv->netdev->priv->vlans 1-2,4,253
PARAM_VALUE 1 block 4096-ptr_max
PARAM_VALUE 1 block->acl_entries.next 4096-ptr_max
PARAM_VALUE 1 block->acl_entries.next->next 4096-ptr_max
PARAM_VALUE 1 block->acl_entries.prev 4096-ptr_max
PARAM_VALUE 1 block->acl_entries.prev->next 4096-ptr_max
PARAM_VALUE 1 block->acl_entries.prev->prev 4096-ptr_max
PARAM_VALUE 1 block->ethsw 4096-ptr_max
PARAM_VALUE 1 block->ethsw->dev 4096-ptr_max
PARAM_VALUE 1 block->ethsw->fdbs 4096-ptr_max
PARAM_VALUE 1 block->ethsw->filter_blocks 4096-ptr_max
PARAM_VALUE 1 block->ethsw->lags 16,4096-ptr_max
PARAM_VALUE 1 block->ethsw->mc_io 4096-ptr_max
PARAM_VALUE 1 block->ethsw->ports 4096-ptr_max
PARAM_VALUE 1 block->ethsw->sw_attr.num_ifs 1-u16max
PARAM_VALUE 1 block->in_use 1
PARAM_VALUE 1 block->mirror_entries.next 4096-ptr_max
PARAM_VALUE 1 block->mirror_entries.next->next 4096-ptr_max
PARAM_VALUE 1 block->mirror_entries.prev 4096-ptr_max
PARAM_VALUE 1 block->mirror_entries.prev->next 4096-ptr_max
PARAM_VALUE 1 block->mirror_entries.prev->prev 4096-ptr_max
PARAM_VALUE 1 block->num_acl_rules 0
BUF_SIZE 0 port_priv->ethsw_data 5568
BUF_SIZE 1 block->ethsw 5568
CAPPED_DATA 0 port_priv->ethsw_data->sw_attr.num_ifs 1
CAPPED_DATA 0 port_priv->idx 1
CAPPED_DATA 1 block->ethsw->sw_attr.num_ifs 1
DATA_SOURCE 0 port_priv $0
DATA_SOURCE 1 block r dpaa2_switch_filter_block_get_unused
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 port_priv->ethsw_data->sw_attr.num_ifs
NO_OVERFLOW_SIMPLE 0 port_priv->idx
NO_OVERFLOW_SIMPLE 1 block->ethsw->sw_attr.num_ifs