Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:locksource_change_rating - Change the rating of a registered clocksource*@cs: clocksource to be changed*@rating: new rating

Proto:void clocksource_change_rating(struct clocksource *cs, int rating)

Type:void

Parameter:

TypeParameterName
struct clocksource *cs
intrating
966  mutex_lock( & clocksource_mutex)
967  clocksource_watchdog_lock( & flags)
968  __clocksource_change_rating(cs, rating)
969  clocksource_watchdog_unlock( & flags)
971  locksource_select - Select the best clocksource available* Private function. Must hold clocksource_mutex when called.* Select the clocksource with the best rating, or the clocksource,* which is selected by userspace override.
972  clocksource_select_watchdog(false)
973  locksource_suspend_select - Select the best clocksource for suspend timing*@fallback: if select a fallback clocksource
974  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.