函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Unbind clocksource @cs. Called with clocksource_mutex held

函数原型:static int clocksource_unbind(struct clocksource *cs)

返回类型:int

参数:

类型参数名称
struct clocksource *cs
985  如果clocksource_is_watchdog(cs)则
987  clocksource_select_watchdog(true)
988  如果clocksource_is_watchdog(cs)则返回:负EBUSY
992  如果cs恒等于[Clocksource internal variables]---------* curr_clocksource:* currently selected clocksource
994  clocksource_select_fallback()
995  如果[Clocksource internal variables]---------* curr_clocksource:* currently selected clocksource恒等于cs则返回:负EBUSY
999  如果clocksource_is_suspend(cs)则
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  删除链表项并重新初始化
1011  clocksource_watchdog_unlock( & flags)
1013  返回:0
调用者
名称描述
clocksource_unregisterlocksource_unregister - remove a registered clocksource*@cs: clocksource to be unregistered