函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mekeeping_valid_for_hres - Check if timekeeping is suitable for hres

函数原型:int timekeeping_valid_for_hres(void)

返回类型:int

参数:

1443  tk等于timekeeper
1447  循环
1448  seq等于ad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount
1450  ret等于flags按位与CLOCK_SOURCE_VALID_FOR_HRES
1452 ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount循环
1454  返回:ret
调用者
名称描述
tick_handle_periodic时钟中断函数
tick_check_oneshot_changeCheck, if a change happened, which makes oneshot possible.* Called cyclic from the hrtimer softirq (driven by the timer* softirq) allow_nohz signals, that we can switch into low-res nohz* mode, because high resolution timers are disabled (either compile