Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- net/sched/cls_api.c, line 3815
- net/sched/cls_bpf.c, line 176
- net/sched/cls_flower.c, line 454
- net/sched/cls_matchall.c, line 80
- net/sched/cls_u32.c, line 542
Smatch caller information:
net/sched/cls_flower.c fl_hw_destroy_filter() -> tc_setup_cb_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->change | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->delete | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->dump | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->flags | 0-1 |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->get | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->init | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->walk | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->bind_class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->delete_empty | 0,750285114719432704 |
| PARAM_VALUE | 1 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->dump | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->get_exts | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->hw_del | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->put | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 1 | tp->ops->terse_dump | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | type_data | 6994338995622363136 |
| PARAM_VALUE | 4 | err_stop | 0 |
| PARAM_VALUE | 5 | flags | 4096-ptr_max |
| PARAM_VALUE | 6 | in_hw_count | 4096-ptr_max |
| BUF_SIZE | 1 | tp->chain | (-1),232 |
| BUF_SIZE | 3 | type_data | 96 |
| DATA_SOURCE | 1 | tp | $0 |
| DATA_SOURCE | 7 | rtnl_held | $2 |
| NOSPEC | 1 | tp->chain->index | |
| NOSPEC | 1 | tp->prio | |
| NOSPEC | 1 | tp->protocol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | tp->chain->index | 0-268435455[c] |
| USER_DATA | 1 | tp->prio | 65536-u32max[c] |
| USER_DATA | 1 | tp->protocol | 1-u16max[c] |
net/sched/cls_bpf.c cls_bpf_offload_cmd() -> tc_setup_cb_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->change | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->delete | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->dump | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->flags | 0-1 |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->get | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->init | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->walk | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->bind_class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->change | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->delete | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->delete_empty | 0,750285114719432704 |
| PARAM_VALUE | 1 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->dump | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->flags | 0-1 |
| PARAM_VALUE | 1 | tp->ops->get | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->get_exts | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->hw_add | 0,8627320705720037376 |
| PARAM_VALUE | 1 | tp->ops->hw_del | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->init | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->put | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 1 | tp->ops->terse_dump | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->tmplt_create | 0,1299436987590848512 |
| PARAM_VALUE | 1 | tp->ops->tmplt_destroy | 0,4130920257218207744 |
| PARAM_VALUE | 1 | tp->ops->tmplt_dump | 0,1951777138979201024 |
| PARAM_VALUE | 1 | tp->ops->tmplt_reoffload | 0,7461728144049897472 |
| PARAM_VALUE | 1 | tp->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 5 |
| PARAM_VALUE | 3 | type_data | 1751690043025547264 |
| PARAM_VALUE | 4 | err_stop | 0 |
| PARAM_VALUE | 5 | flags | 44,4096-ptr_max |
| PARAM_VALUE | 6 | in_hw_count | 48,4096-ptr_max |
| PARAM_VALUE | 7 | rtnl_held | 1 |
| BUF_SIZE | 1 | tp->chain | (-1),232 |
| BUF_SIZE | 3 | type_data | 72 |
| DATA_SOURCE | 1 | tp | $0 |
| NOSPEC | 1 | tp->chain->index | |
| NOSPEC | 1 | tp->prio | |
| NOSPEC | 1 | tp->protocol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tp->chain->index | 0-268435455[c] |
| USER_DATA | 1 | tp->prio | 65536-u32max[c] |
| USER_DATA | 1 | tp->protocol | 1-u16max[c] |
net/sched/cls_matchall.c mall_destroy_hw_filter() -> tc_setup_cb_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->bind_class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->delete_empty | 0,750285114719432704 |
| PARAM_VALUE | 1 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->dump | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->flags | 0-1 |
| PARAM_VALUE | 1 | tp->ops->hw_del | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->put | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 1 | tp->ops->terse_dump | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->root | 0,4096-ptr_max |
| PARAM_VALUE | 2 | type | 4 |
| PARAM_VALUE | 3 | type_data | 6796660294070833152 |
| PARAM_VALUE | 4 | err_stop | 0 |
| PARAM_VALUE | 5 | flags | 4096-ptr_max |
| PARAM_VALUE | 6 | in_hw_count | 4096-ptr_max |
| PARAM_VALUE | 7 | rtnl_held | 1 |
| BUF_SIZE | 1 | tp->chain | (-1),232 |
| BUF_SIZE | 3 | type_data | 96 |
| DATA_SOURCE | 1 | tp | $0 |
| NOSPEC | 1 | tp->chain->index | |
| NOSPEC | 1 | tp->prio | |
| NOSPEC | 1 | tp->protocol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | tp->chain->index | 0-268435455[c] |
| USER_DATA | 1 | tp->prio | 65536-u32max[c] |
| USER_DATA | 1 | tp->protocol | 1-u16max[c] |
| HALF_LOCKED2 | global &rtnl_mutex |
net/sched/cls_u32.c u32_remove_hw_knode() -> tc_setup_cb_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | tp->chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->change | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->delete | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->dump | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->flags | 0-1 |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->get | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->init | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->chain->tmplt_ops->walk | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->bind_class | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->change | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->delete | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->delete_empty | 0,750285114719432704 |
| PARAM_VALUE | 1 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->dump | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->flags | 0-1 |
| PARAM_VALUE | 1 | tp->ops->get | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->get_exts | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->hw_add | 0,8627320705720037376 |
| PARAM_VALUE | 1 | tp->ops->hw_del | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->init | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->put | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 1 | tp->ops->terse_dump | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->tmplt_create | 0,1299436987590848512 |
| PARAM_VALUE | 1 | tp->ops->tmplt_destroy | 0,4130920257218207744 |
| PARAM_VALUE | 1 | tp->ops->tmplt_dump | 0,1951777138979201024 |
| PARAM_VALUE | 1 | tp->ops->tmplt_reoffload | 0,7461728144049897472 |
| PARAM_VALUE | 1 | tp->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | type_data | 8665267009231106048 |
| PARAM_VALUE | 4 | err_stop | 0 |
| PARAM_VALUE | 5 | flags | 4096-ptr_max |
| PARAM_VALUE | 6 | in_hw_count | 4096-ptr_max |
| PARAM_VALUE | 7 | rtnl_held | 1 |
| BUF_SIZE | 1 | tp->chain | (-1),232 |
| BUF_SIZE | 3 | type_data | 80 |
| DATA_SOURCE | 1 | tp | $0 |
| NOSPEC | 1 | tp->chain->index | |
| NOSPEC | 1 | tp->prio | |
| NOSPEC | 1 | tp->protocol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | tp->chain->index | 0-268435455[c] |
| USER_DATA | 1 | tp->prio | 65536-u32max[c] |
| USER_DATA | 1 | tp->protocol | 1-u16max[c] |