Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sch_generic.h Create Date:2022-07-28 06:07:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:The 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

Proto:static inline spinlock_t *qdisc_root_lock(const struct Qdisc *qdisc)

Type:spinlock_t

Parameter:

TypeParameterName
const struct Qdisc *qdisc
530  root = qdisc_root(qdisc)
532  ASSERT_RTNL()
533  Return qdisc_lock(root)