函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tick_check_preferred

函数原型:static bool tick_check_preferred(struct clock_event_device *curdev, struct clock_event_device *newdev)

返回类型:bool

参数:

类型参数名称
struct clock_event_device *curdev
struct clock_event_device *newdev
305  如果非features按位与CLOCK_EVT_FEAT_ONESHOT的值则
306  如果curdevfeatures按位与CLOCK_EVT_FEAT_ONESHOT则返回:false
308  如果tick_oneshot_mode_active()则返回:false
316  返回:非curdevrating大于rating或非pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input
调用者
名称描述
tick_check_replacementCheck whether the new device is a better fit than curdev. curdev* can be NULL !
tick_check_new_deviceCheck, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled.