Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/sched/cls_bpf.c cls_bpf_offload() -> cls_bpf_offload_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tp->chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | tp->chain->flushing | 0 |
| PARAM_VALUE | 0 | tp->data->hlist->divisor | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle_idr.idr_base | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle_idr.idr_next | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->is_root | 0-1 |
| PARAM_VALUE | 0 | tp->data->hlist->prio | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->get_exts | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 0 | tp->prio | 0,65536-u32max |
| PARAM_VALUE | 1 | prog | 0,4096-ptr_max |
| PARAM_VALUE | 1 | prog->exts->actions | 0 |
| PARAM_VALUE | 1 | prog->exts.action | 1 |
| PARAM_VALUE | 1 | prog->exts.actions | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->exts.miss_cookie_node | 0 |
| PARAM_VALUE | 1 | prog->exts.nr_actions | 0-s32max |
| PARAM_VALUE | 1 | prog->exts.police | 2 |
| PARAM_VALUE | 1 | prog->exts.type | 0,12 |
| PARAM_VALUE | 1 | prog->exts_integrated | 0 |
| PARAM_VALUE | 1 | prog->filter | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->gen_flags | 0-2 |
| PARAM_VALUE | 2 | oldprog | 0,4096-ptr_max |
| PARAM_VALUE | 3 | extack | 4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr->nla_len | 4-u16max |
| PARAM_VALUE | 3 | *extack->_msg_buf | 0-255 |
| PARAM_VALUE | 4 | is_rollback | 0 |
| BUF_SIZE | 1 | prog | 0,240 |
| BUF_SIZE | 1 | prog | 0,240 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | prog | $1 [m] |
| DATA_SOURCE | 2 | oldprog | $2 [m] |
| DATA_SOURCE | 3 | extack | $3 |
| FUZZY_MAX | 0 | tp->prio | 2147483648 |
| NOSPEC | 0 | tp->chain->index | |
| NOSPEC | 0 | tp->prio | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | tp->chain->index | 0-268435455[c] |
| USER_DATA | 0 | tp->prio | 65536-u32max[c] |
| USER_DATA | 0 | tp->protocol | 1-u16max[c] |
| USER_DATA | 1 | prog->handle | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | prog->filter->len | |
| 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_bpf.c cls_bpf_offload_cmd() -> cls_bpf_offload_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->block | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->block->cb_lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | tp->chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | tp->chain->flushing | 0 |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->change | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->classify | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->delete | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->dump | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->flags | 0-1 |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->get | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->init | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->walk | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->data->hlist->divisor | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->flags | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle_idr.idr_base | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle_idr.idr_next | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->handle_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->is_root | 0-1 |
| PARAM_VALUE | 0 | tp->data->hlist->prio | 0-4294967295 |
| PARAM_VALUE | 0 | tp->data->hlist->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->bind_class | 0,253638916652470272,389398395680960512,497355655962103808,2439914788663349248,3760973667801829376,3944557461585240064,7271150556157632512 |
| PARAM_VALUE | 0 | tp->ops->change | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->delete | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->delete_empty | 0,750285114719432704 |
| PARAM_VALUE | 0 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->dump | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->flags | 0-1 |
| PARAM_VALUE | 0 | tp->ops->get | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->get_exts | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->hw_add | 0,8627320705720037376 |
| PARAM_VALUE | 0 | tp->ops->hw_del | 0,5634209399654346752 |
| PARAM_VALUE | 0 | tp->ops->init | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->put | 0,4015827899862691840 |
| PARAM_VALUE | 0 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 0 | tp->ops->terse_dump | 0,1538323412491280384 |
| PARAM_VALUE | 0 | tp->ops->tmplt_create | 0,1299436987590848512 |
| PARAM_VALUE | 0 | tp->ops->tmplt_destroy | 0,4130920257218207744 |
| PARAM_VALUE | 0 | tp->ops->tmplt_dump | 0,1951777138979201024 |
| PARAM_VALUE | 0 | tp->ops->tmplt_reoffload | 0,7461728144049897472 |
| PARAM_VALUE | 0 | tp->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->prio | 0,65536-u32max |
| PARAM_VALUE | 1 | prog | 0,4096-ptr_max |
| PARAM_VALUE | 1 | prog->in_hw_count | 0 |
| PARAM_VALUE | 2 | oldprog | 4096-ptr_max |
| PARAM_VALUE | 2 | oldprog->exts->actions | 0 |
| PARAM_VALUE | 2 | oldprog->exts.action | 1 |
| PARAM_VALUE | 2 | oldprog->exts.actions | 4096-ptr_max |
| PARAM_VALUE | 2 | oldprog->exts.miss_cookie_node | 0 |
| PARAM_VALUE | 2 | oldprog->exts.nr_actions | 0-s32max |
| PARAM_VALUE | 2 | oldprog->exts.police | 2 |
| PARAM_VALUE | 2 | oldprog->exts.type | 0,12 |
| PARAM_VALUE | 2 | oldprog->exts_integrated | 0 |
| PARAM_VALUE | 2 | oldprog->filter | 4096-ptr_max |
| PARAM_VALUE | 2 | oldprog->gen_flags | 0-2 |
| PARAM_VALUE | 3 | extack | 4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr->nla_len | 4-u16max |
| PARAM_VALUE | 3 | *extack->_msg_buf | 0-255 |
| PARAM_VALUE | 4 | is_rollback | 1 |
| BUF_SIZE | 2 | oldprog | 0,240 |
| BUF_SIZE | 2 | oldprog | 0,240 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | oldprog | $1 |
| DATA_SOURCE | 3 | extack | $3 |
| FUZZY_MAX | 0 | tp->prio | 2147483648 |
| NOSPEC | 0 | tp->prio | |
| NOSPEC | 0 | tp->protocol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | tp->prio | 65536-u32max[c] |
| USER_DATA | 0 | tp->protocol | 1-u16max[c] |
| USER_DATA | 2 | oldprog->handle | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | prog->filter->len | |
| NO_OVERFLOW_SIMPLE | 2 | oldprog->filter->len | |
| 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/cls_bpf.c cls_bpf_stop_offload() -> cls_bpf_offload_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->block->cb_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | tp->chain->block->cb_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->change | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->classify | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->delete | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->dump | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->flags | 0-1 |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->get | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->init | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->chain->tmplt_ops->walk | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->bind_class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->classify | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->delete_empty | 0,750285114719432704 |
| PARAM_VALUE | 0 | tp->ops->destroy | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->dump | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->hw_del | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->put | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->reoffload | 0,631035440261332992,2894995858785198080,6092317856774164480,6534152950415466496 |
| PARAM_VALUE | 0 | tp->ops->terse_dump | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->ops->walk | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->root | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 0 |
| PARAM_VALUE | 2 | oldprog | 4096-ptr_max |
| PARAM_VALUE | 3 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 3 | extack->bad_attr | 0 |
| PARAM_VALUE | 3 | extack->cookie_len | 0 |
| PARAM_VALUE | 3 | extack->miss_nest | 0 |
| PARAM_VALUE | 3 | extack->miss_type | 0 |
| PARAM_VALUE | 3 | extack->policy | 0 |
| PARAM_VALUE | 4 | is_rollback | 0 |
| BUF_SIZE | 0 | tp->chain | (-1),232 |
| DATA_SOURCE | 0 | tp | $0 |
| DATA_SOURCE | 2 | oldprog | $1 |
| DATA_SOURCE | 3 | extack | $2 |
| NOSPEC | 0 | tp->chain->index | |
| NOSPEC | 0 | tp->prio | |
| NOSPEC | 0 | tp->protocol | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | tp->chain->index | 0-268435455[c] |
| USER_DATA | 0 | tp->prio | 65536-u32max[c] |
| USER_DATA | 0 | tp->protocol | 1-u16max[c] |