Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Unbind clocksource @cs. Called with clocksource_mutex held

Proto:static int clocksource_unbind(struct clocksource *cs)

Type:int

Parameter:

TypeParameterName
struct clocksource *cs
985  If clocksource_is_watchdog(cs) Then
987  clocksource_select_watchdog(true)
988  If clocksource_is_watchdog(cs) Then Return -EBUSY
992  If cs == [Clocksource internal variables]---------* curr_clocksource:* currently selected clocksource Then
994  clocksource_select_fallback()
995  If [Clocksource internal variables]---------* curr_clocksource:* currently selected clocksource == cs Then Return -EBUSY
999  If clocksource_is_suspend(cs) Then
1005  locksource_suspend_select - Select the best clocksource for suspend timing*@fallback: if select a fallback clocksource
1008  clocksource_watchdog_lock( & flags)
1009  clocksource_dequeue_watchdog(cs)
1010  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
1011  clocksource_watchdog_unlock( & flags)
1013  Return 0
Caller
NameDescribe
clocksource_unregisterlocksource_unregister - remove a registered clocksource*@cs: clocksource to be unregistered