Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
struct clock_event_device * | curdev | |
struct clock_event_device * | newdev | |
int | cpu |
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 |
Name | Describe |
---|---|
tick_check_replacement | Check whether the new device is a better fit than curdev. curdev* can be NULL ! |
tick_check_new_device | Check, if the new registered device should be used. Called with* clockevents_lock held and interrupts disabled. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |