Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/sched/cls_api.c tcf_chain_flush() -> tcf_chain0_head_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | chain->filter_chain | 0 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chain->tmplt_ops->bind_class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->change | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->classify | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->delete | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->delete_empty | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->dump | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->flags | 0-1 |
| PARAM_VALUE | 0 | chain->tmplt_ops->get | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->get_exts | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->hw_add | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->hw_del | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->init | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->owner | 0 |
| PARAM_VALUE | 0 | chain->tmplt_ops->put | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->reoffload | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->terse_dump | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->tmplt_create | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->tmplt_destroy | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->tmplt_dump | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->tmplt_reoffload | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->tmplt_ops->walk | 4096-ptr_max |
| PARAM_VALUE | 1 | tp_head | 0 |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| CAPPED_DATA | 0 | &chain->filter_chain_lock | 1 |
| DATA_SOURCE | 0 | chain | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chain->filter_chain_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct tcf_chain)->filter_chain_lock |
net/sched/cls_api.c tcf_chain_tp_delete_empty() -> tcf_chain0_head_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->block | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->filter_chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| CAPPED_DATA | 0 | chain->filter_chain | 1 |
| CAPPED_DATA | 0 | chain->index | 1 |
| CAPPED_DATA | 0 | &chain->filter_chain_lock | 1 |
| DATA_SOURCE | 0 | chain | $0 |
| NOSPEC | 0 | chain->index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | chain->block->classid | 0-u32max |
| USER_DATA | 0 | chain->index | 0-268435455[c] |
| LOCK2 | 0 | &chain->filter_chain_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct tcf_chain)->filter_chain_lock |
net/sched/cls_api.c tcf_chain_tp_insert() -> tcf_chain0_head_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->block | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | chain->flushing | 0 |
| PARAM_VALUE | 1 | tp_head | 4096-ptr_max |
| PARAM_VALUE | 1 | tp_head->chain | 4096-ptr_max |
| PARAM_VALUE | 1 | tp_head->chain->filter_chain_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | tp_head->chain->flushing | 0 |
| PARAM_VALUE | 1 | tp_head->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp_head->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tp_head->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp_head->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp_head->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 1 | tp_head->prio | 0,65536-u32max |
| PARAM_VALUE | 1 | tp_head->protocol | 1-u16max |
| PARAM_VALUE | 1 | tp_head->refcnt.refs.counter | 1 |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 1 | tp_head | 168 |
| BUF_SIZE | 1 | tp_head->chain | (-1),232 |
| CAPPED_DATA | 0 | chain->filter_chain | 1 |
| CAPPED_DATA | 0 | chain->index | 1 |
| CAPPED_DATA | 1 | tp_head->chain->index | 1 |
| CAPPED_DATA | 1 | tp_head->prio | 1 |
| CAPPED_DATA | 1 | tp_head->protocol | 1 |
| DATA_SOURCE | 0 | chain | $0 |
| DATA_SOURCE | 1 | tp_head | $2 |
| NOSPEC | 0 | chain->index | |
| NOSPEC | 1 | tp_head->chain->index | |
| NOSPEC | 1 | tp_head->prio | |
| NOSPEC | 1 | tp_head->protocol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | chain->block->classid | 0-u32max |
| USER_DATA | 0 | chain->index | 0-268435455[c] |
| USER_DATA | 1 | tp_head->chain->index | 0-268435455[c] |
| USER_DATA | 1 | tp_head->prio | 65536-u32max[c] |
| USER_DATA | 1 | tp_head->protocol | 1-u16max[c] |
| LOCK2 | 0 | &chain->filter_chain_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct tcf_chain)->filter_chain_lock |
net/sched/cls_api.c tcf_chain_tp_remove() -> tcf_chain0_head_change()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->block | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | chain->block->proto_destroy_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->filter_chain | 4096-ptr_max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | chain->filter_chain_lock.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| CAPPED_DATA | 0 | chain->filter_chain | 1 |
| CAPPED_DATA | 0 | chain->index | 1 |
| DATA_SOURCE | 0 | chain | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &chain->filter_chain_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct tcf_chain)->filter_chain_lock |