Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/sched/cls_api.c
- net/sched/cls_flower.c, line 2448
- net/sched/cls_matchall.c, line 210
- net/sched/cls_u32.c, line 747
Smatch caller information:
net/sched/cls_flower.c fl_change() -> tcf_exts_validate_ex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 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->flushing | 0 |
| PARAM_VALUE | 1 | tp->data->hlist->divisor | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_base | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_next | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->is_root | 0-1 |
| PARAM_VALUE | 1 | tp->data->hlist->prio | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->refcnt.refs.counter | s32min-s32max |
| 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->destroy | 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->prio | 0,65536-u32max |
| PARAM_VALUE | 2 | tb | 4096-ptr_max |
| PARAM_VALUE | 2 | (*tb).nla_len | 0 |
| PARAM_VALUE | 2 | (*tb).nla_type | 0 |
| PARAM_VALUE | 4 | exts | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->action | 3 |
| PARAM_VALUE | 4 | exts->actions | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->nr_actions | 0 |
| PARAM_VALUE | 4 | exts->police | 0 |
| PARAM_VALUE | 4 | exts->type | 0 |
| PARAM_VALUE | 5 | flags | 0,262144,524288,786432,1048576,1310720,1572864,1835008,2097152,2359296,2621440,2883584,3145728,3407872,3670016,3932160 |
| PARAM_VALUE | 7 | extack | 4971238048455385088 |
| PARAM_VALUE | 7 | extack->_msg | 0 |
| PARAM_VALUE | 7 | extack->bad_attr | 0 |
| PARAM_VALUE | 7 | extack->policy | 0 |
| BUF_SIZE | 2 | tb | 896 |
| BUF_SIZE | 2 | tb | 896 |
| DATA_SOURCE | 0 | net | $0 [m] |
| DATA_SOURCE | 1 | tp | $2 |
| DATA_SOURCE | 2 | tb | r _kzalloc_noprof |
| DATA_SOURCE | 5 | flags | $7 |
| DATA_SOURCE | 7 | extack | $8 |
| FUZZY_MAX | 1 | tp->prio | 2147483648 |
| FUZZY_MAX | 5 | flags | 0 |
| BIT_INFO | 5 | flags | 0x0,0x3c0000 |
| NOSPEC | 1 | tp->prio | |
| NOSPEC | 1 | tp->protocol | |
| MEM_ZERO | 7 | extack | |
| 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] |
| 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 |
net/sched/cls_matchall.c mall_change() -> tcf_exts_validate_ex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 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->flushing | 0 |
| PARAM_VALUE | 1 | tp->data->hlist->divisor | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_base | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_next | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->is_root | 0-1 |
| PARAM_VALUE | 1 | tp->data->hlist->prio | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->refcnt.refs.counter | s32min-s32max |
| 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->destroy | 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->prio | 0,65536-u32max |
| PARAM_VALUE | 1 | tp->root | 0 |
| PARAM_VALUE | 2 | tb | 4096-ptr_max |
| PARAM_VALUE | 4 | exts | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->action | 2 |
| PARAM_VALUE | 4 | exts->actions | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->nr_actions | 0 |
| PARAM_VALUE | 4 | exts->police | 0 |
| PARAM_VALUE | 4 | exts->type | 0 |
| PARAM_VALUE | 5 | flags | 0,262144,524288,786432,1048576,1310720,1572864,1835008,2097152,2359296,2621440,2883584,3145728,3407872,3670016,3932160 |
| PARAM_VALUE | 6 | fl_flags | 0-30 |
| PARAM_VALUE | 7 | extack | 4971238048455385088 |
| PARAM_VALUE | 7 | extack->_msg | 0 |
| PARAM_VALUE | 7 | extack->bad_attr | 0 |
| PARAM_VALUE | 7 | extack->policy | 0 |
| BUF_SIZE | 2 | tb | 48 |
| DATA_SOURCE | 0 | net | $0 [m] |
| DATA_SOURCE | 1 | tp | $2 |
| DATA_SOURCE | 5 | flags | $7 |
| DATA_SOURCE | 7 | extack | $8 |
| FUZZY_MAX | 1 | tp->prio | 2147483648 |
| FUZZY_MAX | 5 | flags | 0 |
| BIT_INFO | 5 | flags | 0x0,0x3c0000 |
| NOSPEC | 1 | tp->prio | |
| NOSPEC | 1 | tp->protocol | |
| MEM_ZERO | 7 | extack | |
| 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] |
| 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 |
net/sched/cls_u32.c u32_set_parms() -> tcf_exts_validate_ex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 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->flushing | 0 |
| PARAM_VALUE | 1 | tp->data->hlist->divisor | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_base | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_next | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->is_root | 0-1 |
| PARAM_VALUE | 1 | tp->data->hlist->prio | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 1 | tp->prio | 0,65536-u32max |
| PARAM_VALUE | 2 | tb | 4096-ptr_max |
| PARAM_VALUE | 4 | exts | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->action | 7 |
| PARAM_VALUE | 4 | exts->actions | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->nr_actions | 0 |
| PARAM_VALUE | 4 | exts->police | 6 |
| PARAM_VALUE | 4 | exts->type | 0 |
| PARAM_VALUE | 5 | flags | 0,262144,524288,786432,1048576,1310720,1572864,1835008,2097152,2359296,2621440,2883584,3145728,3407872,3670016,3932160 |
| PARAM_VALUE | 7 | extack | 4971238048455385088 |
| BUF_SIZE | 2 | tb | 104 |
| BUF_SIZE | 2 | tb | 104 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | tb | $3 |
| DATA_SOURCE | 3 | rate_tlv | $4 |
| DATA_SOURCE | 5 | flags | $5 |
| DATA_SOURCE | 6 | fl_flags | $6 |
| DATA_SOURCE | 7 | extack | $7 |
| FUZZY_MAX | 1 | tp->prio | 2147483648 |
| FUZZY_MAX | 5 | flags | 0 |
| BIT_INFO | 5 | flags | 0x0,0x3c0000 |
| NOSPEC | 1 | tp->chain->index | |
| NOSPEC | 1 | tp->prio | |
| 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] |
| 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 |
net/sched/cls_api.c tcf_exts_validate() -> tcf_exts_validate_ex()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tp | 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->flushing | 0 |
| PARAM_VALUE | 1 | tp->data->hlist->divisor | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_base | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_next | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->handle_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->is_root | 0-1 |
| PARAM_VALUE | 1 | tp->data->hlist->prio | 0-4294967295 |
| PARAM_VALUE | 1 | tp->data->hlist->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 1 | tp->prio | 0,65536-u32max |
| PARAM_VALUE | 2 | tb | 4096-ptr_max |
| PARAM_VALUE | 4 | exts | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->action | 1,3-4,6,9 |
| PARAM_VALUE | 4 | exts->actions | 4096-ptr_max |
| PARAM_VALUE | 4 | exts->nr_actions | 0 |
| PARAM_VALUE | 4 | exts->police | 2,4-5,10 |
| PARAM_VALUE | 4 | exts->type | 0 |
| PARAM_VALUE | 5 | flags | 0,262144,524288,786432,1048576,1310720,1572864,1835008,2097152,2359296,2621440,2883584,3145728,3407872,3670016,3932160 |
| PARAM_VALUE | 6 | fl_flags | 0 |
| PARAM_VALUE | 7 | extack | 4971238048455385088 |
| BUF_SIZE | 2 | tb | 32,48,56,96,104 |
| BUF_SIZE | 2 | tb | 32,48,56,96,104 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | tp | $1 |
| DATA_SOURCE | 2 | tb | $2 |
| DATA_SOURCE | 3 | rate_tlv | $3 |
| DATA_SOURCE | 4 | exts | $4 |
| DATA_SOURCE | 5 | flags | $5 |
| DATA_SOURCE | 7 | extack | $6 |
| FUZZY_MAX | 1 | tp->prio | 2147483648 |
| FUZZY_MAX | 5 | flags | 0 |
| BIT_INFO | 5 | flags | 0x0,0x3c0000 |
| NOSPEC | 1 | tp->chain->index | |
| NOSPEC | 1 | tp->prio | |
| HARD_MAX | 4 | exts->action | 9 |
| HARD_MAX | 4 | exts->police | 10 |
| 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] |
| 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 |