Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__do_once_start

Proto:bool __do_once_start(bool *done, unsigned long *flags)__acquires(once_lock)

Type:bool

Parameter:

TypeParameterName
bool *done
unsigned long *flags
40  spin_lock_irqsave( & once_lock, * flags)
41  If done Then
42  spin_unlock_irqrestore( & once_lock, * flags)
47  __acquire(once_lock)
48  Return false
51  Return true