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:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:qdisc_run_begin

Proto:static inline bool qdisc_run_begin(struct Qdisc *qdisc)

Type:bool

Parameter:

TypeParameterName
struct Qdisc *qdisc
158  If flags & qdisc does not require locking Then
159  If Not spin_trylock( & seqlock) Then Return false
161  WRITE_ONCE( for NOLOCK qdisc, true if there are no enqueued skbs , false)
162  Else if qdisc_is_running(qdisc) Then
163  Return false
168  raw_write_seqcount_begin( & running)
169  seqcount_acquire( & dep_map, 0, 1, _RET_IP_)
170  Return true