Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- net/core/flow_offload.c, line 630
- net/netfilter/nf_flow_table_offload.c, line 1247
- net/netfilter/nf_tables_offload.c, line 433
- net/sched/act_api.c, line 208
- net/sched/cls_api.c, line 863
Smatch caller information:
net/sched/cls_api.c tcf_block_offload_cmd() -> flow_indr_dev_setup_offload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_setup_tc | 0 |
| PARAM_VALUE | 1 | sch | 4096-ptr_max |
| PARAM_VALUE | 1 | sch->dev_queue | 4096-ptr_max |
| PARAM_VALUE | 1 | sch->dev_queue->dev->ethtool_ops->supported_coalesce_params | 0-4294967295 |
| PARAM_VALUE | 2 | type | 6 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| PARAM_VALUE | 4 | bo | 6243769477725855744 |
| PARAM_VALUE | 4 | bo->block | 4096-ptr_max |
| PARAM_VALUE | 4 | bo->cb_list_head | 4096-ptr_max |
| PARAM_VALUE | 4 | bo->command | 0-1 |
| PARAM_VALUE | 4 | bo->sch | 4096-ptr_max |
| BUF_SIZE | 1 | sch | (-1)-s32max |
| BUF_SIZE | 1 | sch | (-1)-s32max |
| BUF_SIZE | 1 | sch->ops | (-1),176 |
| BUF_SIZE | 3 | data | (-1),1720 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 1 | sch | $2 |
| DATA_SOURCE | 3 | data | $0 |
| NOSPEC | 1 | sch->handle | |
| NOSPEC | 1 | sch->parent | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | sch->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | sch->parent | 0-u32max |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &block->cb_lock | ||
| TYPE_LOCK | (struct tcf_block)->cb_lock |
net/sched/act_api.c tcf_action_offload_cmd_ex() -> flow_indr_dev_setup_offload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | sch | 0 |
| PARAM_VALUE | 2 | type | 20 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| PARAM_VALUE | 4 | bo | 0 |
| PARAM_VALUE | 5 | cleanup | 0 |
| BUF_SIZE | 3 | data | (-1),80-32720 |
| DATA_SOURCE | 3 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &idrinfo->lock |
net/netfilter/nf_flow_table_offload.c nf_flow_table_indr_offload_cmd() -> flow_indr_dev_setup_offload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_setup_tc | 0 |
| PARAM_VALUE | 1 | sch | 0 |
| PARAM_VALUE | 2 | type | 15 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| PARAM_VALUE | 4 | bo | 8535111159745949696 |
| PARAM_VALUE | 4 | bo->binder_type | 1 |
| PARAM_VALUE | 4 | bo->block | 4096-ptr_max |
| PARAM_VALUE | 4 | bo->block_shared | 0 |
| PARAM_VALUE | 4 | bo->cb_list_head | 4096-ptr_max |
| PARAM_VALUE | 4 | bo->command | 0-1 |
| PARAM_VALUE | 4 | bo->driver_block_list | 0 |
| PARAM_VALUE | 4 | bo->extack | 1141881431531827200 |
| PARAM_VALUE | 4 | bo->extack->_msg | 0 |
| PARAM_VALUE | 4 | bo->extack->bad_attr | 0 |
| PARAM_VALUE | 4 | bo->extack->cookie_len | 0 |
| PARAM_VALUE | 4 | bo->extack->miss_nest | 0 |
| PARAM_VALUE | 4 | bo->extack->miss_type | 0 |
| PARAM_VALUE | 4 | bo->extack->policy | 0 |
| PARAM_VALUE | 4 | bo->sch | 0 |
| PARAM_VALUE | 4 | bo->unlocked_driver_cb | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $2 |
| DATA_SOURCE | 3 | data | $1 |
| DATA_SOURCE | 4 | bo | $0 |
| MEM_ZERO | 4 | bo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nft_net->commit_mutex |
net/netfilter/nf_tables_offload.c nft_indr_block_offload_cmd() -> flow_indr_dev_setup_offload()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_setup_tc | 0 |
| PARAM_VALUE | 1 | sch | 0 |
| PARAM_VALUE | 2 | type | 6 |
| PARAM_VALUE | 3 | data | 4096-ptr_max |
| PARAM_VALUE | 4 | bo | 1841886211298832384 |
| PARAM_VALUE | 4 | bo->binder_type | 1 |
| PARAM_VALUE | 4 | bo->block | 4096-ptr_max |
| PARAM_VALUE | 4 | bo->cb_list_head | 4096-ptr_max |
| PARAM_VALUE | 4 | bo->command | 0-1 |
| PARAM_VALUE | 4 | bo->extack | 1523253913657806848 |
| PARAM_VALUE | 4 | bo->sch | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| DATA_SOURCE | 3 | data | $0 |
| MEM_ZERO | 4 | bo | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &nft_net->commit_mutex |