Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/net/ethernet/airoha/airoha_eth.c, line 3125
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
- drivers/net/ethernet/marvell/prestera/prestera_flow.c
- drivers/net/ethernet/mediatek/mtk_ppe_offload.c, line 654
- drivers/net/ethernet/mediatek/mtk_wed.c, line 2742
- drivers/net/ethernet/mellanox/mlxsw/spectrum_flow.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c
- drivers/net/wireless/mediatek/mt76/npu.c, line 361
- net/core/flow_offload.c, line 318
Smatch caller information:
drivers/net/wireless/mediatek/mt76/npu.c mt76_npu_setup_tc_block() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_setup_tc_block_bind() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| BUF_SIZE | 0 | block_cb | (-1),136 |
| BUF_SIZE | 0 | block_cb | (-1),136 |
| 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_setup_tc_block_unbind() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_setup_tc_block_qevent_bind() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| BUF_SIZE | 0 | block_cb | (-1),136 |
| BUF_SIZE | 0 | block_cb | (-1),136 |
| BUF_SIZE | 0 | block_cb->cb_priv | (-1),40 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c mlxsw_sp_setup_tc_block_qevent_unbind() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum_flow.c mlxsw_sp_setup_tc_block_bind() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| BUF_SIZE | 0 | block_cb | (-1),136 |
| BUF_SIZE | 0 | block_cb | (-1),136 |
| BUF_SIZE | 0 | block_cb->cb_priv | (-1),88 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mellanox/mlxsw/spectrum_flow.c mlxsw_sp_setup_tc_block_unbind() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mediatek/mtk_wed.c mtk_wed_setup_tc_block() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/airoha/airoha_eth.c airoha_dev_setup_tc_block() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/marvell/prestera/prestera_flow.c prestera_flow_block_put() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/marvell/prestera/prestera_flow.c prestera_setup_flow_block_unbind() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |
drivers/net/ethernet/mediatek/mtk_ppe_offload.c mtk_eth_setup_tc_block() -> flow_block_cb_decref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | block_cb | 4096-ptr_max |
| CAPPED_DATA | 0 | block_cb->cb_ident | 1 |
| DATA_SOURCE | 0 | block_cb | r flow_block_cb_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &nft_net->commit_mutex |