Function report |
Source Code:kernel\irq\manage.c |
Create Date:2022-07-28 10:10:13 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:q_percpu_is_enabled - Check whether the per cpu irq is enabled*@irq: Linux irq number to check for* Must be called from a non migratable context. Returns the enable* state of a per cpu interrupt on the current cpu.
Proto:bool irq_percpu_is_enabled(unsigned int irq)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | irq |
| 2230 | cpu = smp_processor_id() |
| 2235 | desc = irq_get_desc_lock(irq, & flags, IRQ_GET_DESC_CHECK_PERCPU) |
| 2236 | If Not desc Then Return false |
| 2239 | is_enabled = 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 |
| 2240 | irq_put_desc_unlock(desc, flags) |
| 2242 | Return is_enabled |
| 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 |