Defined in 2 files as a function:
- include/net/sch_generic.h, line 1379 (as a function)
- tools/testing/selftests/bpf/prog_tests/tc_links.c, line 1798 (as a function)
Referenced in 13 files:
- net/sched/sch_cbs.c, line 518
- net/sched/sch_drr.c, line 221
- net/sched/sch_ets.c, line 271
- net/sched/sch_hfsc.c, line 1199
- net/sched/sch_htb.c, line 1474
- net/sched/sch_multiq.c, line 289
- net/sched/sch_netem.c, line 1371
- net/sched/sch_prio.c, line 302
- net/sched/sch_qfq.c, line 616
- net/sched/sch_red.c, line 517
- net/sched/sch_sfb.c, line 639
- net/sched/sch_tbf.c, line 576
- tools/testing/selftests/bpf/prog_tests/tc_links.c
Smatch caller information:
net/sched/sch_netem.c netem_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new->ops | 0-7862145653718499327,7862145653718499329-u64max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_prio.c prio_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->privdata.queues | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new->ops | (-1),176 |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 0-u32max |
| 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/sch_ets.c ets_class_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 16,4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new->ops | (-1),176 |
| CAPPED_DATA | 0 | sch->privdata.nbands | 1 |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_hfsc.c hfsc_graft_class() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new->ops | (-1),176 |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_tbf.c tbf_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_multiq.c multiq_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->privdata.queues | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_drr.c drr_graft_class() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new->ops | (-1),176 |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_red.c red_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_sfb.c sfb_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_cbs.c cbs_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new->ops | (-1),176 |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_qfq.c qfq_graft_class() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new->ops | (-1),176 |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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/sch_htb.c htb_graft() -> qdisc_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sch | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sch->ops->cl_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | new | 4096-ptr_max |
| PARAM_VALUE | 1 | new->ops->id | 4096-ptr_max |
| PARAM_VALUE | 2 | pold | 4096-ptr_max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new | (-1)-s32max |
| BUF_SIZE | 1 | new->ops | (-1),176 |
| DATA_SOURCE | 0 | sch | $0 |
| DATA_SOURCE | 1 | new | $2 [m] |
| NOSPEC | 1 | new->handle | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | new->handle | 1-4294967280,4294967282-u32max[c] |
| USER_DATA | 1 | new->parent | 1-u32max |
| 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 |