Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- net/sched/act_api.c
- net/sched/act_bpf.c, line 308
- net/sched/act_ife.c, line 553
- net/sched/act_mpls.c, line 199
- net/sched/act_police.c, line 83
- net/sched/act_sample.c, line 72
- net/sched/act_simple.c, line 131
- net/sched/act_skbedit.c, line 225
- net/sched/act_skbmod.c, line 170
Smatch caller information:
net/sched/act_sample.c tcf_sample_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 2256731670047879168 |
| PARAM_VALUE | 6 | cpustats | 1 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_skbmod.c tcf_skbmod_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 2169743090532249600 |
| PARAM_VALUE | 6 | cpustats | 1 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_skbedit.c tcf_skbedit_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 6487665448947597312 |
| PARAM_VALUE | 6 | cpustats | 1 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_police.c tcf_police_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | est | 0 |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 5714476878146510848 |
| PARAM_VALUE | 6 | cpustats | 1 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_mpls.c tcf_mpls_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 356884283220361216 |
| PARAM_VALUE | 6 | cpustats | 1 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_ife.c tcf_ife_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 2460833459102621696 |
| PARAM_VALUE | 6 | cpustats | 1 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_api.c tcf_idr_create_from_flags() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 4096-ptr_max |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 4 | ops | $4 |
| DATA_SOURCE | 5 | bind | $5 |
| DATA_SOURCE | 7 | flags | $6 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_simple.c tcf_simp_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 1150139560704454656 |
| PARAM_VALUE | 6 | cpustats | 0 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/sched/act_bpf.c tcf_bpf_init() -> tcf_idr_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tn | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo | 4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tn->idrinfo->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | a | 7841083791511203840 |
| PARAM_VALUE | 3 | *a | 0 |
| PARAM_VALUE | 4 | ops | 393825830317232128 |
| PARAM_VALUE | 6 | cpustats | 1 |
| CAPPED_DATA | 0 | tn->idrinfo->action_idr.idr_base | 1 |
| DATA_SOURCE | 0 | tn | r net_generic |
| DATA_SOURCE | 2 | est | $2 |
| DATA_SOURCE | 3 | a | $3 |
| DATA_SOURCE | 7 | flags | $5 |
| BIT_INFO | 5 | bind | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |