Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\u64_stats_sync.h Create Date:2022-07-28 05:50:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:In case irq handlers can update u64 counters, readers can use following helpers* - SMP 32bit arches use seqcount protection, irq safe.* - UP 32bit must disable irqs.* - 64bit have no problem atomically reading u64 values, irq safe.

Proto:static inline unsigned int u64_stats_fetch_begin_irq(const struct u64_stats_sync *syncp)

Type:unsigned int

Parameter:

TypeParameterName
const struct u64_stats_sync *syncp
203  local_irq_disable()
205  Return __u64_stats_fetch_begin(syncp)
Caller
NameDescribe
bpf_prog_get_stats