Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\clocksource.c Create Date:2022-07-28 10:44:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:clocksource_find_best

Proto:static struct clocksource *clocksource_find_best(bool oneshot, bool skipcur)

Type:struct clocksource

Parameter:

TypeParameterName
booloneshot
boolskipcur
714  If Not finished_booting || list_empty - tests whether a list is empty*@head: the list to test. Then Return NULL
723  If skipcur && cs == [Clocksource internal variables]---------* curr_clocksource:* currently selected clocksource Then Continue
725  If oneshot && Not (flags & CLOCK_SOURCE_VALID_FOR_HRES) Then Continue
727  Return cs
729  Return NULL
Caller
NameDescribe
__clocksource_select