函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tick_check_percpu

函数原型:static bool tick_check_percpu(struct clock_event_device *curdev, struct clock_event_device *newdev, int cpu)

返回类型:bool

参数:

类型参数名称
struct clock_event_device *curdev
struct clock_event_device *newdev
intcpu
288  如果非测试CPU信息则返回:false
290  如果pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input则返回:true
293  如果irq大于等于0且非irq_can_set_affinity(irq)则返回:false
296  如果curdevpumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input则返回:false
298  返回:true
调用者
名称描述
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.