函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\clocksource.c Create Date:2022-07-27 11:44:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:locksource_change_rating - Change the rating of a registered clocksource*@cs: clocksource to be changed*@rating: new rating

函数原型:void clocksource_change_rating(struct clocksource *cs, int rating)

返回类型:void

参数:

类型参数名称
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.