Function report |
Source Code:kernel\irq\spurious.c |
Create Date:2022-07-28 10:10:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:note_interrupt
Proto:void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct irq_desc * | desc | |
irqreturn_t | action_ret |
275 | If istate & IRQS_POLL_INPROGRESS || irq_settings_is_polled(desc) Then Return |
279 | If bad_action_ret(action_ret) Then |
280 | report_bad_irq(desc, action_ret) |
281 | Return |
304 | If action_ret & IRQ_WAKE_THREAD Then |
311 | If action_ret == IRQ_WAKE_THREAD Then |
321 | If Not (threads_handled_last & SPURIOUS_DEFERRED) Then |
323 | Return |
337 | handled = atomic_read( & threads_handled) |
338 | handled |= SPURIOUS_DEFERRED |
339 | If handled != threads_handled_last Then |
340 | action_ret = IRQ_HANDLED |
349 | threads_handled_last = handled |
350 | Else |
360 | action_ret = IRQ_NONE |
362 | Else |
393 | Else irqs_unhandled++ |
398 | irq = irq_desc_get_irq(desc) |
400 | ok = misrouted_irq(irq) |
401 | If action_ret == IRQ_NONE Then irqs_unhandled -= ok |
405 | For detecting broken IRQs ++ |
406 | If Value is more likely to compile time( For detecting broken IRQs < 100000) Then Return |
409 | For detecting broken IRQs = 0 |
410 | If Value for the false possibility is greater at compile time(irqs_unhandled > 99900) Then |
419 | istate |= IRQS_SPURIOUS_DISABLED |
420 | nested irq disables ++ |
426 | irqs_unhandled = 0 |
Name | Describe |
---|---|
handle_nested_irq | handle_nested_irq - Handle a nested irq from a irq thread*@irq: the interrupt number* Handle interrupts which are nested into a threaded interrupt* handler. The handler function is called inside the calling* threads context. |
handle_irq_event_percpu |
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 |