Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\tick-common.c Create Date:2022-07-28 10:50:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tick_check_percpu

Proto:static bool tick_check_percpu(struct clock_event_device *curdev, struct clock_event_device *newdev, int cpu)

Type:bool

Parameter:

TypeParameterName
struct clock_event_device *curdev
struct clock_event_device *newdev
intcpu
288  If Not pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then Return false
290  If pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input Then Return true
293  If irq >= 0 && Not irq_can_set_affinity(irq) Then Return false
296  If curdev && pumask_equal - *src1p == *src2p*@src1p: the first input*@src2p: the second input Then Return false
298  Return true
Caller
NameDescribe
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.