Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/sched/cls_api.c tc_del_tfilter() -> tcf_chain_tp_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | 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 |
| PARAM_VALUE | 1 | chain_info | 7141872580540088320 |
| PARAM_VALUE | 2 | protocol | 0-u16max |
| PARAM_VALUE | 3 | prio | 65536-u32max |
| PARAM_VALUE | 4 | prio_allocate | 0 |
| PARAM_VALUE | 5 | extack | 4971238048455385088 |
| PARAM_VALUE | 5 | extack->bad_attr | 0 |
| PARAM_VALUE | 5 | extack->policy | 0 |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| CAPPED_DATA | 0 | chain->index | 1 |
| CAPPED_DATA | 0 | &chain->filter_chain_lock | 1 |
| DATA_SOURCE | 0 | chain | r tcf_chain_get |
| DATA_SOURCE | 5 | extack | $2 |
| BIT_INFO | 3 | prio | 0x0,0xffff0000 |
| MEM_ZERO | 5 | extack | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | protocol | 0-u16max[c] |
| USER_DATA | 3 | prio | 65536-u32max[c] |
| LOCK2 | 0 | &chain->filter_chain_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 tc_get_tfilter() -> tcf_chain_tp_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | 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 |
| PARAM_VALUE | 1 | chain_info | 7308906334783995904 |
| PARAM_VALUE | 2 | protocol | 0-u16max |
| PARAM_VALUE | 3 | prio | 65536-u32max |
| PARAM_VALUE | 4 | prio_allocate | 0 |
| PARAM_VALUE | 5 | extack | 4971238048455385088 |
| PARAM_VALUE | 5 | extack->bad_attr | 0 |
| PARAM_VALUE | 5 | extack->policy | 0 |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| CAPPED_DATA | 0 | chain->index | 1 |
| CAPPED_DATA | 0 | &chain->filter_chain_lock | 1 |
| DATA_SOURCE | 0 | chain | r tcf_chain_get |
| DATA_SOURCE | 5 | extack | $2 |
| BIT_INFO | 3 | prio | 0x0,0xffff0000 |
| MEM_ZERO | 5 | extack | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | protocol | 0-u16max[c] |
| USER_DATA | 3 | prio | 65536-u32max[c] |
| LOCK2 | 0 | &chain->filter_chain_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 tc_new_tfilter() -> tcf_chain_tp_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | 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 |
| PARAM_VALUE | 1 | chain_info | 5571906600099610624 |
| PARAM_VALUE | 2 | protocol | 0-u16max |
| PARAM_VALUE | 3 | prio | 65536-u32max |
| PARAM_VALUE | 5 | extack | 4971238048455385088 |
| PARAM_VALUE | 5 | extack->_msg | 0 |
| PARAM_VALUE | 5 | extack->bad_attr | 0 |
| PARAM_VALUE | 5 | extack->policy | 0 |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| CAPPED_DATA | 0 | chain->index | 1 |
| CAPPED_DATA | 0 | &chain->filter_chain_lock | 1 |
| DATA_SOURCE | 0 | chain | r tcf_chain_get |
| DATA_SOURCE | 5 | extack | $2 |
| FUZZY_MAX | 3 | prio | 2147483648 |
| BIT_INFO | 3 | prio | 0x0,0xffff0000 |
| NOSPEC | 0 | chain->index | |
| MEM_ZERO | 5 | extack | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chain->block->classid | 0-u32max |
| USER_DATA | 0 | chain->index | 0-268435455[c] |
| USER_DATA | 2 | protocol | 0-u16max[c] |
| USER_DATA | 3 | prio | 65536-u32max[c] |
| LOCK2 | 0 | &chain->filter_chain_lock | |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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_unique() -> tcf_chain_tp_find()
| 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->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 | chain_info | 454601971233665024 |
| PARAM_VALUE | 2 | protocol | 1-u16max |
| PARAM_VALUE | 3 | prio | 0,65536-u32max |
| PARAM_VALUE | 4 | prio_allocate | 0 |
| PARAM_VALUE | 5 | extack | 0 |
| BUF_SIZE | 0 | chain | (-1),232 |
| BUF_SIZE | 0 | chain | (-1),232 |
| CAPPED_DATA | 0 | chain->index | 1 |
| CAPPED_DATA | 0 | &chain->filter_chain_lock | 1 |
| CAPPED_DATA | 2 | protocol | 1 |
| CAPPED_DATA | 3 | prio | 1 |
| DATA_SOURCE | 0 | chain | $0 |
| DATA_SOURCE | 2 | protocol | $2 |
| DATA_SOURCE | 3 | prio | $3 |
| NOSPEC | 0 | chain->index | |
| NOSPEC | 2 | protocol | |
| NOSPEC | 2 | protocol | |
| NOSPEC | 3 | prio | |
| NOSPEC | 3 | prio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | chain->block->classid | 0-u32max |
| USER_DATA | 0 | chain->index | 0-268435455[c] |
| USER_DATA | 2 | protocol | 1-u16max[c] |
| USER_DATA | 3 | prio | 65536-u32max[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 |