函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:qdisc_root

函数原型:static inline struct Qdisc *qdisc_root(const struct Qdisc *qdisc)

返回类型:struct Qdisc

参数:

类型参数名称
const struct Qdisc *qdisc
502  q等于cu_dereference_rtnl - rcu_dereference with debug checking*@p: The pointer to read, prior to dereferencing* Do an rcu_dereference(p), but check caller either holds rcu_read_lock()* or RTNL. Note : Please prefer rtnl_dereference() or rcu_dereference()(qdisc)
504  返回:q
调用者
名称描述
qdisc_root_lockThe qdisc root lock is a mechanism by which to top level* of a qdisc tree can be locked from any qdisc node in the* forest. This allows changing the configuration of some* aspect of the qdisc tree while blocking out asynchronous