函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:handle_simple_irq - Simple and software-decoded IRQs.*@desc: the interrupt description structure for this irq* Simple interrupts are either sent from a demultiplexing interrupt* handler or come from hardware, where no interrupt hardware control

函数原型:void handle_simple_irq(struct irq_desc *desc)

返回类型:void

参数:

类型参数名称
struct irq_desc *desc
540  raw_spin_lock( & 自旋锁)
542  如果非irq_may_run(desc)则转到:out_unlock
545  istate与等于IRQS_REPLAY按位或IRQS_WAITING的值的反
547  如果此条件成立可能性小(为编译器优化)(!中断服务例程链表 || irqd_irq_disabled( & irq_data))则
548  istate或等于IRQS_PENDING
549  转到:out_unlock
552  kstat_incr_irqs_this_cpu(desc)
553  handle_irq_event(desc)
555  out_unlock :
556  raw_spin_unlock( & 自旋锁)
调用者
名称描述
irq_sim_handle_irq