Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- net/core/gen_estimator.c
- net/netfilter/xt_RATEEST.c, line 158
- net/sched/act_api.c, line 811
- net/sched/sch_api.c, line 1358
- net/sched/sch_hfsc.c, line 1041
- net/sched/sch_htb.c, line 1864
- net/sched/sch_qfq.c, line 494
Smatch caller information:
net/sched/sch_api.c qdisc_create() -> gen_new_estimator()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bstats | 4096-ptr_max |
| PARAM_VALUE | 2 | rate_est | 4096-ptr_max |
| PARAM_VALUE | 3 | lock | 0 |
| PARAM_VALUE | 4 | running | 1 |
| PARAM_VALUE | 5 | opt | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/sch_hfsc.c hfsc_change_class() -> gen_new_estimator()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bstats | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_bstats | 0 |
| PARAM_VALUE | 2 | rate_est | 4096-ptr_max |
| PARAM_VALUE | 3 | lock | 0 |
| PARAM_VALUE | 4 | running | 1 |
| PARAM_VALUE | 5 | opt | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/core/gen_estimator.c gen_replace_estimator() -> gen_new_estimator()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bstats | 4096-ptr_max |
| PARAM_VALUE | 2 | rate_est | 4096-ptr_max |
| PARAM_VALUE | 3 | lock | 0,4096-ptr_max |
| PARAM_VALUE | 5 | opt | 1-u64max |
| DATA_SOURCE | 0 | bstats | $0 |
| DATA_SOURCE | 1 | cpu_bstats | $1 |
| DATA_SOURCE | 2 | rate_est | $2 |
| DATA_SOURCE | 3 | lock | $3 |
| DATA_SOURCE | 4 | running | $4 |
| DATA_SOURCE | 5 | opt | $5 |
| 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() -> gen_new_estimator()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bstats | 4096-ptr_max |
| PARAM_VALUE | 2 | rate_est | 4096-ptr_max |
| PARAM_VALUE | 3 | lock | 4096-ptr_max |
| PARAM_VALUE | 4 | running | 0 |
| PARAM_VALUE | 5 | opt | 1-u64max |
| BUF_SIZE | 1 | cpu_bstats | 16,u64max |
| BUF_SIZE | 1 | cpu_bstats | 16,u64max |
| DATA_SOURCE | 5 | opt | $2 |
| 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/netfilter/xt_RATEEST.c xt_rateest_tg_checkentry() -> gen_new_estimator()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bstats | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_bstats | 0 |
| PARAM_VALUE | 2 | rate_est | 4096-ptr_max |
| PARAM_VALUE | 3 | lock | 4096-ptr_max |
| PARAM_VALUE | 4 | running | 0 |
| PARAM_VALUE | 5 | opt | 3943758858524794880 |
| PARAM_VALUE | 5 | opt->nla_len | 6 |
| PARAM_VALUE | 5 | opt->nla_type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &xn->hash_lock | ||
| HALF_LOCKED2 | global &once_lock | ||
| TYPE_LOCK | (struct xt_rateest_net)->hash_lock |
net/sched/sch_qfq.c qfq_change_class() -> gen_new_estimator()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bstats | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_bstats | 0 |
| PARAM_VALUE | 2 | rate_est | 4096-ptr_max |
| PARAM_VALUE | 3 | lock | 0 |
| PARAM_VALUE | 4 | running | 1 |
| PARAM_VALUE | 5 | opt | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/sch_htb.c htb_change_class() -> gen_new_estimator()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bstats | 4096-ptr_max |
| PARAM_VALUE | 1 | cpu_bstats | 0 |
| PARAM_VALUE | 2 | rate_est | 4096-ptr_max |
| PARAM_VALUE | 3 | lock | 0 |
| PARAM_VALUE | 4 | running | 1 |
| PARAM_VALUE | 5 | opt | 1-u64max |
| PARAM_VALUE | 5 | opt->nla_len | 6 |
| PARAM_VALUE | 5 | opt->nla_type | 5 |
| BUF_SIZE | 5 | opt | (-1),4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |