Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\helpers.c Create Date:2022-07-28 13:07:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__bpf_spin_lock

Proto:static inline void __bpf_spin_lock(struct bpf_spin_lock *lock)

Type:void

Parameter:

TypeParameterName
struct bpf_spin_lock *lock
246  l = lock
248  BUILD_BUG_ON - break compile if a condition is true( size of l != size of lock )
249  Do
250  atomic_cond_read_relaxed(l, !VAL)
251  When atomic_xchg(l, 1) cycle
Caller
NameDescribe
____bpf_spin_lock