函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_tsc_clocksource

函数原型:static int __init init_tsc_clocksource(void)

返回类型:int

参数:

1366  如果非boot_cpu_has(Time Stamp Counter )或非tsc_khz则返回:0
1369  如果TSC can be unstable due to cpufreq or due to unsynced TSCs则转到:unreg
1372  如果tsc_clocksource_reliableno_tsc_watchdogflags与等于CLOCK_SOURCE_MUST_VERIFY的反
1375  如果boot_cpu_has(TSC doesn't stop in S3 state )则flags或等于CLOCK_SOURCE_SUSPEND_NONSTOP
1382  如果boot_cpu_has(TSC has known frequency )则
1383  如果boot_cpu_has(Always running timer (ART) )则art_related_clocksource等于Must mark VALID_FOR_HRES early such that when we unregister tsc_early* this one will immediately take over. We will only register if TSC has* been found good.
1385  clocksource_register_khz( & Must mark VALID_FOR_HRES early such that when we unregister tsc_early* this one will immediately take over. We will only register if TSC has* been found good., tsc_khz)
1386  unreg :
1387  clocksource_unregister( & .mask MUST be CLOCKSOURCE_MASK(64). See comment above read_tsc())
1388  返回:0
1391  在延迟工作队列中放置任务
1392  返回:0