函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sch_generic.h Create Date:2022-07-27 07:05:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:qdisc_replace

函数原型:static inline struct Qdisc *qdisc_replace(struct Qdisc *sch, struct Qdisc *new, struct Qdisc **pold)

返回类型:struct Qdisc

参数:

类型参数名称
struct Qdisc *sch
struct Qdisc *new
struct Qdisc **pold
1172  sch_tree_lock(sch)
1173  old等于pold
1174  pold等于new
1175  如果(old != NULL)则qdisc_tree_flush_backlog(old)
1177  sch_tree_unlock(sch)
1179  返回:old